All models

GatedGraphConv-net

A graph network whose nodes update like GRU cells, unrolled for a fixed number of message-passing steps.

Graphs and geometry · 32 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 (29 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

Family
GGNN
Parameters
37.2K
Operations
32
Framework
PyTorch
Recurrent
Yes
Published
ICLR 2016
Cited by
2,568 (as of 18 October 2026)
Authors
Yujia Li, Daniel Tarlow, Marc Brockschmidt, Richard Zemel
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
m1189
Graph hash
4c226e8e3481bfdeb18c973bf14021fb24e5ba5ee2f31a7abd13b2bce10e2853
Skeleton hash
c770a2b5fb3a0d2ca41c031ce195325f4aef76c4f6db7252e3f1acb8422e12f6
Architecture hash
99827337c842a95b76333312c7c6ea0cde465e5a2b81df5ff79f607b21182e0b
Diagram SHA-256
d43c09e2ed02e37bbf6fe629758e271eab038381d9616673371fba5b4c3d4de4
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

Gated Graph Neural Networks, GG-NNs for short, are the authors' adaptation of the earlier Graph Neural Networks of Scarselli et al., rebuilt around gated recurrent units and modern optimization. The change is practical: the original GNNs ran propagation to a fixed point, which forces the propagation step to be a contraction map and may limit the expressivity of the model. GG-NNs instead unroll the recurrence for a fixed number of steps and train with backpropagation through time, which costs more memory but removes the need to constrain parameters for convergence.

Each step passes information between nodes along incoming and outgoing edges, with parameters that depend on the edge type and direction. The rest of the step is a GRU-like update, with update and reset gates folding the neighbours' messages into each node's previous hidden state. Node labels enter as annotations: they are copied into the first dimensions of the initial state and the rest is padded with zeros, so hidden states can be wider than the annotation. The paper's main contribution is an extension of Graph Neural Networks that outputs sequences, which the authors call Gated Graph Sequence Neural Networks.

On four bAbI reasoning tasks the GG-NN reaches perfect test accuracy from only 50 training examples, where the RNN and LSTM baselines need more data or fail outright. The motivating application is program verification: the sequence model reads heap graphs and predicts separation logic formulas, reaching 89.96% accuracy against 89.11% for the earlier system built on hand-engineered features. The invariants it found were good enough to feed a theorem prover and prove list-manipulating programs such as insertion sort correct.

Key idea. GG-NNs replace the fixed-point propagation of earlier Graph Neural Networks with gated recurrent units unrolled for a fixed number of steps and trained by backpropagation through time, dropping the contraction-map constraint. The paper's headline extension chains such networks into Gated Graph Sequence Neural Networks that output sequences rather than single classifications.

  • GGNN
  • GG-NN
  • GGS-NN
  • Gated Graph Neural Network
  • Gated Graph Sequence Neural Networks
  • GatedGraphConv
  • gated graph conv
  • graph neural network
  • GRU on graphs
  • program verification
  • bAbI

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

Cite the paper

@misc{li2017gatedgraphsequenceneural,
      title={Gated Graph Sequence Neural Networks}, 
      author={Yujia Li and Daniel Tarlow and Marc Brockschmidt and Richard Zemel},
      year={2017},
      eprint={1511.05493},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1511.05493}, 
}