Skip to main content
QUICK REVIEW

[Paper Review] Why Are Convolutional Nets More Sample-Efficient than Fully-Connected Nets?

Zhiyuan Li, Yi Zhang|arXiv (Cornell University)|Oct 16, 2020
Machine Learning and AlgorithmsComputer Science14 references22 citations
TL;DR

This paper provides a rigorous theoretical explanation for why convolutional neural networks (ConvNets) generalize better than fully-connected (FC) networks on image tasks. It constructs a natural data distribution where FC networks trained with standard gradient-based methods require Ω(d²) samples to generalize, while ConvNets achieve generalization with O(1) samples, due to the orthogonal equivariance of training algorithms like SGD. The key contribution is a provable sample complexity gap rooted in inductive bias and optimization dynamics.

ABSTRACT

Convolutional neural networks often dominate fully-connected counterparts in generalization performance, especially on image classification tasks. This is often explained in terms of 'better inductive bias'. However, this has not been made mathematically rigorous, and the hurdle is that the fully connected net can always simulate the convolutional net (for a fixed task). Thus the training algorithm plays a role. The current work describes a natural task on which a provable sample complexity gap can be shown, for standard training algorithms. We construct a single natural distribution on $\mathbb{R}^d imes\{\pm 1\}$ on which any orthogonal-invariant algorithm (i.e. fully-connected networks trained with most gradient-based methods from gaussian initialization) requires $Ω(d^2)$ samples to generalize while $O(1)$ samples suffice for convolutional architectures. Furthermore, we demonstrate a single target function, learning which on all possible distributions leads to an $O(1)$ vs $Ω(d^2/\varepsilon)$ gap. The proof relies on the fact that SGD on fully-connected network is orthogonal equivariant. Similar results are achieved for $\ell_2$ regression and adaptive training algorithms, e.g. Adam and AdaGrad, which are only permutation equivariant.

Motivation & Objective

  • To mathematically justify the empirical superiority of ConvNets over FC networks in generalization, especially under limited data.
  • To identify a specific learning task where the sample complexity gap between FC and ConvNets is provably large.
  • To show that this gap arises not from architectural expressiveness alone, but from the interplay between architecture and training algorithm dynamics.
  • To formalize the role of inductive bias by proving that standard training algorithms on FC networks are constrained by orthogonal equivariance.
  • To extend the analysis beyond SGD to include adaptive algorithms like Adam and AdaGrad, and to ℓ2 regression.

Proposed method

  • Constructs a single natural data distribution on ℝ^d × {±1} where the label is based on a quadratic form ∑αixi², with αi ∈ ℝ.
  • Proves that any orthogonal-invariant training algorithm (e.g., SGD with Gaussian initialization) on FC networks must have Ω(d²) sample complexity due to invariance under orthogonal transformations.
  • Uses a packing argument on the orthogonal group O(d) and its tangent space (skew-symmetric matrices) to bound the number of distinguishable functions under the hypothesis class.
  • Applies the concept of orthogonal equivariance: if the data is rotated via an orthogonal matrix, the network’s prediction remains unchanged, limiting generalization capacity.
  • Extends the analysis to permutation-equivariant algorithms (e.g., Adam, AdaGrad) via a direct coupling argument, showing Ω(d) sample complexity lower bounds.
  • Demonstrates that 2-layer ConvNets achieve O(1) or O(d log(1/ε)) sample complexity on the same tasks, proving a provable generalization advantage.

Experimental results

Research questions

  • RQ1Can a provable sample complexity gap be established between fully-connected and convolutional networks under standard training algorithms?
  • RQ2Does the generalization advantage of ConvNets stem from architectural inductive bias or from the interaction with optimization dynamics?
  • RQ3Can the orthogonal equivariance property of SGD and related algorithms be used to derive lower bounds on sample complexity for FC networks?
  • RQ4Is the sample complexity gap robust across different training algorithms, including adaptive methods like Adam and AdaGrad?
  • RQ5Can the same separation be shown for ℓ2 regression, not just binary classification?

Key findings

  • For a single natural distribution where labels are based on ∑αixi², any orthogonal-invariant algorithm requires Ω(d²) samples to generalize, while 2-layer ConvNets require only O(1) samples.
  • The sample complexity gap is Ω(d²) for FC networks trained with SGD, Adam, AdaGrad, or ℓ2-regularized SGD, due to their orthogonal equivariance.
  • For ℓ2 regression, the sample complexity for orthogonal-equivariant algorithms is Ω(d(d+3)/2(1−ε)−1), while ConvNets achieve O(d) sample complexity.
  • A direct coupling argument shows that permutation-equivariant algorithms require Ω(d) samples for detecting local patterns in 1D images, while ConvNets require only O(log(1/δ)) samples.
  • The results demonstrate that the inductive bias of ConvNets is not just qualitative but quantitatively provable: they generalize with constant samples where FC networks require quadratic in dimension samples.
  • The paper leaves open the question of whether a tighter Ω(d²/ε) lower bound can be proven for the single distribution case, suggesting a potential direction for future work.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.