All models

GCNConv-net

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

Graphs and geometry · 67 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 (42 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
1.6K
Operations
67
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
m1115
Graph hash
7555a84bb1fc7ce009cecd3999cb8864a15afcf718c8497c0f05bdc5ad1cf8c8
Skeleton hash
716c30577d2b3260fd7d6b6c12f673bf24e44d4700a5600928ae4487e72b36a0
Architecture hash
752de830ed707731ec830e7dc607aaaeeae268fbcfc2bdb65116df2fc46d14a5
Diagram SHA-256
0b8c0354c2293239d951bd881df621c8cad70bfb282756b3a15b4e9f74c543ad
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 plain stack of GCNConv layers, the graph convolutional operator from the paper, assembled by the adapter.

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