
PDNConv-net
Graphs and geometry93 ops1.8K params
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
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.
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.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@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},
}