Towards Efficient Shortest Path Counting on Billion-Scale Graphs
Yiqi Wang, Long Yuan, Zi Chen, Wenjie Zhang, Xuemin Lin, Qing Liu
Abstract
Shortest path counting computes the number of shortest paths between two vertices on a graph, which can be used in the applications such as social network search and POI (Point of Interest) recommendation. The state-of-the-art approach leverages index to speed up the query processing. However, this approach incurs not only significant space overheads but also prohibitive indexing time, which makes it inapplicable to handle such queries on large graphs. Motivated by this, in this paper, we aim to propose a new solution to scale up the shortest path counting. To achieve this goal, we first propose a novel size-tunable indexing framework, which allows users to tune the index space consumption based on their requirements for query processing efficiency and available memory. Based on the size-tunable indexing framework, we devise a new parallel paradigm to accelerate index construction. We conduct experiments on 15 real graphs and the experimental results demonstrate that our new approach significantly outperforms the state-of-the-art approach regarding the index space cost and index construction cost, and is able to handle billion-scale graphs that the state-of-the-art approach cannot process with less than 5 milliseconds query processing time on all test cases.
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.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 07b4e2b4-9ce0-40a0-8b4c-272feee8a27dCited by top-tier papers10
- MemoTime: Memory-Augmented Temporal Knowledge Graph Enhanced Large Language Model ReasoningXingyu Tan, Xiaoyang Wang, Qing Liu, Xiwei Xu et al.WWW 2026 · 10 citations
- Batch Hop-Constrained s-t Simple Path Query Processing in Large GraphsLong Yuan, Kongzhang Hao, Xuemin Lin, Wenjie ZhangICDE 2024 · 9 citations
- Graph Summarization: Compactness Meets EfficiencyDeming Chu, Fan Zhang, Wenjie Zhang, Ying Zhang et al.SIGMOD 2024 · 8 citations
- 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
- PRoH: Dynamic Planning and Reasoning over Knowledge Hypergraphs for Retrieval-Augmented GenerationXiangjun Zai, Xingyu Tan, Xiaoyang Wang, Qing Liu et al.WWW 2026 · 1 citation
Related papers
- Efficient Shortest Path Counting on Large Road NetworksYu-Xuan Qiu, Dong Wen, Lu Qin, Wentao Li et al.VLDB 2022 · 22 citations
- PSPC: Efficient Parallel Shortest Path Counting on Large-Scale GraphsYou Peng, Jeffrey Xu Yu, Sibo WangICDE 2023 · 7 citations
- Query-by-Sketch: Scaling Shortest Path Graph Queries on Very Large NetworksYe Wang, Qing Wang, Henning Koehler, Yu LinSIGMOD 2021 · 23 citations
- Divide-and-Conquer: Scalable Shortest Path Counting on Large Road NetworksMuhammad Farhan, Henning Koehler, Qing WangSIGMOD 2025 · 1 citation
- Accelerating Shortest Path Counting on Road NetworksZebin Chen, Kaiyu Chen, Dong Wen, Zhengyi Yang et al.ICDE 2025 · 4 citations
