Skip to main content
QUICK REVIEW

[Paper Review] Model, sample, and epoch-wise descents: exact solution of gradient flow in the random feature model

Antoine Bodin, Nicolas Macris|arXiv (Cornell University)|Oct 22, 2021
Stochastic Gradient Optimization TechniquesComputer Science6 citations
TL;DR

This paper provides the first exact analytical solution for the full time evolution of training and generalization errors in the random feature model under gradient flow, using complex integral representations and random matrix theory. It reveals that double and triple descents emerge dynamically over time, with early stopping beneficial in certain regimes, and identifies two distinct epoch-wise descent structures in overparameterized settings.

ABSTRACT

Recent evidence has shown the existence of a so-called double-descent and even triple-descent behavior for the generalization error of deep-learning models. This important phenomenon commonly appears in implemented neural network architectures, and also seems to emerge in epoch-wise curves during the training process. A recent line of research has highlighted that random matrix tools can be used to obtain precise analytical asymptotics of the generalization (and training) errors of the random feature model. In this contribution, we analyze the whole temporal behavior of the generalization and training errors under gradient flow for the random feature model. We show that in the asymptotic limit of large system size the full time-evolution path of both errors can be calculated analytically. This allows us to observe how the double and triple descents develop over time, if and when early stopping is an option, and also observe time-wise descent structures. Our techniques are based on Cauchy complex integral representations of the errors together with recent random matrix methods based on linear pencils.

Motivation & Objective

  • To analytically characterize the full time evolution of training and generalization errors in the random feature model under gradient flow.
  • To understand the emergence of double and triple descent phenomena not only in model/sample size but also over training time (epoch-wise).
  • To determine whether early stopping can improve generalization by identifying optimal stopping times.
  • To classify and explain distinct epoch-wise descent structures in overparameterized regimes.
  • To validate the analytical framework against numerical simulations in high-dimensional limits.

Proposed method

  • Derives exact expressions for training and generalization errors using Cauchy complex integral representations.
  • Applies recent random matrix methods based on linear pencils to compute spectral densities and Stieltjes transforms.
  • Expresses time-evolving errors as one- and two-dimensional integrals over spectral densities governed by algebraic equations.
  • Uses asymptotic limits with $ n,d,N \to \infty $, $ N/d \to \psi $, $ n/d \to \phi $, ensuring analytical tractability.
  • Solves for the dynamics of the error curves via closed-form algebraic equations for Stieltjes transforms of the spectral measures.
  • Validates analytical predictions against numerical simulations across varying activation functions and parameter regimes.

Experimental results

Research questions

  • RQ1How do double and triple descent phenomena evolve dynamically over training time in the random feature model?
  • RQ2At what time do model-wise and sample-wise double descents emerge, and are they preceded by a minimum in generalization error?
  • RQ3Can early stopping be analytically justified as a strategy to improve generalization in specific parameter regimes?
  • RQ4What are the distinct epoch-wise descent structures observed during training, and how do they depend on model hyperparameters?
  • RQ5How do different activation functions affect the shape and visibility of epoch-wise descent patterns?

Key findings

  • Double and triple descents in generalization error emerge only after a finite time post-interpolation threshold, with a preceding dip indicating potential benefit from early stopping.
  • The model exhibits two distinct epoch-wise descent structures: a two-plateau monotonous descent in the overparameterized regime and a more complex structure with a secondary descent in the training error when $ \lambda $ is large.
  • The time scale of the first plateau is controlled by the $ \lambda $ parameter, and rescaling $ \lambda $ can stabilize the interpolation threshold time scale across different regimes.
  • When the second-layer noise $ r = 0 $, the second plateau in test error vanishes, suggesting that noise plays a key role in shaping the descent structure.
  • Large $ \lambda $ suppresses the double descent in test error and introduces a two-stage decrease in training error, consistent with regularization effects.
  • The analytical predictions match numerical simulations closely, even for moderate $ d $, confirming the validity of the gradient flow approximation in high-dimensional limits.

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.