Efficient Exact Resistance Distance Computation on Small-Treewidth Graphs: A Labelling Approach
Meihao Liao, Yueyang Pan, Rong-Hua Li, Guoren Wang
Abstract
Resistance distance computation is a fundamental problem in graph analysis, yet existing random walk-based methods are limited to approximate solutions and suffer from poor efficiency on smalltreewidth graphs (e.g., road networks). In contrast, shortest-path distance computation achieves remarkable efficiency on such graphs by leveraging cut properties and tree decompositions. Motivated by this disparity, we first analyze the cut property of resistance distance. While a direct generalization proves impractical due to costly matrix operations, we overcome this limitation by integrating tree decompositions, revealing that the resistance distance ๐ (๐ , ๐ก) depends only on labels along the paths from ๐ and ๐ก to the root of the decomposition. This insight enables compact labelling structures. Based on this, we propose TreeIndex, a novel index method that constructs a resistance distance labelling of size ๐ (๐ โข โ G ) in ๐ (๐ โขโ 2 G โข๐ max ) time, where โ G (tree height) and ๐ max (maximum degree) behave as small constants in many real-world small-treewidth graphs (e.g., road networks). Our labelling supports exact singlepair queries in ๐ (โ G ) time and single-source queries in ๐ (๐ โข โ G ) time. Extensive experiments show that TreeIndex substantially outperforms state-of-the-art approaches. For instance, on the full USA road network, it constructs a 405 GB labelling in 7 hours (singlethreaded) and answers exact single-pair queries in 10 -3 seconds and single-source queries in 190 seconds-the first exact method scalable to such large graphs.
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 a94f48e9-151c-4aa8-a03a-ed248e9222f3Builds on18
- Understanding over-squashing and bottlenecks on graphs via curvatureJake Topping, Francesco Di Giovanni, Benjamin Paul Chamberlain, Xiaowen Dong et al.ICLR 2022 ยท 628 citations
- 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
- Dynamic Hub Labeling for Road NetworksMengxuan Zhang, Lei Li, Wen Hua, Rui Mao et al.ICDE 2021 ยท 52 citations
- CurvDrop: A Ricci Curvature Based Approach to Prevent Graph Neural Networks from Over-Smoothing and Over-SquashingYang Liu, Chuan Zhou, Shirui Pan, Jia Wu et al.WWW 2023 ยท 43 citations
- Scaling Up Distance Labeling on Graphs with Core-Periphery PropertiesWentao Li, Miao Qiao, Lu Qin, Ying Zhang et al.SIGMOD 2020 ยท 38 citations
Related papers
- Hierarchical Cut Labelling - Scaling Up Distance Queries on Road NetworksMuhammad Farhan, Henning Koehler, Robert Ohms, Qing WangSIGMOD 2024 ยท 16 citations
- Efficient Label-Constrained Shortest Path Queries on Road Networks: A Tree Decomposition ApproachJunhua Zhang, Long Yuan, Wentao Li, Lu Qin et al.VLDB 2022 ยท 29 citations
- Efficient Resistance Distance Computation: The Power of Landmark-based ApproachesMeihao Liao, Rong-Hua Li, Qiangqiang Dai, Hongyang Chen et al.SIGMOD 2023 ยท 13 citations
- Efficient Shortest Path Counting on Large Road NetworksYu-Xuan Qiu, Dong Wen, Lu Qin, Wentao Li et al.VLDB 2022 ยท 22 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
