Paper commentary
Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering
Spectral filters let CNNs run on arbitrary graphs at linear cost
- Problem CNN convolution and pooling assume a regular grid, so they don't carry over to graphs such as social networks or word embeddings. A graph has no single notion of translation, so local neighborhoods must be matched one by one.
- Method The authors build filters from Chebyshev polynomials of the graph Laplacian instead of one free coefficient per frequency. Each filter reaches only K hops from its center, and Graclus coarsens the graph for pooling.
- Results On MNIST the graph CNN scored 99.14, compared to 99.33 for a classical CNN. On 20NEWS it scored 68.26, above the fully connected baselines.
Why CNN layers don't carry over to graphs
CNNs find local features that repeat across the input, which is the source of their success on images and sound. Their convolution and pooling are defined only on regular grids, and a graph has no such grid. Social networks, gene regulatory networks and word embeddings all have graph structure, so the gap matters in practice.
Spatial filters are local by construction, because the kernel has a finite support. The difficulty is that a graph offers no single notion of translation, so the local neighborhoods have to be matched one by one.
Localized filters built from the Laplacian
The key idea is to use a short polynomial in the graph Laplacian as the filter, instead of one free coefficient per frequency. Such a filter stays local, because \( d_G(i,j) > K \) implies \( (L^K)_{i,j} = 0 \), so a kernel of order K reaches only vertices within K hops of its center. This leaves K learnable coefficients and a learning cost of O(K), the same order as a classical CNN kernel.
Applying a polynomial directly still needs the Fourier basis, so the authors evaluate it recursively with the Laplacian instead. They expand the filter in Chebyshev polynomials of the scaled Laplacian, \( \tilde L = 2L/\lambda_{max} - I_n \). Each order follows from the two before it through \( \bar x_k = 2\tilde L \bar x_{k-1} - \bar x_{k-2} \), starting from \( \bar x_0 = x \) and \( \bar x_1 = \tilde L x \).
Each step is one sparse multiplication, so the whole filter costs O(K|E|), and the MNIST runs use K = 25.
Pooling after graph coarsening
Pooling needs groups of similar vertices, so the authors coarsen the graph with the coarsening phase of Graclus. Graclus takes an unmarked vertex i and matches it with an unmarked neighbor j, choosing the neighbor that maximizes \( W_{ij}(1/d_i + 1/d_j) \). Each level roughly halves the number of nodes, though a few singletons stay unmatched.
Each singleton gets a fake node, a disconnected vertex that starts at a neutral value such as 0 when ReLU is followed by max pooling. Once the vertices are ordered so that node k has children 2k and 2k+1, pooling becomes a regular 1D operation. Fake nodes raise the dimensionality and so the cost, but Graclus leaves few singletons.
Training the filters with backpropagation
Output feature map j sums the filtered input maps over i, as \( y_{s,j} = \sum_{i=1}^{F_{in}} g_{\theta_{i,j}}(L) x_{s,i} \). The trainable parameters are the Chebyshev coefficients \( \theta_{i,j} \in \mathbb{R}^K \) for each pair of input and output maps. The gradients take K sparse multiplications and one dense multiplication, for a cost of \( O(K|E|F_{in}F_{out}S) \), where S is the mini-batch size.
The network ends in softmax regression, trained with cross-entropy and an \( \ell_2 \) penalty on the fully connected weights. Mini-batches hold 100 samples, and the 20NEWS model is trained with Adam at an initial learning rate of 0.001.
Does the graph CNN match a classical CNN on MNIST?
MNIST serves as a sanity check, because the 2D grid is also a graph and the model should work on it. The authors build an 8-NN graph of the 28×28 grid with 976 nodes, including 192 fake nodes, and 3198 edges. Edge weights are \( W_{ij} = \exp(-\|z_i - z_j\|_2^2/\sigma^2) \), where \( z_i \) is the 2D coordinate of pixel i.
The classical C32-P4-C64-P4-FC512 network scored 99.33, and the graph version GC32-P4-GC64-P4-FC512 scored 99.14. With the graph architecture held fixed, Chebyshev filters scored 99.14, Spline 97.15 and Non-Param 96.28. So on this architecture, the choice of filter type alone separates the three results. The authors attribute the remaining gap to the classical CNN to the isotropic nature of spectral filters, since graph edges have no orientation.
Text categorization on 20NEWS
The 20NEWS corpus has 18,846 documents in 20 classes, split into 11,314 for training and 7,532 for testing. Each document is a normalized bag of the 10,000 most common words, and each word is a vertex of a 16-NN graph built from word2vec embeddings. The model is GC32 with support K = 5, trained for 20 epochs with Adam at a learning rate of 0.001.
GC32 scored 68.26, above FC2500 at 64.64 and FC2500-FC500 at 65.76. Multinomial Naive Bayes scored 68.51, so GC32 doesn't beat it on this small dataset. The authors point out that the fully connected networks need many more parameters.
Speed on CPU and GPU, and how runtime scales
For a mini-batch of 100 MNIST images, the classical CNN took 210 ms on CPU and 31 ms on GPU, a 6.77x speedup. The graph CNN took 1600 ms on CPU and 200 ms on GPU, an 8.00x speedup. Both models gain similarly from the GPU, which the authors read as a sign of parallelism, since the model relies solely on matrix multiplications.
Figure 3 varies the number of words n for mini-batches of 100 20NEWS documents. The authors state that the proposed model scales as O(n), while the Spline model of [4] scales as O(n^2).
How much the graph itself matters
On MNIST, replacing the 8-NN grid graph with a random graph lowers GC32 from 97.40 to 96.88. The deeper architecture loses more, from 99.14 to 95.39. The authors read this as the loss of the data structure that the convolutional layers depend on. They also note that the value of k has little effect on these results.
The method assumes that the data is local, stationary and compositional on the graph where it resides. The authors conclude that the quality of the constructed graph matters for text.
Limits of the evidence and open questions
Experiments cover MNIST and 20NEWS only. On MNIST the graph CNN stays below the classical CNN, and the authors point to the isotropic filters as a likely cause. On 20NEWS the graph model doesn't beat multinomial naive Bayes.
The authors leave the Lanczos algorithm for future work, since its coefficients are more convoluted to handle. Algebraic multigrid and Kron reduction are named as coarsening alternatives to explore later. Alternating the learning of the CNN parameters and the graph is named as a future direction. The O(n) runtime claim rests on the authors' reading of Figure 3.
Paper info
- Authors
- Michaël Defferrard, Xavier Bresson, Pierre Vandergheynst
- Venue
- arXiv · Preprint
- First published
- 2016-6-30
- Added
- 2026-11-11
- Updated
- 2017-2-5
- Version
- v3
- arXiv
- 1606.09375
- Category
- cs.LG · stat.ML
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Michaël Defferrard, Xavier Bresson, Pierre Vandergheynst (2016). Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering. arXiv:1606.09375v3. https://arxiv.org/abs/1606.09375v3
BibTeX
@misc{defferrard2016convolutional,
title = {{Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering}},
author = {Michaël Defferrard and Xavier Bresson and Pierre Vandergheynst},
year = {2016},
eprint = {1606.09375},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1606.09375v3}
}