
GeneralConv-net
Graphs and geometry31 ops676 params
GraphGym's general-purpose GNN layer, the building block of a 315,000-design study of what makes GNNs work.
Graphs and geometry · 13 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 layer traced here, GeneralConv, is the configurable message passing layer from GraphGym, the platform released with the paper Design Space for Graph Neural Networks. Instead of proposing one more architecture, the paper defines and systematically studies a design space of 315,000 different GNN designs over 32 different predictive tasks. The complaint is that research usually evaluates specific designs rather than the Cartesian product of design dimensions such as the number of layers or the type of the aggregation function.
The space has 12 design dimensions covering intra-layer design, inter-layer design and learning configuration. Within a layer, the adopted GNN layer is a linear layer followed by batch normalization, dropout, a nonlinear activation and an aggregation function. The ranges studied are batch normalization on or off, dropout off, 0.3 or 0.6, ReLU, PReLU or Swish activations, and mean, max or sum aggregation. The authors deliberately dropped model-specific dimensions such as those for attention modules, though the appendix shows attention being added as a new intra-layer dimension.
Ranking each design choice over 96 sampled setups per dimension, the authors found that adding batch normalization is generally helpful. Dropping out node feature dimensions was usually not effective, which they attribute to neighborhood aggregation already making GNNs robust to noise. PReLU clearly stood out as the choice of activation, a finding they flag as novel because PReLU had rarely been used in GNN designs. Sum aggregation, the theoretically most expressive choice, also came out ahead empirically. Skip connections were generally favorable, with the concatenation version slightly ahead of the summed one.
The second half of the paper builds a task space by applying a fixed set of anchor models to each task and using the Kendall rank correlation of their performance as a task similarity. The authors observe a 0.8 Pearson correlation between a transferred model's performance ranking and the similarity of the two tasks. GraphGym itself offers a modularized GNN implementation, standardized evaluation and reproducible, scalable experiment management, and from version 0.2.0 it supports a PyTorch Geometric backend.
Key idea. Rather than a single architecture, the paper defines a general GNN design space of 315,000 designs across 32 tasks and distils a comprehensive set of guidelines for designing well-performing GNNs. The traced layer is the linear, batch normalization, dropout, activation and aggregation stack that spans that intra-layer space.
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},
}