What happens to the model coefficients as the regularization parameter lambda approaches infinity?

Last updated 3 November 2026

As λ → ∞, the penalty dominates the data-fit term, so all penalized coefficients are driven to zero. The model reduces to the intercept alone, which predicts the mean of the target for regression or the base rate for classification.

  • Ridge (L2): Coefficients shrink smoothly toward zero but are never exactly zero for any finite λ: w = (XᵀX + λI)⁻¹Xᵀy → 0.

  • Lasso (L1):

    • Coefficients hit exactly zero one by one as λ grows.

    • There is a finite threshold, λ_max = max|xⱼᵀy|/n (for centered data), above which every coefficient is zero.

  • Elastic Net combines both behaviors: some coefficients are set exactly to zero, and all of them shrink.

  • Bias-variance consequence: Variance goes to zero (the predictions no longer depend on the training sample), while bias is maximal. This is extreme underfitting.

  • The intercept is usually unpenalized, so it stays at the mean of y rather than going to zero.

  • https://mcpanalytics.ai/articles/ridge-regression-practical-guide-for-data-driven-decisions
  • https://pub.towardsai.net/counter-overfitting-with-l1-and-l2-regularization-f55ecc937300
  • https://medium.com/kaggle-nyc/linear-model-selection-and-regularization-islr-series-chapter-6-61976fbd9723
All Regularization interview questions