Improved Algorithms for Effective Resistance Computation on Graphs

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Yang, Yichun, Li, Rong-Hua, Liao, Meihao, Wang, Guoren
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909677290258432
author Yang, Yichun
Li, Rong-Hua
Liao, Meihao
Wang, Guoren
author_facet Yang, Yichun
Li, Rong-Hua
Liao, Meihao
Wang, Guoren
contents Effective Resistance (ER) is a fundamental tool in various graph learning tasks. In this paper, we address the problem of efficiently approximating ER on a graph $\mathcal{G}=(\mathcal{V},\mathcal{E})$ with $n$ vertices and $m$ edges. First, we focus on local online-computation algorithms for ER approximation, aiming to improve the dependency on the approximation error parameter $ε$. Specifically, for a given vertex pair $(s,t)$, we propose a local algorithm with a time complexity of $\tilde{O}(\sqrt{d}/ε)$ to compute an $ε$-approximation of the $s,t$-ER value for expander graphs, where $d=\min \{d_s,d_t\}$. This improves upon the previous state-of-the-art, including an $\tilde{O}(1/ε^2)$ time algorithm based on random walk sampling by Andoni et al. (ITCS'19) and Peng et al. (KDD'21). Our method achieves this improvement by combining deterministic search with random walk sampling to reduce variance. Second, we establish a lower bound for ER approximation on expander graphs. We prove that for any $ε\in (0,1)$, there exist an expander graph and a vertex pair $(s,t)$ such that any local algorithm requires at least $Ω(1/ε)$ time to compute the $ε$-approximation of the $s,t$-ER value. Finally, we extend our techniques to index-based algorithms for ER computation. We propose an algorithm with $\tilde{O}(\min \{m+n/ε^{1.5},\sqrt{nm}/ε\})$ processing time, $\tilde{O}(n/ε)$ space complexity and $O(1)$ query complexity, which returns an $ε$-approximation of the $s,t$-ER value for any $s,t\in \mathcal{V}$ for expander graphs. Our approach improves upon the state-of-the-art $\tilde{O}(m/ε)$ processing time by Dwaraknath et al. (NeurIPS'24) and the $\tilde{O}(m+n/ε^2)$ processing time by Li and Sachdeva (SODA'23).
format Preprint
id arxiv_https___arxiv_org_abs_2507_04674
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Improved Algorithms for Effective Resistance Computation on Graphs
Yang, Yichun
Li, Rong-Hua
Liao, Meihao
Wang, Guoren
Data Structures and Algorithms
Effective Resistance (ER) is a fundamental tool in various graph learning tasks. In this paper, we address the problem of efficiently approximating ER on a graph $\mathcal{G}=(\mathcal{V},\mathcal{E})$ with $n$ vertices and $m$ edges. First, we focus on local online-computation algorithms for ER approximation, aiming to improve the dependency on the approximation error parameter $ε$. Specifically, for a given vertex pair $(s,t)$, we propose a local algorithm with a time complexity of $\tilde{O}(\sqrt{d}/ε)$ to compute an $ε$-approximation of the $s,t$-ER value for expander graphs, where $d=\min \{d_s,d_t\}$. This improves upon the previous state-of-the-art, including an $\tilde{O}(1/ε^2)$ time algorithm based on random walk sampling by Andoni et al. (ITCS'19) and Peng et al. (KDD'21). Our method achieves this improvement by combining deterministic search with random walk sampling to reduce variance. Second, we establish a lower bound for ER approximation on expander graphs. We prove that for any $ε\in (0,1)$, there exist an expander graph and a vertex pair $(s,t)$ such that any local algorithm requires at least $Ω(1/ε)$ time to compute the $ε$-approximation of the $s,t$-ER value. Finally, we extend our techniques to index-based algorithms for ER computation. We propose an algorithm with $\tilde{O}(\min \{m+n/ε^{1.5},\sqrt{nm}/ε\})$ processing time, $\tilde{O}(n/ε)$ space complexity and $O(1)$ query complexity, which returns an $ε$-approximation of the $s,t$-ER value for any $s,t\in \mathcal{V}$ for expander graphs. Our approach improves upon the state-of-the-art $\tilde{O}(m/ε)$ processing time by Dwaraknath et al. (NeurIPS'24) and the $\tilde{O}(m+n/ε^2)$ processing time by Li and Sachdeva (SODA'23).
title Improved Algorithms for Effective Resistance Computation on Graphs
topic Data Structures and Algorithms
url https://arxiv.org/abs/2507.04674