Lightweight 2-Hop Labels for Reachability Queries on Large-Scale Graphs
Yishu Wang, Jinlong Chu, Ye Yuan, Yu Gu, Lianpeng Qiao
Abstract
Reachability queries are a fundamental problem in graph analysis. To avoid the high cost of traversal-based methods, indexing techniques have been widely studied, among which 2-hop labeling is particularly attractive due to its simplicity and query efficiency. However, maintaining reachability information for all vertices often leads to prohibitively large index sizes. Existing approaches mainly reduce index size either through carefully designed construction orders or by compressing the graph structure, but ordering-based methods suffer from limited scalability, while compression-based methods may lose reachability information. To address these issues, we propose a contraction-based 2-hop indexing framework that integrates vertex contraction into index construction, reducing the number of iterations while preserving complete reachability information on the original graph. We further design a dominance-aware contraction order and pruning strategies to significantly reduce index size. Extensive experiments on real-world datasets show that our method reduces index size by 1-2 orders of magnitude compared to state-of-the-art approaches, while maintaining comparable index construction and query performance.
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 d9506a2d-cf71-44f5-8e3b-c449a2b60c68Related papers
- Answering Billion-Scale Label-Constrained Reachability Queries within MicrosecondYou Peng, Ying Zhang, Xuemin Lin, Lu Qin et al.VLDB 2020 · 65 citations
- Efficiently Answering Quality Constrained Shortest Distance Queries in Large GraphsYou Peng, Zhuo Ma, Wenjie Zhang, Xuemin Lin et al.ICDE 2023 · 12 citations
- Scaling Up Distance Labeling on Graphs with Core-Periphery PropertiesWentao Li, Miao Qiao, Lu Qin, Ying Zhang et al.SIGMOD 2020 · 38 citations
- Distributed Set Label-Constrained Reachability Queries over Billion-Scale GraphsYuanyuan Zeng, Wangdong Yang, Xu Zhou, Guoqing Xiao et al.ICDE 2022 · 9 citations
- DLCR: Efficient Indexing for Label-Constrained Reachability Queries on Large Dynamic GraphsXin Chen, You Peng, Sibo Wang, Jeffrey Xu YuVLDB 2022 · 26 citations
