Hub Labeling for Shortest Path Counting
Yikai Zhang, Jeffrey Xu Yu
Abstract
The notion of shortest path is fundamental in graph analytics. While many works have devoted to devising efficient distance oracles to compute the shortest distance between any vertices s and t, we study the problem of efficiently counting the number of shortest paths between s and t in light of its applications in tasks such as betweenness-related analysis. Specifically, we propose a hub labeling scheme based on hub pushing and discuss several graph reduction techniques to reduce the index size. Furthermore, we prove several theoretical results on the performance of the scheme for some special graph classes. Our empirical study verifies the efficiency and effectiveness of the algorithms. In particular, a query evaluation takes only hundreds of microseconds in average for graphs with up to hundreds of millions of edges. We report our findings in this paper.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Cited by top-tier papers7
- Efficient Shortest Path Counting on Large Road NetworksYu-Xuan Qiu, Dong Wen, Lu Qin, Wentao Li et al.VLDB 2022 · 22 citations
- Shortest-Path Queries on Complex Networks: Experiments, Analyses, and ImprovementJunhua Zhang, Wentao Li, Long Yuan, Lu Qin et al.VLDB 2022 · 19 citations
- PSPC: Efficient Parallel Shortest Path Counting on Large-Scale GraphsYou Peng, Jeffrey Xu Yu, Sibo WangICDE 2023 · 7 citations
- Towards Real-Time Counting Shortest Cycles on Dynamic Graphs: A Hub Labeling ApproachQingshuai Feng, You Peng, Wenjie Zhang, Ying Zhang et al.ICDE 2022 · 6 citations
- Distributed Shortest Distance Labeling on Large-Scale GraphsYuanyuan Zeng, Chenhao Ma, Yixiang FangVLDB 2024 · 5 citations
Related papers
- Accelerating Shortest Path Counting on Road NetworksZebin Chen, Kaiyu Chen, Dong Wen, Zhengyi Yang et al.ICDE 2025 · 4 citations
- Query-by-Sketch: Scaling Shortest Path Graph Queries on Very Large NetworksYe Wang, Qing Wang, Henning Koehler, Yu LinSIGMOD 2021 · 23 citations
- Towards Efficient Shortest Path Counting on Billion-Scale GraphsYiqi Wang, Long Yuan, Zi Chen, Wenjie Zhang et al.ICDE 2023 · 21 citations
- Divide-and-Conquer: Scalable Shortest Path Counting on Large Road NetworksMuhammad Farhan, Henning Koehler, Qing WangSIGMOD 2025 · 1 citation
- Architecture-Intact Oracle for Fastest Path and Time Queries on Dynamic Spatial NetworksVictor Junqiu Wei, Raymond Chi-Wing Wong, Cheng LongSIGMOD 2020 · 18 citations
