GraphConv-net
The 1-GNN layer from the paper that tied graph networks to the Weisfeiler-Leman test and went higher-order.
Graphs and geometry · 65 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.
At a glance
- Task
- Graphs and geometry
- Parameters
- 19.2K
- Operations
- 65
- Framework
- PyTorch
- Recurrent
- No
- Published
- AAAI 2019
- Cited by
- 153 (as of 18 October 2026)
- Authors
- Christopher Morris, Martin Ritzert, Matthias Fey and others
- Source
- torch_geometric 2.6.1
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
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.
Details
- Stable ID
- m1235
- Graph hash
- b3fca185abeb53e5f3e1e66d80d5a0aa84840a37381589c083e10b79b77fbb0c
- Skeleton hash
- 9fc34fad43bf28cc743d86786e18267b7b0751bdb54f7e33a6a838ff18328c7d
- Architecture hash
- a014c8be25b0e0ac25b82a3063249edcf2e64ddfbea863a40519144142427ba7
- Diagram SHA-256
- dc2d2813cab23267e3e9ef863e6a84b53ee1062e6c70bb11dd142ca0f4b05fa4
- 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
The paper behind this layer is as much a theorem as an architecture: it shows that standard graph neural networks have the same expressiveness as the 1-dimensional Weisfeiler-Leman graph isomorphism heuristic when it comes to distinguishing non-isomorphic graphs. That cuts both ways, since the two also share the same shortcomings, such as giving every node the same colour in a graph made of a triangle and a 4-cycle. The authors' answer is the k-dimensional GNN, or k-GNN, which passes messages directly between subgraph structures rather than individual nodes and so captures structure that is invisible at the node level.
What is traced here is not a k-GNN but the paper's baseline building block, the 1-dimensional GNN layer, which the authors call a 1-GNN. Both the neighbourhood aggregation and the merge with the node's own previous representation may be arbitrary differentiable, permutation-invariant functions, neural networks included. A graph-level vector can then come from summing the final node representations over the whole graph.
In the experiments the hierarchical 1-2-3-GNN significantly outperforms the 1-GNN on all seven graph classification datasets, with the 1-GNN the overall weakest method across all tasks. On the QM9 molecular benchmark the hierarchical model reduces mean absolute error by 54.45% on average across twelve regression targets. In the paper's own configuration the 1-GNN had three layers with a hidden dimension of 64.
Key idea. The paper proves that message-passing GNNs are no more expressive than the 1-WL test and proposes k-GNNs, neural architectures based on the k-dimensional WL algorithm that are strictly more powerful than GNNs.
- k-GNN
- 1-GNN
- GraphConv
- Weisfeiler and Leman Go Neural
- Weisfeiler-Leman
- WL test
- higher-order graph neural network
- graph classification
- MUTAG
- QM9
- Morris
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{morris2021weisfeilerlemanneuralhigherorder,
title={Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks},
author={Christopher Morris and Martin Ritzert and Matthias Fey and William L. Hamilton and Jan Eric Lenssen and Gaurav Rattan and Martin Grohe},
year={2021},
eprint={1810.02244},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1810.02244},
}