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

Quick Overview

Asks what happens to the coefficients of a regularized linear or logistic model as the penalty strength lambda grows without bound. Tests understanding of ridge and lasso shrinkage, the role of the intercept, and the bias and variance trade-off at extreme regularization.

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

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

A linear or logistic regression model is fit by minimizing a data-fit loss plus $\lambda$ times a penalty on the weights, as in ridge or lasso. What happens to the model coefficients as the regularization parameter $\lambda$ approaches infinity? ```hint Compare the two terms Look at which term of the objective dominates as $\lambda$ grows, and check which parameters the penalty usually leaves out. ``` ### What a Strong Answer Covers - The limit of the penalized coefficients and what the model then predicts - What happens to the intercept, and why - How ridge and lasso differ on the way to that limit - The bias and variance consequences ### Follow-up Questions - What happens as $\lambda$ approaches 0 instead, especially when there are more features than rows? - How would you choose $\lambda$ in practice? - Why should features be standardized before applying an L1 or L2 penalty? - How does the elastic net mixing parameter change the coefficient path?

Overview: Asks what happens to the coefficients of a regularized linear or logistic model as the penalty strength lambda grows without bound. Tests understanding of ridge and lasso shrinkage, the role of the intercept, and the bias and variance trade-off at extreme regularization.

General logo
General
Nov 25, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

A linear or logistic regression model is fit by minimizing a data-fit loss plus λ\lambda times a penalty on the weights, as in ridge or lasso. What happens to the model coefficients as the regularization parameter λ\lambda approaches infinity?

What a Strong Answer Covers Guidance

  • The limit of the penalized coefficients and what the model then predicts
  • What happens to the intercept, and why
  • How ridge and lasso differ on the way to that limit
  • The bias and variance consequences

Follow-up Questions Guidance

  • What happens as λ\lambda approaches 0 instead, especially when there are more features than rows?
  • How would you choose λ\lambda in practice?
  • Why should features be standardized before applying an L1 or L2 penalty?
  • How does the elastic net mixing parameter change the coefficient path?