English

Revisiting Local Computation of PageRank: Simple and Optimal

Data Structures and Algorithms 2024-10-23 v1

Abstract

We revisit the classic local graph exploration algorithm ApproxContributions proposed by Andersen, Borgs, Chayes, Hopcroft, Mirrokni, and Teng (WAW '07, Internet Math. '08) for computing an ϵ\epsilon-approximation of the PageRank contribution vector for a target node tt on a graph with nn nodes and mm edges. We give a worst-case complexity bound of ApproxContributions as O(nπ(t)/ϵmin(Δin,Δout,m))O(n\pi(t)/\epsilon\cdot\min(\Delta_{in},\Delta_{out},\sqrt{m})), where π(t)\pi(t) is the PageRank score of tt, and Δin\Delta_{in} and Δout\Delta_{out} are the maximum in-degree and out-degree of the graph, resp. We also give a lower bound of Ω(min(Δin/δ,Δout/δ,m/δ,m))\Omega(\min(\Delta_{in}/\delta,\Delta_{out}/\delta,\sqrt{m}/\delta,m)) for detecting the δ\delta-contributing set of tt, showing that the simple ApproxContributions algorithm is already optimal. We also investigate the computational complexity of locally estimating a node's PageRank centrality. We improve the best-known upper bound of O~(n2/3min(Δout1/3,m1/6))\widetilde{O}(n^{2/3}\cdot\min(\Delta_{out}^{1/3},m^{1/6})) given by Bressan, Peserico, and Pretto (SICOMP '23) to O(n1/2min(Δin1/2,Δout1/2,m1/4))O(n^{1/2}\cdot\min(\Delta_{in}^{1/2},\Delta_{out}^{1/2},m^{1/4})) by simply combining ApproxContributions with the Monte Carlo simulation method. We also improve their lower bound of Ω(min(n1/2Δout1/2,n1/3m1/3))\Omega(\min(n^{1/2}\Delta_{out}^{1/2},n^{1/3}m^{1/3})) to Ω(n1/2min(Δin1/2,Δout1/2,m1/4))\Omega(n^{1/2}\cdot\min(\Delta_{in}^{1/2},\Delta_{out}^{1/2},m^{1/4})) if min(Δin,Δout)=Ω(n1/3)\min(\Delta_{in},\Delta_{out})=\Omega(n^{1/3}), and to Ω(n1/2γ(min(Δin,Δout))1/2+γ)\Omega(n^{1/2-\gamma}(\min(\Delta_{in},\Delta_{out}))^{1/2+\gamma}) if min(Δin,Δout)=o(n1/3)\min(\Delta_{in},\Delta_{out})=o(n^{1/3}), where γ>0\gamma>0 is an arbitrarily small constant. Our matching upper and lower bounds resolve the open problem of whether one can tighten the bounds given by Bressan, Peserico, and Pretto (FOCS '18, SICOMP '23). Remarkably, the techniques and analyses for proving all our results are surprisingly simple.

Keywords

Cite

@article{arxiv.2403.12648,
  title  = {Revisiting Local Computation of PageRank: Simple and Optimal},
  author = {Hanzhi Wang and Zhewei Wei and Ji-Rong Wen and Mingji Yang},
  journal= {arXiv preprint arXiv:2403.12648},
  year   = {2024}
}

Comments

30 pages, 3 figures, full version of a STOC 2024 paper