Surprises in high-dimensional ridgeless least squares interpolation

Trevor Hastie, Andrea Montanari, Saharon Rosset, Ryan J. Tibshirani

TL;DR

This paper investigates "ridgeless" interpolation in high-dimensional linear regression, where the number of features ($p$) is comparable to or larger than the number of samples ($n$). The authors show that in this regime, interpolation can lead to surprisingly good generalization, and they quantitatively explain phenomena like "double descent" and the benefits of overparameterization, bridging the gap between simple linear models and complex neural networks.

What Problem Does This Paper Address?

The success of modern deep learning models, which often operate in a highly overparameterized regime (more parameters than data points) and achieve zero training error (interpolation), has puzzled researchers. Traditionally, interpolation is associated with overfitting and poor generalization. This paper tackles this puzzle by studying minimum $l_2$ norm ("ridgeless") interpolation in high-dimensional least squares regression. The goal is to understand how interpolation, particularly in the overparameterized setting ($p > n$), can lead to good out-of-sample prediction performance, a phenomenon observed in complex models like neural networks and kernel machines. They aim to provide a theoretical framework to explain these "surprises" in high-dimensional settings.

Methods

The core of the paper involves analyzing the prediction risk (out-of-sample error) of the minimum $l_2$ norm least squares estimator. They employ tools from random matrix theory to derive precise, non-asymptotic approximations of this risk. The analysis is conducted under two main models for feature distributions:

  1. Linear Model: Feature vectors $x_i \in \mathbb{R}^p$ are generated as $x_i = \Sigma^{1/2}z_i$, where $z_i$ are i.i.d. random vectors and $\Sigma$ is a covariance matrix. This allows for studying various covariance structures (isotropic and anisotropic).
  2. Nonlinear Model: Feature vectors are generated by passing i.i.d. inputs $z_i$ through a random one-layer neural network: $x_i = \phi(Wz_i)$, where $\phi$ is a componentwise activation function and $W$ is a random weight matrix. This model aims to connect their findings to actual neural network architectures.

They analyze the risk in both the underparameterized ($p < n$) and overparameterized ($p > n$) regimes, with a particular focus on the latter. They also compare the ridgeless interpolator to ridge regression (which adds an $l_2$ penalty) and study the effect of misspecification.

Datasets

Not discussed in the paper. The paper focuses on synthetic data generated according to specified statistical models.

Key Insights and Ideas

  • Interpolation Can Generalize: Contrary to classical intuition, achieving zero training error (interpolation) in high-dimensional linear regression, especially in the overparameterized regime, does not necessarily imply poor generalization. In fact, it can lead to good prediction performance.
  • Double Descent Explained: The paper provides a quantitative explanation for the "double descent" phenomenon, where prediction risk initially decreases, then increases around the interpolation threshold, and then decreases again in the overparameterized regime. This is linked to the interplay between bias and variance.
  • Benefits of Overparameterization: The study reveals that overparameterization can be beneficial, leading to lower prediction risk than in the underparameterized regime, particularly when the model is misspecified or the features have specific structures.
  • Universality in Nonlinear Models: The nonlinear model analysis suggests that the behavior of complex neural networks, under certain "lazy training" conditions, can be approximated by simpler linear models, highlighting a form of universality.
  • Geometry Matters: The relationship between the true coefficient vector ($\beta$) and the covariance structure of the features ($\Sigma$) plays a crucial role in determining the prediction risk, especially in the overparameterized regime.

Key Results

  • Quantitative Risk Formulas: The paper derives precise, non-asymptotic formulas for the bias and variance of the minimum $l_2$ norm estimator in various linear and nonlinear settings.
  • Asymptotic Behavior: They characterize the asymptotic risk as the overparameterization ratio $\gamma = p/n$ varies. For isotropic features, the risk can attain its global minimum in the overparameterized regime ($y > 1$) when the model is misspecified.
  • Latent Space Model Behavior: In a latent space model where $\beta$ is aligned with the top eigenvectors of $\Sigma$, the risk is shown to be monotonically decreasing in the overparameterized regime and reaches its global minimum as $\gamma \to \infty$. This behavior is observed in neural networks.
  • Nonlinear Model Equivalence: For a purely nonlinear activation function, the asymptotic risk of the min-norm estimator in the nonlinear model matches that of the isotropic linear model, supporting the universality hypothesis.
  • Ridge vs. Interpolation: Optimally tuned ridge regression consistently outperforms the min-norm interpolator, but the paper shows that in certain settings (like the latent space model), the optimal regularization parameter tends to zero, making the interpolator nearly optimal.

Limitations and Future Work

  • "Lazy Training" Assumption: The connection to neural networks is primarily established under a "lazy training" assumption, where network weights change little. The behavior of networks where features are learned simultaneously is a more complex, open problem.
  • Technical Novelty: While the isotropic feature case is relatively straightforward, the analysis for general covariance structures and coefficients is technically novel and challenging.
  • Future Directions: The authors suggest that their findings have implications for understanding overparameterized models and the benefits of feature generation. Further work could explore the impact of learning the feature representation itself, which is not addressed in this paper. The paper also mentions that their non-asymptotic approach provides more concrete and accurate statements than previous asymptotic results.

Summary updated

BibTeX
@article{hastie2022surprises,
  author = {Trevor Hastie and Andrea Montanari and Saharon Rosset and Ryan J. Tibshirani},
  title = {{Surprises in high-dimensional ridgeless least squares interpolation}},
  journal = {The Annals of Statistics},
  year = {2022},
  doi = {10.1214/21-aos2133},
}
Figure