Graph convolutional network

Also known as: GCN

On this page 7

A graph convolutional network (GCN) is a graph neural network that learns a vector representation for every node by repeatedly aggregating the features of its neighbors through a normalized adjacency matrix and a shared learnable weight matrix. In graph learning, the GCN popularized by Thomas Kipf and Max Welling in 2017 became the reference baseline for semi-supervised node classification and the model most other architectures are measured against.

Within artificial intelligence, the GCN matters because it brought the idea of convolution to irregular data: social networks, citation graphs, molecules and transaction networks have no fixed grid, yet a GCN layer still applies the same filter to every node and scales linearly with the number of edges.

How a GCN layer propagates information

Each GCN layer computes new node features as H’ = σ( H W), where H holds the current node features, W is a trainable weight matrix, σ is a nonlinearity such as ReLU, and  is the normalized adjacency matrix with self-loops. Self-loops ensure that every node keeps part of its own signal, and the symmetric normalization D^(-1/2) (A + I) D^(-1/2) scales each message by the degrees of both endpoints.

In plain operational terms, every node collects transformed features from itself and its neighbors, weights each contribution by degree, and sums them. Stacking k layers gives each node a receptive field of k hops. Most practical GCNs use two or three layers, because deeper stacks tend to degrade rather than improve accuracy.

The table below lists the elements of the layer rule and the role of each.

SymbolMeaningShapeRole
A + IAdjacency with self-loopsN by NDefines who exchanges messages
D^(-1/2)Inverse square root of degreesN by N diagonalPrevents high-degree nodes dominating
HNode feature matrixN by FCurrent node representations
WShared weight matrixF by F’Learned feature transformation
σActivation functionElement-wiseAdds nonlinearity between layers
Components of the GCN propagation rule

Spectral origins of the GCN

The GCN is a first-order approximation of spectral graph convolution. Spectral methods define filtering through the eigenvectors of the graph Laplacian, an operation that is expensive and tied to a single graph. ChebNet replaced exact eigendecomposition with Chebyshev polynomials of order K, and the GCN simplified this further to K = 1 with a renormalization trick, which yields a cheap, localized and numerically stable layer.

This derivation explains a key property: a GCN acts as a low-pass filter on the graph signal. It smooths features across connected nodes, which helps when connected nodes are similar, a property called homophily, and hurts when they differ.

The spectral view also clarifies why the original formulation is transductive. The normalization constants come from the training graph, so applying a trained GCN to a new graph works only when its degree distribution and feature scale resemble the original. In practice, GCNs do transfer between similar graphs, but the guarantee is weaker than for architectures designed for inductive learning, and retraining is the safer choice when the graph changes substantially between training and deployment.

The GCN is one instance of the broader message passing neural network family, and its successors mainly change how neighbor messages are weighted or combined. The comparison below highlights the differences that matter when choosing a model.

ModelNeighbor weightingInductive useTypical strength
GCNFixed by node degreesLimited without retrainingSimple, fast, strong baseline
GraphSAGESampled mean, pool or LSTMDesigned for unseen nodesScales to large graphs
Graph attention networkLearned attention scoresYesAdapts to uneven neighbors
Graph isomorphism networkSum with learned MLPYesMatches Weisfeiler-Lehman power
Relational GCNPer-relation weight matricesYesHandles typed knowledge-graph edges
GCN versus common graph neural network variants

Because its weights depend only on degrees, a GCN cannot distinguish important from unimportant neighbors. Its expressive power is also bounded by the Weisfeiler-Lehman test, and its mean-like aggregation is weaker than the sum used by graph isomorphism networks for telling graph structures apart.

Applying GCNs in practice

GCNs are used for node classification, link prediction through encoder and decoder setups such as the graph autoencoder, and graph classification when combined with a readout or pooling step. Typical settings on citation benchmarks are a hidden size of 16 to 256 units, dropout of about 0.5, and weight decay around 5e-4.

The decision table below summarizes common situations and suitable configurations.

Task or situationRecommended setupReason
Few labeled nodes, homophilous graphTwo-layer GCNSmoothing spreads label signal
Millions of nodesCluster-GCN or neighbor samplingFull-batch training exhausts memory
Missing edges to predictGCN encoder with dot-product decoderEmbeddings score node pairs
Molecule property predictionGCN plus global readoutProduces one graph-level vector
Strong heterophilyAlternative architectureLow-pass smoothing mixes classes
Choosing a GCN setup for common tasks

Full-batch training stores the whole adjacency in memory, so mini-batch methods such as Cluster-GCN or GraphSAGE-style sampling are required on very large graphs. Precomputing propagated features, as in simplified GCN variants, is another efficient shortcut when nonlinearity between layers adds little.

Limitations and failure modes

The weaknesses of the GCN follow directly from its repeated neighborhood averaging. Knowing them helps practitioners diagnose poor results quickly.

  • Over-smoothing: after many layers, node features converge and classes become indistinguishable.
  • Over-squashing: information from distant nodes is compressed through bottleneck edges.
  • Heterophily: accuracy drops when neighbors usually belong to different classes.
  • Transductive bias: the classic formulation assumes the full graph is known during training.
  • Degree sensitivity: noisy or missing edges change normalization and shift predictions.

In everyday language

Many kinds of data look like a web of connections. People follow other people. Research papers cite other papers. A graph convolutional network learns from such a web. Each item learns from its neighbors. It mixes its own description with theirs, step by step.

Think of guessing a person’s interests from their friends. If most friends love hiking, the person probably does too. A GCN does this with numbers. It works best when connected items are alike, and it struggles when they are not.

Seen in the real world

A payments company wants to detect accounts involved in money laundering. Investigators have confirmed only about 2 percent of its 3 million accounts as either legitimate or suspicious. The rest are unlabeled, but the company knows which accounts send money to which others.

The data science team builds a graph with accounts as nodes and transfers as edges, and gives each node features such as account age, transaction volume and country risk. A two-layer GCN trained with Cluster-GCN batching propagates the few confirmed labels through the transfer network, so accounts tightly linked to known suspicious ones receive higher risk scores.

Compared with a model that ignored connections, the GCN surfaced more suspicious rings for review at the same false alarm rate. Investigators still review each flagged case, because the graph signal indicates association, not proof.