Spectrum Dependent Learning Curves in Kernel Regression and Wide Neural Networks

Blake Bordelon, Abdulkadir Canatar, Cengiz Pehlevan

In machine learning, understanding "generalization"—a model's ability to perform well on unseen data—is a central challenge. While classical statistical learning theory provides worst-case bounds on generalization, these bounds are often too loose to explain the actual, highly effective behavior of modern neural networks.

This paper tackles a more specific and practical question: Can we analytically predict the average-case generalization error as a function of the number of training samples ($p$)? By examining the internal structure of models—specifically the "spectrum" (eigenvalues and eigenfunctions) of their kernels—the authors provide a theoretical framework to predict exactly how kernel machines and wide neural networks learn as dataset size increases.

The Spectral Principle and Learning in Stages

The core discovery of this research is a "spectral principle": models learn simpler, low-frequency patterns (associated with large eigenvalues of the kernel) much faster than complex, high-frequency ones.

To prove this, the researchers utilized two distinct theoretical toolkits—a continuous approximation using partial differential equations (PDEs) and the Replica Method from statistical physics. Both methods rely on Modal Decomposition, which breaks down the total error into contributions from different "modes" (eigenfunctions) of the kernel rather than looking at a single aggregate error metric.

This decomposition reveals that in high-dimensional settings, learning does not happen as a smooth, uniform slide. Instead, it progresses in distinct stages.

Learning curves for different modes in a 3-layer NTK, demonstrating that lower complexity modes are learned first.

For a training set of size $p \sim d^k$ (where $d$ is the dimension), the model essentially "perfects" all patterns up to complexity $k$, is actively "learning" patterns of complexity $k$, and has largely "ignored" anything more complex. A single additional training point provides a much greater percentage reduction in error for the dominant, low-frequency modes than for the weaker, high-frequency ones.

Kernel-NN Equivalence and Inductive Bias

A major strength of this theory is its applicability to deep learning. In the infinite-width limit, neural networks are known to behave like kernel machines, governed by the Neural Tangent Kernel (NTK).

The authors validated their analytical expressions against actual finite-width neural networks trained with gradient descent. The theory holds up remarkably well, reinforcing the utility of the NTK as a lens for understanding deep learning generalization.

Comparison of learning curves between finite-width neural networks and their corresponding kernels, showing strong agreement.

Furthermore, the theory explains why generalization error often follows a power law ($E_g \sim p^{-\beta}$). The specific exponent $\beta$ is determined by the relationship between the target function's complexity and the kernel's eigenvalue decay. This decay represents the model's inductive bias: a kernel with a rapidly decaying spectrum is strongly biased toward fitting simple functions first. The authors confirmed this practical relevance on the MNIST dataset, showing that eigenmodes with larger eigenvalues are indeed learned more rapidly.

Limitations and Future Directions

While the analytical expressions show near-perfect agreement with experimental simulations on synthetic hypersphere data, there are limitations:

  • The "Wide" Assumption: The theory relies on the NTK regime, assuming very wide networks. It may not fully capture the "feature learning" behavior seen in narrower networks or those trained with very large learning rates.
  • Mode Independence: The current approximation assumes the error in one mode doesn't depend on the target weights of other modes, a simplification that might not hold in a fully rigorous treatment.
  • Data Distribution: The "learning stages" analysis assumes data is sampled uniformly from a hypersphere. Extending this framework to more complex, structured data manifolds is a natural next step for future research.

Ultimately, this work provides a rigorous, predictive mathematical foundation for understanding what wide neural networks learn first, offering a clearer picture of how data volume translates into generalization performance.

Summary updated

BibTeX
@inproceedings{bordelon2020spectrum,
  author = {Blake Bordelon and Abdulkadir Canatar and Cengiz Pehlevan},
  title = {{Spectrum Dependent Learning Curves in Kernel Regression and Wide Neural Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=CYpznBhXzF9},
}
Figure