ML Systems Lab Open interactive version →
Intermediate 50 min read spectralLaplacianChebNetGCNeigendecomposition

Spectral Graph Convolution

Graph Laplacian, ChebNet, Kipf & Welling GCN, renormalization trick, transductive limitation

A citation network has 2708 papers across 7 fields — machine learning, databases, and five others. Each paper has 1433 binary features encoding word presence. A plain MLP on those features achieves 56% accuracy at field classification. The problem: a paper's field is determined not just by its own words but by what it cites and who cites it. Machine learning papers cite other machine learning papers. The graph structure carries signal the MLP ignores.

Standard convolution is defined for regular grids — the same kernel slides over every pixel position. Graphs have no grid, no canonical node ordering, and variable neighborhood sizes. You cannot slide a fixed-size kernel over a graph. Spectral methods provided the first principled definition of graph convolution by grounding it in signal processing: the graph Laplacian L = D - A acts as the frequency operator, and filtering in spectral space multiplies signal components in eigenspace.

The problem is that eigendecomposition of the Laplacian costs O(N³) — infeasible for any real graph. ChebNet avoids explicit eigendecomposition by approximating spectral filters with Chebyshev polynomials of degree K, reducing convolution to sparse matrix multiplications that scale with edge count. Kipf & Welling (2017) simplified further to K=1 with a self-loop trick, giving one sparse matrix multiply per layer: H^{(l+1)} = σ(D̃^{-1/2} Ã D̃^{-1/2} H^{(l)} W^{(l)}). This GCN achieves 81% accuracy on the citation network versus 56% for the feature-only MLP — the graph structure accounts for 25 percentage points of accuracy.

But spectral GCNs carry a fundamental limitation that no hyperparameter can fix: the learned filter weights are defined in the eigenspace of a specific graph's Laplacian. A new graph has a different Laplacian with different eigenvectors. The model cannot generalize. This is why every production GNN system uses spatial methods.

NOT this. "GCN is just convolution applied to graphs." Image convolution is defined for regular grids with fixed-size neighborhoods — the same kernel applies at every position because the grid is uniform. Graph convolution operates on irregular, variable-size neighborhoods with no canonical ordering. The spectral formulation connected graph operations to signal processing theory, but it gave way to spatial formulations because spectral filters cannot transfer to new graphs. Spatial message-passing GNNs — which aggregate over explicit neighborhoods — generalize inductively. Spectral GCNs do not.

Key points

Takeaway

The Kipf & Welling GCN is a first-order Chebyshev polynomial approximation that avoids eigendecomposition — this is what made spectral GCNs tractable. But the approximation doesn't fix the transductive limitation: spectral filters are defined in the eigenspace of a specific graph's Laplacian and cannot transfer to graphs not seen during training. This is why all production GNN systems use spatial message-passing methods — inductive generalization to new nodes and graphs is a hard requirement, not an optimization, and spectral methods cannot satisfy it.

Recap

Check your understanding

Q1. Derive the GCN propagation rule from spectral filtering. Why does Kipf & Welling set K=1 and approximate λ_max=2?

Q2. Which two of the following statements about applying a spectral GCN to a NEW graph unseen at training time are TRUE? (Select two.)

Q3. What is over-smoothing in GCNs, and what is its formal spectral interpretation?

Try it interactively

ML Systems Lab is a free interview-prep platform for ML engineers — work through the full interactive module, quizzes, and drills.

Open ML Systems Lab →