Why is early stopping in gradient descent approximately equivalent to an L2 penalty for linear models?
Last updated
For a quadratic loss with gradient descent started at zero, each Hessian eigendirection is fitted at a speed proportional to its curvature. Stopping early leaves low-curvature directions shrunk toward zero.
Ridge regression applies a similar filter,
s_i/(s_i+λ), so early stopping acts like ridge with effectiveλ ≈ 1/(ηt). More steps means weaker regularization.The equivalence is approximate: filter shapes differ (exponential vs rational), and it assumes a quadratic loss, zero init and plain gradient descent.