For a quadratic loss with symmetric positive definite Hessian (whose largest eigenvalue is ), started at with gradient descent step size , how do you show that stopping after iterations acts approximately like L2 regularisation with penalty ?
Deep learning, Regularisation
Level L4 Advanced. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can carry out Goodfellow’s eigendecomposition comparison between finite-time gradient descent and ridge regression.
Key idea
Diagonalising decouples each eigen-coordinate : after steps of GD from , , whereas L2 regularisation with penalty gives . Both suppress directions with small curvature and match closely when .
Steps
- Write the GD update: , so . Starting from , induction gives .
- Rotate to the eigenbasis of : let with orthogonal and eigenvalues , and write . Along coordinate , .
- Compare with L2 regularisation: minimising solves , so in the eigenbasis .
- Match the two shrinkage factors using . For low curvature, , early stopping keeps the fraction of , and L2 keeps , which are equal when . For high curvature, , both factors are close to .
Common mistakes
- Forgetting that matters; if , early stopping shrinks towards rather than towards .
- Forgetting the stability condition (or ), without which can oscillate or diverge.
- Claiming the equivalence is exact for every ; it is an approximate correspondence ( vs ) that matches the qualitative cut-off scale .
How long your answer should be
About one page; 6–8 minutes.
Last checked on 4 December 2026.
Read this
Previous in Deep learning: Why is standard test-time weight scaling in dropout only an exact ensemble average for a single linear layer, and how does Monte Carlo (MC) dropout use dropout at inference time to estimate predictive uncertainty?
Next in Deep learning: Taking , how do you prove that batch normalisation makes a layer’s output invariant to positive scalar rescaling of its weights, for any , and what does this imply for the weight gradient and the effective learning rate during SGD?