Spectrum Dependent Learning Curves in Kernel Regression and Wide Neural Networks

Blake Bordelon, Abdulkadir Canatar, Cengiz Pehlevan

Abstract

This paper introduces a theoretical framework to predict the generalization performance of kernel machines and wide neural networks. By identifying a "spectral principle," the authors demonstrate that these models learn target function components in successive stages based on their associated eigenvalues, favoring low-frequency patterns. The theory is validated through analytical learning curves that align closely with empirical results on synthetic and real-world datasets, providing a precise description of the inductive bias toward simplicity in modern machine learning models.

Introduction

In machine learning, while it is widely accepted that increasing data improves generalization, providing a precise mathematical description of this improvement remains a challenge. Most existing theories rely on "worst-case" bounds, which are often too pessimistic to explain the actual performance of modern neural networks. Furthermore, neural networks exhibit a known "inductive bias," appearing to prefer simple functions over complex ones.

This research seeks to quantify this bias by asking: Which components of a target function are learned first, and at what rate? By bridging the gap between kernel regression and wide neural networks via the Neural Tangent Kernel (NTK), the authors provide analytical learning curves that describe typical, average-case performance.

The Spectral Principle

The core contribution of this work is the identification of the Spectral Principle. This principle posits that kernel machines learn in distinct stages. If the dataset size $p$ is proportional to $d^k$ (where $d$ is the input dimension), the model effectively masters all spectral modes up to degree $k$, is currently learning degree $k+1$, and has yet to learn anything about higher degrees.

Spectral learning curves for Neural Tangent Kernels (NTK) showing the sequential resolution of modes.

As shown in the figure above, modes associated with larger kernel eigenvalues are learned significantly faster. A single additional training point provides a much larger percentage reduction in error for a "low-frequency" mode than for a "high-frequency" one. This explicitly links the "simplicity" bias of neural networks to the decay of the kernel's spectrum: if the eigenvalues of the NTK decay rapidly, the network will favor smooth, simple approximations and be slow to learn high-frequency details.

Methodology

The authors employ two primary theoretical lenses to derive their analytical expressions:

  1. Continuous Approximation (Gaussian Processes): By treating the number of training samples $p$ as a continuous variable, they derive a partial differential equation (PDE) describing how generalization error evolves for individual "spectral modes" (eigenfunctions) of the kernel.
  2. The Replica Method: Borrowing from the statistical physics of disordered systems, the authors use a "saddle-point approximation" to calculate the average generalization error over all possible datasets of a given size.

Crucially, these methods are applied to the Neural Tangent Kernel (NTK). As neural networks become infinitely wide, their training dynamics become equivalent to kernel regression using the NTK, allowing the theory to directly predict the behavior of deep, wide neural networks.

Empirical Validation

The theory was validated using synthetic data sampled from a high-dimensional hypersphere and the MNIST dataset. The derived analytical expressions show near-perfect agreement with numerical simulations for both kernel regression and actual trained neural networks.

Theoretical vs. experimental learning curves for wide neural networks and kernel regression.

In high dimensions, the learning curves exhibit visible "plateaus" or stages. As $p$ increases, the error drops sharply as a new set of degenerate eigenvalues is resolved by the data. The theory accurately predicted the test error of a 3-layer neural network on MNIST images, demonstrating that the spectral principle is a practical reality in common machine learning tasks.

Limitations and Future Work

While the theory holds well for "wide-but-finite" networks, it relies on the NTK regime (infinite width), which does not fully capture "feature learning"—the process where networks change their internal representations during training. Additionally, much of the high-dimensional analysis assumes a uniform distribution on a sphere. Extending this theory to more complex, structured data manifolds and classification tasks with cross-entropy loss remains an open challenge for future research.

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