All models

PDNConv

Learns one weight per edge from edge features with a small network, then runs graph convolution over that graph.

Graphs and geometry · 45 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
PDN
Parameters
865
Operations
45
Framework
PyTorch
Recurrent
No
Published
WWW 2021
Cited by
27 (as of 18 October 2026)
Authors
Benedek Rozemberczki, Peter Englert, Amol Kapoor and others
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
m2098
Graph hash
33635d8babb4de7bfaf87ef5e71d782b2e137b724ec94beb7cc84fa3a21508f3
Skeleton hash
64b90034ae8d521cb37ecb773c1bf408c15d488976e4b2f5af047565d69a4beb
Architecture hash
2a85d1ee9f1561d9e0b239933add026140a0858515e64be4cc390340d87d90b5
Diagram SHA-256
546f6a8963a4cbed6efc11b21e5b1d75c2a5aac0bf87c0bf45ea1fee67badd26
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

Pathfinder Discovery Networks, or PDNs, learn the graph that message passing should run over instead of taking it as given, jointly with the downstream semi-supervised model. They inductively learn an aggregated weight for each edge, optimized for the downstream learning task. The authors frame them as a generalization of attention mechanisms on graphs that allows flexible similarity functions between nodes, edge convolutions and cheap multiscale mixing layers.

The core piece, and the one traced here as PDNConv, is the pathfinder layer: a differentiable layer that combines multiple sources of proximity information over a set of nodes into a single weighted graph. A feed forward network learns the edge weights while the sparsity of the underlying weighted multiplex graph stays unchanged. The resulting pathfinder graph then feeds an arbitrary downstream graph convolutional model, and gradients from the classification task propagate down to the edge weights. In the paper's experiments the pathfinder module is a single hidden layer of 16 pathfinder neurons with ReLU, followed by a softmax in its output layer.

The contrast drawn is with Graph Attention Networks, which the authors say are prone to overfitting and suffer from a diminishing weight problem that drives learned edge weights toward zero as a node's degree grows. GAT-style attention also constrains reweighting to a single aggregation of node features, which prevents it from learning complex difference operators between edges. On Cora, Pubmed, Facebook and Deezer the PDN variants were the most competitive models, with a relative accuracy advantage between 0.8 and 3.5%, and they fell behind only the standard GCN model on Citeseer.

The authors also show that the relative runtime increase of PDNs is independent of the dataset size in terms of edge set cardinality. Because the pathfinder weights can be seen as attention over the input graphs and edge features, they use them to make the information propagation interpretable.

Key idea. A pathfinder layer learns one weight per edge from multiple proximity signals with a feed forward network, forming a single weighted graph for message passing. Because gradients from the supervised task propagate down to those edge weights, the message passing graph itself is optimized for the task at hand.

  • PDN
  • PDNConv
  • Pathfinder Discovery Network
  • Pathfinder Discovery Networks
  • pathfinder layer
  • pathfinder neuron
  • pathfinder graph
  • multiplex graph
  • edge features
  • learned message passing graph
  • graph attention
  • node classification
  • PyTorch Geometric

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

Cite the paper

@misc{rozemberczki2021pathfinderdiscoverynetworksneural,
      title={Pathfinder Discovery Networks for Neural Message Passing}, 
      author={Benedek Rozemberczki and Peter Englert and Amol Kapoor and Martin Blais and Bryan Perozzi},
      year={2021},
      eprint={2010.12878},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2010.12878}, 
}