A Learning-based Method for Computing Shortest Path Distances on Road Networks
Shuai Huang, Yong Wang, Tianyu Zhao, Guoliang Li
Abstract
Computing the shortest path distances between two vertices on road networks is a core operation in many real-world applications, e.g., finding the closest taxi/hotel. However existing techniques have several limitations. First, traditional Dijkstra-based methods have long latency and cannot meet the high-performance requirement. Second, existing indexing-based methods either involve huge index sizes or have poor performance. To address these limitations, in this paper we propose a learning-based method which can efficiently compute an approximate shortest-path distance such that (1) the performance is super fast, e.g., taking 60-150 nanoseconds; (2) the error ratio of the approximate results is super small, e.g., below 0.7%; (3) scales well to large road networks, e.g., millions of nodes. The key idea is to first embed the road networks into a low dimensional space for capturing the distance relations between vertices, get an embedded vector for each vertex, and then perform a distance metric (L1metric) on the embedded vectors to approximate shortest-path distances. We propose a hierarchical model to represent the embedding, and design an effective method to train the model. We also design a fine-tuning method to judiciously select high-quality training data. Extensive experiments on real-world datasets show that our embedding based approach significantly outperforms the state-of-the-art methods.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers6
- Origin-Destination Travel Time Oracle for Map-based ServicesYan Lin, Huaiyu Wan, Jilin Hu, Shengnan Guo et al.SIGMOD 2024 · 28 citations
- Hierarchical Cut Labelling - Scaling Up Distance Queries on Road NetworksMuhammad Farhan, Henning Koehler, Robert Ohms, Qing WangSIGMOD 2024 · 16 citations
- Querying Shortest Path on Large Time-Dependent Road Networks with ShortcutsZengyang Gong, Yuxiang Zeng, Lei ChenICDE 2024 · 11 citations
- TransferTraj: A Vehicle Trajectory Learning Model for Region and Task TransferabilityTonglong Wei, Yan Lin, Zeyu Zhou, Haomin Wen et al.NeurIPS 2025 · 6 citations
- Dual-Hierarchy Labelling: Scaling Up Distance Queries on Dynamic Road NetworksMuhammad Farhan, Henning Koehler, Qing WangSIGMOD 2025 · 5 citations
Builds on1
Related papers
- Efficient Shortest Path Counting on Large Road NetworksYu-Xuan Qiu, Dong Wen, Lu Qin, Wentao Li et al.VLDB 2022 · 22 citations
- Distances and shortest paths on graphs of bounded highway dimension: simple, fast, dynamicSébastien Collette, John IaconoSODA 2024 · 1 citation
- P2H: Efficient Distance Querying on Road Networks by Projected Vertex SeparatorsZitong Chen, Ada Wai-Chee Fu, Minhao Jiang, Eric Lo et al.SIGMOD 2021 · 32 citations
- A Robust and Globally-Accurate Hierarchical Hub Labeling Index for SP-Distance Queries in Dynamic Road NetworksWei Liu, Ziqiang Yu, Xiaohui Yu, Yang Liu et al.ICDE 2026
- Reinforcement Learning based Tree Decomposition for Distance Querying in Road NetworksBolong Zheng, Yong Ma, Jingyi Wan, Yongyong Gao et al.ICDE 2023 · 7 citations
