
APPNP
Graphs and geometry142 ops
Predict with a small neural network, then propagate with personalized PageRank for long-range node labels.
Graphs and geometry · 148 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
APPNP is the fast approximation of personalized propagation of neural predictions (PPNP), a simple model built on an improved propagation scheme. The paper's starting point is that message passing methods for classifying a node only consider nodes that are a few propagation steps away, and that this neighborhood is hard to extend. The fix comes from the relationship between graph convolutional networks (GCN) and PageRank, which the paper uses to derive a propagation scheme based on personalized PageRank.
Predictions are first generated from each node’s own features by a neural network and then propagated using an adaptation of personalized PageRank. The scheme adds a chance of teleporting back to the root node, which ensures that the PageRank score encodes the local neighborhood for every root node. APPNP achieves linear computational complexity by approximating topic-sensitive PageRank via power iteration. This method retains the graph’s sparsity and never constructs a dense matrix over all node pairs. The propagation scheme does not require any additional parameters to train. The model can therefore propagate very far with very few parameters.
The model is trained end-to-end, with the gradient flowing through the propagation scheme during backpropagation. For propagation the paper uses the teleport probability α = 0.1 and K = 10 power iteration steps for APPNP. The prediction network has two layers with h = 64 hidden units. With α = 0 the scheme mimics GCN-like propagation and accuracy breaks down as K grows, while with α = 0.1 it increases and stabilizes. On average APPNP is around 25 % slower than GCN per epoch due to its higher number of matrix multiplications, but it scales similarly with graph size.
One quirk worth knowing: adding the propagation scheme only during inference significantly improves the accuracy of networks that were trained without using any graph information. The paper also reports that a moderate number of power iterations, K = 10, is enough to effectively approximate exact PPNP, and that this number coincides with the highest shortest path distance of any node to the training set.
Key idea. APPNP decouples prediction from propagation and solves the limited range problem of message passing models without introducing any additional parameters. It uses the information from a large, adjustable neighborhood for classifying each node, with the neighborhood size set by the teleport probability α.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{gasteiger2022predictpropagategraphneural,
title={Predict then Propagate: Graph Neural Networks meet Personalized PageRank},
author={Johannes Gasteiger and Aleksandar Bojchevski and Stephan Günnemann},
year={2022},
eprint={1810.05997},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1810.05997},
}