
GatedGraphConv-net
Graphs and geometry32 ops37.2K params
A graph layer that updates node states with a GRU over 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.
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.
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},
}