The Double Descent Puzzle
You are training a linear regression model with parameters on training points, using ordinary least squares (OLS). Assume the features are in "general position" (no perfect multicollinearity).
(a) What happens to the training error as increases from to ? What happens at ? What about ?
(b) Classical statistical wisdom says: "more parameters → more overfitting → worse test error." Yet modern deep learning routinely uses models with and achieves excellent test performance. How can this be reconciled?
In particular: in the overparameterized regime , there are infinitely many zero-training-error solutions. Which one does gradient descent (or the pseudoinverse) select, and why does that choice matter for generalization?
Answer: The Double Descent Puzzle
Key Idea / Intuition
When , OLS has a unique solution and training error decreases as grows (more flexibility). At , the model interpolates the data perfectly — training error hits zero. For there are infinitely many interpolating solutions; gradient descent initialized at zero (equivalently, the Moore–Penrose pseudoinverse) picks the minimum -norm solution. This implicit bias toward small-norm solutions acts like an implicit regularizer, and for well-structured problems this can generalize surprisingly well — the heart of the double descent phenomenon.
Formal Proof / Solution
Part (a): Training Error as a Function of
Let be the design matrix and the response.
Under-parameterized regime :
OLS minimizes . The unique solution is (assuming full column rank), and the fitted values are where is the hat matrix projecting onto the column space of . Training error is:
As increases, the column space of grows, captures more of , and training error monotonically decreases.
Interpolation threshold :
When and is square and invertible, , so exactly. Training error = 0.
Over-parameterized regime :
There are infinitely many satisfying (the system is underdetermined). Any such solution achieves training error = 0. The solution family is an affine subspace of dimension .
Part (b): Which Solution Does Gradient Descent Pick?
Among all interpolating solutions, gradient descent initialized at converges to the one with minimum Euclidean norm: where is the Moore–Penrose pseudoinverse. This is because gradient descent on the squared loss stays in the row space of (it only moves in directions spanned by the gradient, which lives in ), and the minimum-norm interpolant is exactly the projection of onto the solution affine subspace — which lies in .
Why does minimum norm help generalization?
Suppose the true signal is . The test error of any interpolating decomposes as:
The minimum-norm solution distributes the fit across many small coefficients rather than placing it on a few large ones. In high-dimensional settings where is itself small or sparse in some sense, this implicit regularization behaves like ridge regression with a data-dependent effective regularization strength.
Concretely, the bias–variance tradeoff for the minimum-norm estimator in the regime is:
Near , the singular values of near zero get inverted by the pseudoinverse, causing noise amplification to blow up — this is the interpolation peak (the right hump of double descent). As , the many small singular values each contribute little individually, and the total noise term can decrease again.
The Double Descent Picture
- Classical regime (): bias dominates, more parameters reduce bias faster than variance grows.
- Interpolation peak (n\hat\betaX^\top X$).
- Modern regime (): minimum-norm interpolation re-emerges as a gentle implicit regularizer; test error descends again.
This explains why overparameterized neural networks — which also find low-norm (or otherwise "simple") solutions via gradient descent from near-zero initialization — can generalize well even with zero training error.
Reference: ESL Chapter 7 (Bias–Variance tradeoff) provides the classical picture; the double descent phenomenon is discussed in the context of modern ML (Hastie et al., Surprises in High-Dimensional Ridgeless Least Squares Interpolation, 2022).
Written to: questions/2025-07-18_AM_double_descent_puzzle.md
Source: The Elements of Statistical Learning, Ch. 7; Hastie et al. 2022