All models

ResGatedGraphConv

A graph convolution layer with learned edge gates and a residual connection.

Graphs and geometry · 18 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 (24 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
10.2K
Operations
18
Framework
PyTorch
Recurrent
No
Published
2017
Cited by
767 (as of 20 November 2026)
Authors
Xavier Bresson, Thomas Laurent
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
m2588
Graph hash
6e5531425963ca1ef0fec1bfd3d9f795201728f1c817445ecf23a822065a9c9a
Skeleton hash
d948e34e265bb36549562a9c843c8a4814fbfcfcfb990fe512bdc536c1f9486f
Architecture hash
9dbefcd45ba3140a924842ccd943fafc321664c5938fea041e77ccb80f9e43a9
Diagram SHA-256
9cd4e2a231cda43f3e92f7e7ab2cb7ebc18ce1b42dd5d0c11879190d9a7b098a
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

How this diagram was made

torch_geometric.nn.conv.ResGatedGraphConv(in_channels=50, out_channels=50)

What it is

Residual Gated Graph ConvNets are convolutional networks for graphs of variable size, aimed at problems such as vertex classification, graph classification and graph regression. They come from a paper that compares two kinds of graph network, recurrent ones (RNNs) and convolutional ones (ConvNets).

The layer starts from the vanilla graph ConvNet of Sukhbaatar et al. and adds the edge gating mechanism of Marcheggiani & Titov. The authors believe gates are important for graphs because they let the network learn which edges matter for the task. For multi-layer networks a residual connection is added, which amounts to adding the identity operator between successive convolutional layers.

On two test problems, subgraph matching and graph clustering, the paper reports that its graph ConvNets are 3-17% more accurate and 1.5-4x faster than graph RNNs. It also reports that residuality provides a 10% gain of performance when learning multi-layer architectures.

Key idea. A controlled comparison of graph RNNs and graph ConvNets found that the most effective graph ConvNet architecture uses gated edges and residuality.

  • residual gated graph convnets
  • ResGatedGraphConv
  • gated GCN
  • gated graph convnet
  • edge gates
  • graph convolution
  • graph neural network
  • vertex classification
  • subgraph matching

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

Cite the paper

@misc{bresson2018residualgatedgraphconvnets,
      title={Residual Gated Graph ConvNets}, 
      author={Xavier Bresson and Thomas Laurent},
      year={2018},
      eprint={1711.07553},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1711.07553}, 
}