In the world of classical statistics, we are taught that adding too many parameters to a model leads to overfitting—the dreaded "U-shaped" test error curve. However, modern machine learning has turned this on its head with the discovery of double descent: as model capacity increases beyond the point where it can perfectly fit the training data (the interpolation threshold), the test error often starts decreasing again.
While this phenomenon is well-documented for closed-form solutions like ridge regression, most practical models are trained using Stochastic Gradient Descent (SGD). A recent paper from researchers at EPFL and KU Leuven, titled "On the Double Descent of Random Features Models Trained with SGD," bridges this gap by providing a rigorous theoretical analysis of how SGD-trained models behave in high dimensions.
TL;DR
This paper derives the first precise, non-asymptotic error bounds for Random Features (RF) models trained with SGD, theoretically and empirically confirming the double descent phenomenon. It demonstrates that SGD-trained models can generalize just as effectively as exact minimum-norm solutions, with bias decreasing monotonically and variance exhibiting a characteristic unimodal "peak" at the interpolation threshold.
What Problem Does This Paper Address?
The "double descent" phenomenon is a cornerstone of our modern understanding of generalization in over-parameterized models. However, most existing theoretical justifications rely on the "least-squares closed-form solution"—essentially assuming we can solve the optimization problem perfectly in one go.
In practice, we use iterative methods like SGD. This introduces multiple new sources of randomness: the stochastic choice of data samples, the initialization of weights, and the noise in the labels. Furthermore, many previous theories relied on strict "Gaussian data" assumptions that don't hold for real-world datasets. The authors set out to answer: Does double descent still occur under the optimization dynamics of SGD, and can we prove it for more general data distributions?
Methods
The authors focus on Random Features (RF) regression, a popular proxy for two-layer neural networks where the first layer is fixed and random, and only the output layer is optimized.
To tackle the complexity of SGD, they employ a bias-variance decomposition within a stochastic approximation framework. Their technical "roadmap" (shown in Figure 1) involves disentangling the error into components stemming from data sampling ($X$), initialization ($W$), and label noise ($\epsilon$).
Key technical innovations include:
- Spectral Analysis: They characterize the eigenvalues of the RF covariance matrices without requiring strict spectral decay assumptions.
- Non-Asymptotic Bounds: Unlike previous "asymptotic" works that only look at what happens as $n \to \infty$, this work provides bounds that hold for finite sample sizes.
- General Data Assumptions: The analysis is extended to sub-Gaussian data distributions, making it more applicable to real-world scenarios than previous Gaussian-only theories.
Datasets
The authors validated their theoretical findings using both synthetic and real-world data:
- MNIST: Specifically a binary classification task (digit 3 vs. 7) to study the Mean Squared Error (MSE) as a function of the number of features.
- Synthetic Regression Dataset: Data generated from a normal Gaussian distribution with labels generated via a Laplace kernel to ensure the target function resides in the appropriate Hilbert space.
Key Insights and Ideas
- The Unimodality of Variance: The "peak" in the double descent curve is driven entirely by variance. As the number of features ($m$) approaches the number of samples ($n$), the model becomes extremely sensitive to noise, causing a spike in error. In the over-parameterized regime ($m > n$), this sensitivity actually decreases.
- Monotonic Bias: Unlike variance, the bias of the model decreases steadily as more features are added, regardless of whether you are in the under- or over-parameterized regime.
- SGD as a "Benign" Optimizer: A major finding is that constant step-size SGD incurs no loss in convergence rate compared to the exact minimum-norm interpolator. This provides a strong theoretical justification for using SGD even when an exact solution is computationally feasible.
- Implicit Regularization: The paper sheds light on how the choice of step-size ($\gamma_t$) in SGD acts as an implicit regularizer, helping the model navigate the interpolation threshold.
Key Results
The paper provides explicit rates for the excess risk:
- Bias Bound: Converges at a rate of $O(n^{\zeta-1})$, where $\zeta$ relates to the step-size decay. For constant step-size ($\zeta=0$), this is a fast $O(1/n)$ rate.
- Variance Bound: Shown to be $O(m/n)$ in the under-parameterized regime and $O(1 + n/m)$ in the over-parameterized regime, mathematically capturing the "bump" at $m=n$.
- Empirical Match: Experimental results on MNIST perfectly mirror these theoretical trends, showing the phase transition at the interpolation threshold.
Limitations and Future Work
While a significant step forward, the authors acknowledge a few limitations:
- Shallow Models: The analysis is restricted to Random Features models (effectively shallow, two-layer networks). Extending this to deep, multi-layer architectures remains a "fundamental but difficult problem."
- Single-Pass SGD: For mathematical simplicity, the proofs assume "one-pass" SGD (each sample is used once). In practice, we use multiple epochs, and the optimization effects of multi-pass SGD on double descent are still not fully understood.
- Step-size Selection: While they cover constant and polynomial decay, the interaction with more complex adaptive optimizers (like Adam) is left for future research.
Summary updated