English

Approximating Single-Source Personalized PageRank with Absolute Error Guarantees

Data Structures and Algorithms 2024-03-21 v1

Abstract

Personalized PageRank (PPR) is an extensively studied and applied node proximity measure in graphs. For a pair of nodes ss and tt on a graph G=(V,E)G=(V,E), the PPR value π(s,t)\pi(s,t) is defined as the probability that an α\alpha-discounted random walk from ss terminates at tt, where the walk terminates with probability α\alpha at each step. We study the classic Single-Source PPR query, which asks for PPR approximations from a given source node ss to all nodes in the graph. Specifically, we aim to provide approximations with absolute error guarantees, ensuring that the resultant PPR estimates π^(s,t)\hat{\pi}(s,t) satisfy maxtVπ^(s,t)π(s,t)ε\max_{t\in V}\big|\hat{\pi}(s,t)-\pi(s,t)\big|\le\varepsilon for a given error bound ε\varepsilon. We propose an algorithm that achieves this with high probability, with an expected running time of - O~(m/ε)\widetilde{O}\big(\sqrt{m}/\varepsilon\big) for directed graphs, where m=Em=|E|; - O~(dmax/ε)\widetilde{O}\big(\sqrt{d_{\mathrm{max}}}/\varepsilon\big) for undirected graphs, where dmaxd_{\mathrm{max}} is the maximum node degree in the graph; - O~(nγ1/2/ε)\widetilde{O}\left(n^{\gamma-1/2}/\varepsilon\right) for power-law graphs, where n=Vn=|V| and γ(12,1)\gamma\in\left(\frac{1}{2},1\right) is the extent of the power law. These sublinear bounds improve upon existing results. We also study the case when degree-normalized absolute error guarantees are desired, requiring maxtVπ^(s,t)/d(t)π(s,t)/d(t)εd\max_{t\in V}\big|\hat{\pi}(s,t)/d(t)-\pi(s,t)/d(t)\big|\le\varepsilon_d for a given error bound εd\varepsilon_d, where the graph is undirected and d(t)d(t) is the degree of node tt. We give an algorithm that provides this error guarantee with high probability, achieving an expected complexity of O~(tVπ(s,t)/d(t)/εd)\widetilde{O}\left(\sqrt{\sum_{t\in V}\pi(s,t)/d(t)}\big/\varepsilon_d\right). This improves over the previously known O(1/εd)O(1/\varepsilon_d) complexity.

Keywords

Cite

@article{arxiv.2401.01019,
  title  = {Approximating Single-Source Personalized PageRank with Absolute Error Guarantees},
  author = {Zhewei Wei and Ji-Rong Wen and Mingji Yang},
  journal= {arXiv preprint arXiv:2401.01019},
  year   = {2024}
}

Comments

25 pages, ICDT 2024

R2 v1 2026-06-28T14:06:33.200Z