TL;DR
Computing the PageRank of a single node usually requires either exploring the entire graph or settling for slow, worst-case $\Omega(n)$ query times. This paper introduces SetPush, an algorithm specifically designed for undirected graphs that combines deterministic backward push with independent geometric sampling. SetPush achieves a provable worst-case time complexity of $\tilde{O}(\min\{d_t, \sqrt{m}\})$ with constant relative error, significantly outperforming existing methods both theoretically and in large-scale experiments.
What Problem Does This Paper Address?
In web search, graph neural networks (GNNs), and local clustering, users often only need the PageRank score of a specific target node $t$, rather than the scores of all $n$ vertices. However, existing single-node PageRank estimation methods struggle to achieve sublinear running times:
- Monte-Carlo sampling requires $\Omega(1/\pi(t))$ walks, costing $\Omega(n)$ time when a node has a small PageRank score ($\pi(t) = \Theta(1/n)$).
- Reverse exploration (backward push) propagates probability mass backward from $t$, but touching all neighbors of a high-degree node costs $\Omega(d_u)$ time per step—which can immediately blow up to $\Omega(n)$.
- Hybrid algorithms either execute these two phases separately (inheriting their worst-case bottlenecks) or rely on correlated sampling that still degrades on dense neighborhoods.
While most prior work targeted directed graphs, many key applications (conductance-based community detection, GNN feature propagation on graph Laplacians) operate on undirected graphs. The authors tackle this exact setting: can we exploit the mathematical properties of undirected graphs to locally approximate single-node PageRank in truly sublinear time?
Methods
The authors propose SetPush, which computes an approximation of the truncated PageRank (limiting random walks to $L = O(\log n)$ hops, which provably introduces at most an $\frac{\alpha c}{2n}$ additive error):
- Reversibility Exploitation: On undirected graphs, personalized PageRank (PPR) satisfies the reversibility relation $\pi_s^{(\ell)}(t) d_s = \pi_t^{(\ell)}(s) d_t$. SetPush estimates node $t$'s global PageRank by running a reverse propagation outward from $t$ and maintaining $\ell$-hop residue vectors $r_t^{(\ell)}$.
- Hybrid Deterministic/Geometric Push Operation: For each node $u$ holding residue:
- Dense push: If the mass $(1-\alpha) r_t^{(\ell)}(u) \ge \theta d_u$, SetPush deterministically distributes mass to all neighbors in $O(d_u)$ time.
- Sparse geometric sampling: If $(1-\alpha) r_t^{(\ell)}(u) < \theta d_u$, instead of iterating through all neighbors, SetPush generates geometric random variables $rg \sim G(p^*)$ to skip directly to the next sampled neighbor. This samples neighbors independently in time proportional to the number of sampled nodes, $O(d_u p^*)$, eliminating the $O(d_u)$ deterministic overhead.
- Optimized Threshold Selection: By proving a Cauchy-Schwarz-derived lower bound $\frac{n\pi(t)}{d_t} \ge \alpha \sqrt{\frac{2(1-\alpha)}{m}}$, the authors calibrate the sampling threshold $\theta$ to bound the estimator's variance via Chebyshev's inequality.
Datasets
The authors evaluated SetPush on four standard real-world graph benchmarks:
- YouTube (YT): $1.14\text{M}$ nodes, $5.98\text{M}$ edges (social network).
- IndoChina (IC): $7.41\text{M}$ nodes, $301.97\text{M}$ edges (web domain crawl).
- Orkut-Links (OL): $3.07\text{M}$ nodes, $234.37\text{M}$ edges (social network).
- Friendster (FR): $68.35\text{M}$ nodes, $3.62\text{B}$ edges (social network).
The experiments did not introduce new graph datasets, using well-established graphs from SNAP and the Laboratory for Web Algorithmics (LAW). Evaluation was conducted over two query regimes: uniformly random nodes ($Q_1$) and degree-proportional nodes ($Q_2$).
Key Insights and Ideas
- Breaking the $O(d_u)$ barrier via $O(1)$ geometric jumps: Prior methods either touched every neighbor ($O(d_u)$) or rolled a single shared random number that caused synchronized pushes across all neighbors. SetPush samples each neighbor independently in $O(1)$ time per positive sample using the memoryless property of geometric random variables.
- Tight variance bound via graph structure: By proving that $\pi(t) \ge \frac{\alpha d_t}{n}\sqrt{\frac{2(1-\alpha)}{m}}$ on any undirected graph, the authors established that setting $\theta = \max\left\{\frac{\alpha c^2}{12L d_t}, \frac{\alpha c^2}{12L}\sqrt{\frac{2(1-\alpha)}{m}}\right\}$ limits variance to $O(c^2 \pi(t)^2)$ while bounding the expected work by $O(1/\theta) = \tilde{O}(\min\{d_t, \sqrt{m}\})$.
- Sublinear guarantee without full walks: SetPush avoids Monte-Carlo walk simulations entirely during query answering, relying strictly on bounded-depth randomized residues.
Key Results
- Theoretical complexity: SetPush is the first algorithm to achieve $\tilde{O}(\min\{d_t, \sqrt{m}\})$ expected query time with constant relative error and constant failure probability on undirected graphs, outperforming LocalPush ($\tilde{O}(\min\{n d_t, m\})$), Monte-Carlo ($\tilde{O}(n)$), and SubgraphPush ($\tilde{O}(m^{2/3}d_{\max}^{1/3}/d^{2/3})$).
- Empirical query speedup:
- On low-degree nodes, SetPush achieved a $10\times$ to $1000\times$ speedup over baseline methods.
- Baselines like Monte-Carlo, LocalPush, and RBS frequently exceeded the 24-hour timeout on the billion-edge Friendster dataset, whereas SetPush answered queries in seconds to tens of seconds.
- Empirical error: The empirical relative error $\frac{|\hat{\pi}(t) - \pi(t)|}{\pi(t)}$ was consistently well below the requested threshold $c = 0.1$, often by 1–2 orders of magnitude on datasets like IndoChina.
Limitations and Future Work
- Undirected restriction: The algorithm relies heavily on the reversibility property ($\pi_s(t) d_s = \pi_t(s) d_t$), meaning it cannot be directly applied to directed graphs.
- High-degree query nodes: When the target node has a very high degree ($d_t \gg \sqrt{m}$), SetPush's runtime scales linearly with $d_t$ up to the $\tilde{O}(\sqrt{m})$ cap, where specialized pruning heuristics (like SubgraphPush’s high-degree blacklist) can sometimes be slightly faster in practice.
- Open lower bound: While $\tilde{O}(\min\{d_t, \sqrt{m}\})$ is the best known upper bound, whether this matches the theoretical lower bound for single-node PageRank on undirected graphs remains an open theoretical question.
Summary updated