Skip to main content
QUICK REVIEW

[Paper Review] Bias-variance decomposition of overparameterized regression with random linear features

Jason W. Rocks, Pankaj Mehta|arXiv (Cornell University)|Mar 10, 2022
Gaussian Processes and Bayesian InferenceComputer Science42 references6 citations
TL;DR

This paper provides a rigorous bias-variance decomposition for overparameterized linear regression with random linear features using the zero-temperature cavity method. It identifies three distinct regimes separated by three phase transitions, including two to an interpolation regime with zero training error, and shows that variance—not bias—diverges at the interpolation transition, driven by small nonzero eigenvalues in the Hessian matrix via random matrix theory.

ABSTRACT

In classical statistics, the bias-variance trade-off describes how varying a model's complexity (e.g., number of fit parameters) affects its ability to make accurate predictions. According to this trade-off, optimal performance is achieved when a model is expressive enough to capture trends in the data, yet not so complex that it overfits idiosyncratic features of the training data. Recently, it has become clear that this classic understanding of the bias-variance must be fundamentally revisited in light of the incredible predictive performance of "overparameterized models" -- models that avoid overfitting even when the number of fit parameters is large enough to perfectly fit the training data. Here, we present results for one of the simplest examples of an overparameterized model: regression with random linear features (i.e. a two-layer neural network with a linear activation function). Using the zero-temperature cavity method, we derive analytic expressions for the training error, test error, bias, and variance. We show that the linear random features model exhibits three phase transitions: two different transitions to an interpolation regime where the training error is zero, along with an additional transition between regimes with large bias and minimal bias. Using random matrix theory, we show how each transition arises due to small nonzero eigenvalues in the Hessian matrix. Finally, we compare and contrast the phase diagram of the random linear features model to the random nonlinear features model and ordinary regression, highlighting the new phase transitions that result from the use of linear basis functions.

Motivation & Objective

  • To resolve inconsistencies in prior bias-variance decompositions of random features models by using standard textbook definitions.
  • To derive analytic expressions for training error, test error, bias, and variance in the random linear features model.
  • To identify and characterize three distinct regimes and three phase transitions in the model’s generalization behavior.
  • To link phase transitions to the eigenvalue spectrum of the Hessian matrix using random matrix theory.
  • To contrast the linear features model with nonlinear feature models, highlighting the role of linear basis functions in enabling additional phase transitions.

Proposed method

  • Applies the zero-temperature cavity method to analytically compute the generalization error, bias, and variance in the random linear features model.
  • Derives self-consistent equations for scalar susceptibilities to characterize the eigenvalue spectrum of the Hessian matrix.
  • Uses random matrix theory to analyze the spectrum of the Wishart product matrix Z^T Z, linking small nonzero eigenvalues to phase transitions.
  • Defines the fraction of zero eigenvalues via the susceptibility χ, enabling identification of the interpolation regime.
  • Solves a cubic equation for the rescaled susceptibility ν to locate the boundaries of the eigenvalue spectrum and phase transitions.
  • Performs numerical simulations with 1000–150,000 independent trials to validate analytic results, using both Z^T Z and ZZ^T for eigenvalue computation depending on Np and M.

Experimental results

Research questions

  • RQ1How does the bias-variance decomposition behave in the random linear features model under standard definitions, particularly in the overparameterized regime?
  • RQ2What causes the emergence of three distinct regimes and three phase transitions in the model’s generalization error landscape?
  • RQ3Why does the variance diverge at the interpolation transition while the bias remains finite, and how is this behavior linked to the Hessian’s eigenvalue spectrum?
  • RQ4How do linear features lead to an additional phase transition not present in nonlinear feature models, and what role do small nonzero eigenvalues play?
  • RQ5To what extent do the model’s phase transitions and error behavior depend on the relative scaling of data, features, and parameters (M, Nf, Np)?

Key findings

  • The random linear features model exhibits three distinct regimes: an underparameterized regime with finite training error and large bias, a second underparameterized regime with constant minimal bias, and an overparameterized (interpolation) regime with zero training error.
  • Three phase transitions separate these regimes: two transitions to the interpolation regime (each marked by a divergence in test error), and one transition between the large-bias and minimal-bias underparameterized regimes.
  • The variance diverges at the phase transition to the interpolation regime, while the bias remains finite, contradicting earlier studies that reported a bias divergence due to non-standard definitions.
  • Each phase transition arises due to the emergence of small nonzero eigenvalues in the Hessian matrix, which are captured by the susceptibility χ and linked to the spectrum of the Wishart product matrix.
  • The fraction of zero eigenvalues is given by f_zero = max(0, 1 − α_f/α_p, 1 − α_p^−1), which determines the onset of the interpolation regime and depends on the relative scaling of Nf, Np, and M.
  • Linear features introduce an additional interpolation transition not present in nonlinear feature models because nonlinear basis functions implicitly regularize small eigenvalues in the design matrix, a mechanism absent in the linear case.

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.