
GatedGraphConv
Graphs and geometry32 ops9.4K params
A graph network whose nodes update like GRU cells, unrolled for a fixed number of message-passing steps.
Graphs and geometry · 32 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.
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.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@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},
}