English

A New Approach to Estimating Effective Resistances and Counting Spanning Trees in Expander Graphs

Data Structures and Algorithms 2022-11-04 v1

Abstract

We demonstrate that for expander graphs, for all ϵ>0,\epsilon > 0, there exists a data structure of size O~(nϵ1)\widetilde{O}(n\epsilon^{-1}) which can be used to return (1+ϵ)(1 + \epsilon)-approximations to effective resistances in O~(1)\widetilde{O}(1) time per query. Short of storing all effective resistances, previous best approaches could achieve O~(nϵ2)\widetilde{O}(n\epsilon^{-2}) size and O~(ϵ2)\widetilde{O}(\epsilon^{-2}) time per query by storing Johnson-Lindenstrauss vectors for each vertex, or O~(nϵ1)\widetilde{O}(n\epsilon^{-1}) size and O~(nϵ1)\widetilde{O}(n\epsilon^{-1}) time per query by storing a spectral sketch. Our construction is based on two key ideas: 1) ϵ1\epsilon^{-1}-sparse, ϵ\epsilon-additive approximations to DL+1uDL^+1_u for all u,u, can be used to recover (1+ϵ)(1 + \epsilon)-approximations to the effective resistances, 2) In expander graphs, only O~(ϵ1)\widetilde{O}(\epsilon^{-1}) coordinates of a vector similar to DL+1uDL^+1_u are larger than ϵ.\epsilon. We give an efficient construction for such a data structure in O~(m+nϵ2)\widetilde{O}(m + n\epsilon^{-2}) time via random walks. This results in an algorithm for computing (1+ϵ)(1+\epsilon)-approximate effective resistances for ss vertex pairs in expanders that runs in O~(m+nϵ2+s)\widetilde{O}(m + n\epsilon^{-2} + s) time, improving over the previously best known running time of m1+o(1)+(n+s)no(1)ϵ1.5m^{1 + o(1)} + (n + s)n^{o(1)}\epsilon^{-1.5} for s=ω(nϵ0.5).s = \omega(n\epsilon^{-0.5}). We employ the above algorithm to compute a (1+δ)(1+\delta)-approximation to the number of spanning trees in an expander graph, or equivalently, approximating the (pseudo)determinant of its Laplacian in O~(m+n1.5δ1)\widetilde{O}(m + n^{1.5}\delta^{-1}) time. This improves on the previously best known result of m1+o(1)+n1.875+o(1)δ1.75m^{1+o(1)} + n^{1.875+o(1)}\delta^{-1.75} time, and matches the best known size of determinant sparsifiers.

Keywords

Cite

@article{arxiv.2211.01468,
  title  = {A New Approach to Estimating Effective Resistances and Counting Spanning Trees in Expander Graphs},
  author = {Lawrence Li and Sushant Sachdeva},
  journal= {arXiv preprint arXiv:2211.01468},
  year   = {2022}
}