All models

GCNConv

Kipf and Welling's graph convolution: normalise the adjacency, propagate, apply a weight matrix.

Graphs and geometry · 33 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 (38 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
GCN
Parameters
544
Operations
33
Framework
PyTorch
Recurrent
No
Published
ICLR 2017
Cited by
7,964 (as of 4 October 2026)
Authors
Thomas N. Kipf, Max Welling
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
m1114
Graph hash
bf2f0be5a25a04117aae28522212b836b66401936f4f5ab6192491b78a129408
Skeleton hash
befe9cbee74316563a377a843bff60b5a3c8c0bc93c115d94b071902b60123b8
Architecture hash
b4d34dedf0f3a1ec3aeea75a21d035b3dcf12bd37ec43eb4d93c168171d7de71
Diagram SHA-256
3c7eda646b2d34e82867af99044ca9cf4bf8195a05b66d474ef7df89937680b5
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

A single GCNConv layer on its own: the graph convolutional operator from the paper.

About this model's family

GCN is the graph convolutional network of Thomas N. Kipf and Max Welling: a scalable approach to semi-supervised learning on graph-structured data, built from an efficient variant of convolutional networks that operate directly on graphs. The architecture is motivated by a localized first-order approximation of spectral graph convolutions, and the model scales linearly in the number of graph edges. It was published as a conference paper at ICLR 2017.

One layer is a single rule: the adjacency matrix of the undirected graph gets added self-connections, is normalised by degree, and multiplies the node features before a layer-specific trainable weight matrix and an activation such as ReLU. The paper calls that normalisation its renormalization trick, introduced because repeated application of the un-normalised operator can lead to numerical instabilities and exploding or vanishing gradients in a deep model. Stacking layers widens each node's view one hop at a time: a GCN with K layers depends on the K-th order neighbourhood.

The paper's own forward model for semi-supervised node classification is a two-layer GCN, an input-to-hidden weight matrix for a hidden layer followed by a hidden-to-output one. It was tested on the citation networks Citeseer, Cora and Pubmed and on NELL, a dataset extracted from a knowledge graph, with 16 hidden units for the citation datasets. The reference implementation was written in TensorFlow using sparse-dense matrix multiplications, and the author's later PyTorch re-implementation warns of subtle differences from it.

The captures here come from PyTorch Geometric: GCNConv, the graph convolutional operator from the paper, and GCN, the library's model that uses the GCNConv operator for message passing. In these captures out_channels is left unset, so the GCN model returns hidden node embeddings rather than class scores.

Key idea. A simple, well-behaved layer-wise propagation rule for neural networks that operate directly on graphs, motivated by a first-order approximation of spectral graph convolutions, which makes semi-supervised node classification fast and scalable.

  • gcn
  • graph convolutional network
  • gcnconv
  • graphconv
  • kipf welling
  • semi-supervised classification
  • node classification
  • pytorch geometric
  • citation network
  • cora

AI-written summary, checked automatically against its sources; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{kipf2017semisupervisedclassificationgraphconvolutional,
      title={Semi-Supervised Classification with Graph Convolutional Networks}, 
      author={Thomas N. Kipf and Max Welling},
      year={2017},
      eprint={1609.02907},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1609.02907}, 
}