All models

GeneralConv-net

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

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 (40 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

Parameters
676
Operations
31
Framework
PyTorch
Recurrent
No
Published
NeurIPS (arXiv 2020)
Cited by
438 (as of 24 November 2026)
Authors
Jiaxuan You, Rex Ying, Jure Leskovec
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
m1204
Graph hash
98d070de50f3576aebaf014e07903b4ce8c6de3cac701a4b8a84e3a20f0024f5
Skeleton hash
cca22496bb37318e128abaea309ebd601e8851c8666f3be1f63933a46485c76e
Architecture hash
33228080e30fa564f6b877e8e4026c37bdd8eeab8dbbd9617066072821b8bdbf
Diagram SHA-256
56038e42d1d6a009166e8504d491e2821fbca95ec9110f4b98140e6cd93f0abe
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 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.

  • GeneralConv
  • GraphGym
  • Design Space for Graph Neural Networks
  • GNN design space
  • general GNN layer
  • graph neural network
  • node classification
  • PyG

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

Cite the paper

@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}, 
}