
GeneralConv
Graphs and geometry13 ops65.8K params
A general message-passing GNN layer from the GraphGym design-space study, traced as a small two-layer node classifier.
Graphs and geometry · 31 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.
The network traced here is built from GeneralConv, the PyG version of the general GNN layer behind GraphGym and the Design Space for Graph Neural Networks paper. The paper's argument is that GNN research has fixated on named architectures such as GCN, GIN or GAT, when each is only one point in a design space formed by the Cartesian product of design dimensions like depth and aggregation type. That space has 12 design dimensions and 315,000 possible designs. The authors evaluate it over 32 tasks, a mix of synthetic and real-world node and graph classification.
The general layer is simple to read off the graph: a linear transform, then batch normalization, dropout and a nonlinearity, then aggregation over the node's neighbours. Around the message-passing stack the design space also adds multilayer perceptron layers before and after message passing. It further explores skip connections between layers, which earlier GNN work had not studied in combination with other design choices. The member captured here keeps it small: two GeneralConv layers with sum aggregation and no attention, the aggregation the paper's evaluation found to be empirically successful.
The design and task spaces together give over 10M possible combinations, so instead of a full grid search the authors use a controlled random search that samples 96 setups per design dimension. Its headline findings are that batch normalization is generally helpful and that dropout on node features is usually not effective. PReLU, rarely used in earlier GNN designs, stood out as the activation of choice. Best designs vary significantly across tasks, so the paper pairs the design space with a task space whose similarity metric lets the best designs transfer between similar tasks. All of it ships as GraphGym, a platform with modularized GNN implementation, standardized evaluation and reproducible, scalable experiment management. On ogbg-molhiv the best design from the condensed space reached a ROC AUC of 0.792 against 0.771 for the previous state of the art.
Key idea. A general GNN design space of 12 design dimensions and 315,000 possible designs. It is paired with a GNN task space with a similarity metric and an efficient design space evaluation method.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{you2021designspacegraphneural,
title={Design Space for Graph Neural Networks},
author={Jiaxuan You and Rex Ying and Jure Leskovec},
year={2021},
eprint={2011.08843},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2011.08843},
}