Unifying the Global and Local Approaches: An Efficient Power Iteration with Forward Push

Hao Wu, Junhao Gan, Zhewei Wei, Rui Zhang
1/11/2021
cs.DS

Official code: wuhao-wu-jiang/Personalized-PageRank (15 stars, C++, BSD-3-Clause, last commit 2021-10-23).

Abstract

Personalized PageRank (PPR) is a critical measure of the importance of a node t to a source node s in a graph. The Single-Source PPR (SSPPR) query computes the PPR's of all the nodes with respect to s on a directed graph $G$ with $n$ nodes and $m$ edges, and it is an essential operation widely used in graph applications.

Show full abstract

In this paper, we propose novel algorithms for solving two variants of SSPPR: (i) high-precision queries and (ii) approximate queries. For high-precision queries, Power Iteration (PowItr) and Forward Push (FwdPush) are two fundamental approaches. Given an absolute error threshold $λ$, the only known bound of FwdPush is $O(\frac{m}λ)$, much worse than the $O(m \log \frac{1}λ)$-bound of PowItr. Whether FwdPush can achieve the same running time bound as PowItr does still remains an open question in the research community. We give a positive answer to this question by showing that the running time of a common implementation of FwdPush is actually bounded by $O(m \cdot \log \frac{1}λ)$.Based on this finding, we propose a new algorithm, called Power Iteration with Forward Push (PowerPush), which incorporates the strengths of both PowItr and FwdPush. For approximate queries (with a relative error $ε$), we propose a new algorithm, called SpeedPPR, with overall expected time bounded by $O(n \cdot \log n \cdot \log \frac{1}ε)$ on scale-free graphs. This bound greatly improves the $O(\frac{n \cdot \log n}ε)$ bound of a state-of-the-art algorithm FORA.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause
154C++, CMar 23, 20215 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{wu2021unifying,
  title  = {Unifying the Global and Local Approaches: An Efficient Power Iteration with Forward Push},
  author = {Hao Wu and Junhao Gan and Zhewei Wei and Rui Zhang},
  year   = {2021},
  eprint = {2101.03652},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.03652}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.03652.svg)](https://codeofpaper.com/paper/2101.03652)

Discussion