All models

GatedGraphConv

A graph layer that updates node states with a GRU over 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
9.4K
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
m1188
Graph hash
4c226e8e3481bfdeb18c973bf14021fb24e5ba5ee2f31a7abd13b2bce10e2853
Skeleton hash
c770a2b5fb3a0d2ca41c031ce195325f4aef76c4f6db7252e3f1acb8422e12f6
Architecture hash
d6d69d64a07403788f9fb2700d89a0b8cb78299790a585fbcd3bc4fe3b480c27
Diagram SHA-256
44f9e193700c99486d5e0ccc1c7a1577ad8952b7b2aac5793b5b51cdd6ae5787
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 gated graph neural network (GG-NN) is a graph neural network that updates each node's hidden state with a gated recurrent unit (GRU), repeating the update for a fixed number of steps. It starts from earlier work on Graph Neural Networks, which the authors modify to use gated recurrent units and modern optimization techniques and then extend to output sequences. The paper presents the result as a class of models with favorable inductive biases, relative to purely sequence-based models, when the problem is graph-structured.

Each step first passes information between nodes along incoming and outgoing edges, with parameters determined by edge type and direction. GRU-like updates then combine that information with the node's state from the previous timestep. At the start, node annotations are copied into the first components of the hidden state and the rest is padded with zeros. Unrolling for a fixed number of steps needs more memory than the Almeida-Pineda algorithm, but removes the need to constrain parameters to ensure convergence.

For sequence outputs, the paper describes Gated Graph Sequence Neural Networks (GGS-NNs), in which several GG-NNs operate in sequence. In its bAbI experiments, the paper reports that GG-NN achieves perfect test accuracy using only 50 training examples. In DGL's version of the layer, the number of recurrent steps is a parameter and the output feature size must be no smaller than the input feature size.

Key idea. The paper modifies Graph Neural Networks to use gated recurrent units unrolled for a fixed number of steps, and extends them to produce output sequences.

  • GGNN
  • GG-NN
  • Gated Graph Neural Network
  • Gated Graph Sequence Neural Networks
  • GGS-NN
  • GatedGraphConv
  • gated graph convolution
  • graph neural network
  • message passing

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