All models

APPNP-net

Predict with a small neural network, then propagate with personalized PageRank for long-range node labels.

Graphs and geometry · 148 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (11 KB)

Open in a new tab

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.

At a glance

Family
APPNP
Parameters
1.5K
Operations
148
Framework
PyTorch
Recurrent
No
Published
ICLR 2019
Cited by
479 (as of 18 October 2026)
Authors
Johannes Gasteiger, Aleksandar Bojchevski, Stephan Günnemann
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m48
Graph hash
b30409041ed0174d573df6abba2f93ecaad36527fa72b37884c40ee256b3b87c
Skeleton hash
e5f7d3d3a0fe2b187619d2723126b2f3801730daad5a52c89fa8bd5c69128979
Architecture hash
4c6d986891f774c21bf1360135d23bff2b5a4d26b6611a12e2e5dd8a6c9a861d
Diagram SHA-256
653ced8f129d16b467cfe3178516bbf5f06affe29478c14cb93eb454537708b1
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

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 α.

  • APPNP
  • PPNP
  • approximate personalized propagation of neural predictions
  • personalized propagation of neural predictions
  • predict then propagate
  • personalized PageRank
  • graph neural network
  • node classification
  • semi-supervised classification
  • propagation
  • torch_geometric

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@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}, 
}