Why does lasso pick arbitrarily among highly correlated predictors?

Last updated 3 November 2026

  • The L1 penalty is not strictly convex, so it is indifferent to how weight is split among near-duplicate features. It prefers putting all weight on one feature.

  • Which feature wins depends on tiny sample-noise differences or solver details (feature order, warm starts). Selection therefore flips across resamples.

  • Ridge's strictly convex L2 penalty spreads weight evenly across correlated features. Elastic net adds an L2 term so correlated groups are selected together.

  • https://medium.com/@amitmaurya5033/ridge-lasso-regression-30-interview-questions-with-follow-ups-8a13d23e0ce2
  • https://blog.stackademic.com/top-20-regularization-interview-questions-and-answers-4e0639957713
  • https://www.geeksforgeeks.org/machine-learning/what-is-lasso-regression/
All Regularization interview questions