arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.11159cs.LGcs.DB
收藏

在大规模图上计算电阻距离的理论和实践高效方法

Theoretically and Practically Efficient Resistance Distance Computation on Large Graphs

Beijing Institute of Technology(北京理工大学);Southwest University(西南大学)

Yichun Yang, Longlong Lin, Rong-Hua Li, Meihao Liao, Guoren Wang

AI总结:

本文提出两种高效算法,分别用于大规模图的电阻距离计算,显著提升了效率和准确性。

摘要:

电阻距离的计算在图分析应用中至关重要,包括图聚类、链接预测和图神经网络。尽管其基础性重要性,但在大规模图上计算电阻距离的高效算法仍然缺乏。现有的最先进(SOTA)方法,包括基于幂迭代的算法和基于随机游走的局部方法,往往在条件数较大的图拉普拉斯矩阵(记为κ)时收敛速度较慢。为解决这一挑战,我们提出两种新的高效算法,受经典兰茨科斯方法启发:兰茨科斯迭代和兰茨科斯推,两者均旨在减少对κ的依赖。其中,兰茨科斯迭代是一种近线性时间的全局算法,而兰茨科斯推是一种时间复杂度与图大小无关的局部算法。更具体地说,我们证明兰茨科斯迭代的时间复杂度为~O(√κ m)(m是图的边数,~O表示省略对数项的复杂度),相比之前的基于幂迭代的全局方法,速度提升了√κ。对于兰茨科斯推,我们证明其时间复杂度为~O(κ^{2.75}),在某些温和且常建立的假设下,这比最先进的基于随机游走的局部方法提高了κ^{0.25}。我们通过在八个具有不同规模和统计特性的现实数据集上进行广泛实验,验证了我们的算法在效率和准确性方面显著优于SOTA方法。

英文摘要:

The computation of resistance distance is pivotal in a wide range of graph analysis applications, including graph clustering, link prediction, and graph neural networks. Despite its foundational importance, efficient algorithms for computing resistance distances on large graphs are still lacking. Existing state-of-the-art (SOTA) methods, including power iteration-based algorithms and random walk-based local approaches, often struggle with slow convergence rates, particularly when the condition number of the graph Laplacian matrix, denoted by $κ$, is large. To tackle this challenge, we propose two novel and efficient algorithms inspired by the classic Lanczos method: Lanczos Iteration and Lanczos Push, both designed to reduce dependence on $κ$. Among them, Lanczos Iteration is a near-linear time global algorithm, whereas Lanczos Push is a local algorithm with a time complexity independent of the size of the graph. More specifically, we prove that the time complexity of Lanczos Iteration is $\tilde{O}(\sqrtκ m)$ ($m$ is the number of edges of the graph and $\tilde{O}$ means the complexity omitting the $\log$ terms) which achieves a speedup of $\sqrtκ$ compared to previous power iteration-based global methods. For Lanczos Push, we demonstrate that its time complexity is $\tilde{O}(κ^{2.75})$ under certain mild and frequently established assumptions, which represents a significant improvement of $κ^{0.25}$ over the SOTA random walk-based local algorithms. We validate our algorithms through extensive experiments on eight real-world datasets of varying sizes and statistical properties, demonstrating that Lanczos Iteration and Lanczos Push significantly outperform SOTA methods in terms of both efficiency and accuracy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑