Paper commentary
Spectral Networks and Locally Connected Networks on Graphs
Spectral and locally connected networks extend convolution to graph-structured data
- Problem Convolutional networks need a grid, so they do not apply directly to graph data such as meshes or social networks. A fully connected layer on n inputs needs about n squared parameters, which becomes too costly.
- Method The authors build two layer types for graphs. Locally connected layers follow clustered graph neighborhoods, and spectral layers filter signals using eigenvectors of the graph Laplacian.
- Results On subsampled MNIST, a deep locally connected network scored 1.3, compared with 1.8 for a fully connected network.
Why standard CNNs don't carry over to graphs
Convolutional networks gain their efficiency on a grid from three things: weight sharing across positions, compact filters and multiscale pooling. Those properties rely on the grid's translation structure and metric, and many useful datasets, such as 3-D meshes, sensor networks and social graphs, have neither. A fully connected layer on n inputs costs on the order of n squared parameters, so the aim is to get close to linear cost without a grid.
Without a global embedding, weight sharing across graph locations is hard to induce, which is why the authors look for a graph-native route. The authors ask whether convolution-like layers can be built on general graphs while the parameter count stays low.
Locally connected layers built from graph clusters
The spatial construction keeps the graph's own weights as the source of locality, rather than a coordinate system. A neighborhood around node j collects every node i whose weight W_ij exceeds a threshold delta. Filters restricted to these neighborhoods reduce a filter layer to O(S·n) parameters, where S is the average neighborhood size.
Coarser levels come from agglomerative clustering, a naive method the authors chose over more principled graph clustering schemes. At each level the weights between clusters are summed, each row is normalized, and the neighborhoods are the support of the resulting matrix. Each layer maps f_{k-1} signals on the previous level to f_k signals on the next, and the pooling step L_k then aggregates each cluster.
\[ x_{k+1,j} = L_k\, h\left(\sum_{i=1}^{f_{k-1}} F_{k,i,j}\, x_{k,i}\right) \] Here F_{k,i,j} is a sparse matrix whose nonzero entries lie on the neighborhoods, and h is a nonlinearity.
Counting parameters, each layer costs about S_k times |Ω_k| times f_k times f_{k-1}, which is O(n). The authors note that S_k times |Ω_k| is roughly α times |Ω_{k-1}|, with the oversampling factor α typically between 1 and 4. So the cost of each layer follows the input size, and the method asks only for weak regularity from the graph.
Spectral filters on the Laplacian eigenbasis
The spectral construction borrows the Fourier picture: on the grid, convolutions are diagonal in the Fourier basis, and on a graph the graph Laplacian's eigenvectors play that role. The authors use the combinatorial Laplacian, L = D − W, for simplicity, and order its eigenvectors by eigenvalue. The first eigenvector is constant, and each later one minimizes the smoothness functional among vectors orthogonal to the earlier ones.
A layer projects the input onto the eigenvectors V, scales each frequency by a diagonal multiplier F, and maps the result back with V. \[ x_{k+1,j} = h\left(V \sum_{i=1}^{f_{k-1}} F_{k,i,j}\, V^{T} x_{k,i}\right) \] Because F is diagonal, a filter needs one parameter per eigenvector it acts on, instead of the m squared entries of a generic map.
Keeping only the first d eigenvectors gives a parameter count of f_{k-1}·f_k·d, which the authors write as O(|Ω|). Products with V and V^T are expensive, and applying a standard nonlinearity on the spectral side is not obvious. Most graphs have meaningful eigenvectors only near the top of the spectrum, so fine high-frequency structure may be hard to reach with this layer.
Smooth multipliers keep the parameter count constant
On the grid, spatially localized filters have smooth frequency responses, so the authors ask for smooth spectral multipliers. They learn only a sparse set of multipliers and fill in the rest with an interpolation kernel, such as cubic splines. The diagonal of each filter is written as diag(F_{k,i,j}) = K α_{k,i,j}, where K is a fixed d by q cubic spline kernel and the q values in α are learned.
\[ \operatorname{diag}(F_{k,i,j}) = K\,\alpha_{k,i,j} \]
Choosing a sampling step that scales with the input size keeps the spline count fixed. The smoothness needs a geometry on the eigenvalue index, and the authors take the simplest choice, a one-dimensional ordering by eigenvalue.
Whether the covariance argument recovers CNNs
The authors argue that choosing the data covariance as the similarity kernel can recover a standard convolutional network. Images are translation invariant, so their covariance depends only on the pixel offset and is diagonalized by the Fourier basis. The authors present this as an argument from image statistics, and the reported experiments do not use this covariance-based kernel.
Subsampled MNIST results
The authors subsample the 28 by 28 grid to 400 coordinates, which keep a 2-D structure but can't use standard convolutions. All models use rectified linear units and max-pooling, trained with cross-entropy, a learning rate of 0.1 and momentum 0.9. Nearest Neighbors scored 4.11, and a two-layer fully connected network scored 1.8.
The authors used a frequency cutoff of N/2 = 200 for the spectral layers. The paper reports that the smoothing architecture, which has the fewest parameters, outperforms the regular spectral construction.
The authors attribute the gap to MNIST's localized oriented strokes, which locally receptive fields enforce by design, while spectral measurements are not forced to be local. Adding smoothness to the spectrum makes the filters more spatially localized, which the authors show in filter plots.
MNIST on the sphere under rotations
The authors sample 4096 points from the unit sphere and project MNIST digits onto them using bicubic interpolation, after a random covariance-based point of view. The digits 6 and 9 are equivalent under rotation, so the authors remove the 9s.
Smoothing therefore lowers the error at the same parameter count, and the authors observe that both convolutional constructions roughly match the fully connected networks with far fewer parameters. The filters learnt with smoothing are spatially localized and detect similar features across locations.
With uniform rotations, Nearest Neighbors does much worse, and the performance of every network drops relative to the mild case. The authors expect deeper architectures to help, since the rotation group here is non-commutative.
Open problems
The experiments cover two MNIST variants, and the regular spectral model trailed the locally connected networks on subsampled MNIST. The spectral filters use a naive one-dimensional ordering of eigenvectors, and the dual graph that would give them geometry is still undefined. The multiscale clustering is naive and isn't guaranteed to respect the Laplacian, and the multigrid-style link to the spectral side is left for later.
The authors suspect that careful training and deeper networks would beat fully connected networks on manifold-like graphs such as the sphere.
Paper info
- Authors
- Joan Bruna, Wojciech Zaremba, Arthur Szlam, Yann LeCun
- Venue
- arXiv · Preprint
- First published
- 2013-12-21
- Added
- 2026-11-12
- Updated
- 2014-5-21
- Version
- v3
- arXiv
- 1312.6203
- Category
- cs.LG · cs.CV · cs.NE
- 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
Joan Bruna, Wojciech Zaremba, Arthur Szlam, Yann LeCun (2013). Spectral Networks and Locally Connected Networks on Graphs. arXiv:1312.6203v3. https://arxiv.org/abs/1312.6203v3
BibTeX
@misc{bruna2013spectral,
title = {{Spectral Networks and Locally Connected Networks on Graphs}},
author = {Joan Bruna and Wojciech Zaremba and Arthur Szlam and Yann LeCun},
year = {2013},
eprint = {1312.6203},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1312.6203v3}
}