[Paper Review] Approximate Personalized PageRank on Dynamic Graphs
This paper proposes two dynamic algorithms—Forward Push and Reverse Push—for efficiently maintaining approximate Personalized PageRank (PPR) vectors on graphs with edge insertions and deletions. By maintaining an invariant between two vectors and applying localized updates after edge changes, both algorithms achieve O(1) amortized work per update plus the cost of a single static PPR computation, with rigorous theoretical bounds on error and runtime under random edge update order.
We propose and analyze two algorithms for maintaining approximate Personalized PageRank (PPR) vectors on a dynamic graph, where edges are added or deleted. Our algorithms are natural dynamic versions of two known local variations of power iteration. One, Forward Push, propagates probability mass forwards along edges from a source node, while the other, Reverse Push, propagates local changes backwards along edges from a target. In both variations, we maintain an invariant between two vectors, and when an edge is updated, our algorithm first modifies the vectors to restore the invariant, then performs any needed local push operations to restore accuracy. For Reverse Push, we prove that for an arbitrary directed graph in a random edge model, or for an arbitrary undirected graph, given a uniformly random target node $t$, the cost to maintain a PPR vector to $t$ of additive error $\varepsilon$ as $k$ edges are updated is $O(k + \bar{d} / \varepsilon)$, where $\bar{d}$ is the average degree of the graph. This is $O(1)$ work per update, plus the cost of computing a reverse vector once on a static graph. For Forward Push, we show that on an arbitrary undirected graph, given a uniformly random start node $s$, the cost to maintain a PPR vector from $s$ of degree-normalized error $\varepsilon$ as $k$ edges are updated is $O(k + 1 / \varepsilon)$, which is again $O(1)$ per update plus the cost of computing a PPR vector once on a static graph.
Motivation & Objective
- To address the challenge of maintaining accurate, pre-computed PPR vectors in dynamic graphs where edges are frequently added or deleted.
- To provide the first rigorous theoretical analysis of dynamic PPR maintenance for both Forward Push and Reverse Push algorithms.
- To design algorithms that achieve low amortized update cost while controlling additive or degree-normalized error.
- To improve upon prior methods in practice, particularly in storage efficiency and update speed, compared to Monte Carlo and static recomputation approaches.
Proposed method
- The algorithms maintain an invariant between two vectors: a PPR estimate and a residual vector, which tracks unprocessed probability mass.
- When an edge is updated, the algorithm first modifies the vectors to restore the invariant using a localized, efficient update step.
- After restoring the invariant, local push operations are performed only on nodes whose residuals exceed a threshold, ensuring error control.
- For Reverse Push, the algorithm propagates changes backward from target nodes; for Forward Push, it propagates forward from source nodes.
- Theoretical analysis uses amortized analysis to bound the cascade of pushes caused by edge updates, assuming random edge arrival order.
- The algorithms are designed to be simple and efficient, with minimal data structure changes and low storage overhead.
Experimental results
Research questions
- RQ1Can we maintain approximate PPR vectors on dynamic graphs with provably low update cost per edge change?
- RQ2What is the theoretical running time of dynamic Forward Push on undirected graphs with bounded error?
- RQ3What is the theoretical running time of dynamic Reverse Push on directed and undirected graphs with bounded additive error?
- RQ4How does the performance of dynamic PPR algorithms compare to static recomputation and Monte Carlo methods in practice?
- RQ5Can the analysis be extended to combined PPR vectors or distributed settings?
Key findings
- For Reverse Push on arbitrary directed graphs or undirected graphs with uniformly random target nodes, the expected cost to maintain PPR with additive error ε is O(k + d̄/ε), where k is the number of updates and d̄ is the average degree.
- For Forward Push on undirected graphs with uniformly random source nodes, the cost to maintain degree-normalized error ε is O(k + 1/ε), achieving O(1) amortized work per update.
- On the LiveJournal graph, the dynamic Reverse Push algorithm is 100× faster than recomputing from scratch after each edge insertion, with linear scaling in the number of updates.
- In top-K PPR retrieval tasks, Forward Push uses 4.5 to 12 times less storage and 1.5 to 2.5 times faster edge updates than the Monte Carlo method of Bahmani et al.
- The proposed dynamic Forward Push update rule is 1.5 to 3.5 times faster than the prior method of Ohsaka et al. without sacrificing accuracy.
- The theoretical bounds hold under random edge update order, and for undirected graphs, the analysis is strengthened to worst-case edge arrival order for Monte Carlo, extending prior results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.