A CPU-GPU Hybrid Labelling Algorithm for Massive Shortest Distance Queries on Road Networks
Jiajia Li, Yongzhi Chen, Mengxuan Zhang, Lei Li
Abstract
Shortest distance computation is a fundamental operation in graph-related applications, especially in location-based services. The most efficient method is hop-labeling, which can answer queries in microseconds. However, when the traffic condition changes dynamically, they need a long time to maintain or an even longer time to re-construct, making it hard to catch up with numerous or frequent updates. As a result, real-life applications still rely on slow graph searching algorithms. To improve the hop labeling construction efficiency, we resort to GPU for its high parallelism power and propose the G2H index. Specifically, we first analyze the relation of the graph partitions, index performance, and parallelism to identify the most suitable partition scheme for G2H, with a hybrid scheme and optimized node ordering for faster contraction. Then, we propose a label-pruning method to reduce the label construction workload with several strategies designed to balance and improve the parallel label construction. Finally, experiments on real-life networks show that our G2H can finish construction within seconds for large urban networks and under one minute for large region networks with 6M vertices, which is several times faster than the state-of-the-art methods. Besides, G2H can answer hundreds of millions of queries per second, achieving two orders of magnitude acceleration.
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext cdddd9d2-a43f-4450-9704-b78b28f2d209Builds on26
- Efficient Shortest Path Index Maintenance on Dynamic Road Networks with Theoretical GuaranteesDian Ouyang, Long Yuan, Lu Qin, Lijun Chang et al.VLDB 2020 · 79 citations
- Fast Query Decomposition for Batch Shortest Path Processing in Road NetworksLei Li, Mengxuan Zhang, Wen Hua, Xiaofang ZhouICDE 2020 · 61 citations
- Dynamic Hub Labeling for Road NetworksMengxuan Zhang, Lei Li, Wen Hua, Rui Mao et al.ICDE 2021 · 52 citations
- Efficient 2-Hop Labeling Maintenance in Dynamic Small-World NetworksMengxuan Zhang, Lei Li, Wen Hua, Xiaofang ZhouICDE 2021 · 49 citations
- G-thinker: A Distributed Framework for Mining Subgraphs in a Big GraphDa Yan, Guimu Guo, Md Mashiur Rahman Chowdhury, M. Tamer Özsu et al.ICDE 2020 · 48 citations
Related papers
- Efficient Maintenance of 2-Hop Labeling Index on Dynamic Small-World GraphsYuanyuan Zeng, Yixiang Fang, Kun Chen, Yangfan Li et al.VLDB 2025 · 2 citations
- 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
- Double Hierarchical Labeling Shortest Distance Querying in Time-dependent Road NetworksTangpeng Dan, Xiao Pan, Bolong Zheng, Xiaofeng MengICDE 2023 · 7 citations
- Distributed Shortest Distance Labeling on Large-Scale GraphsYuanyuan Zeng, Chenhao Ma, Yixiang FangVLDB 2024 · 5 citations
- FAHL: An Efficient Labeling Index for Flow-Aware Shortest Path Querying in Road NetworksTangpeng Dan, Xiao Pan, Bolong Zheng, Xiaofeng MengICDE 2025
