How does L1 regularization behave when the number of features is much larger than the number of samples?
Last updated
When p ≫ n, lasso stays well-posed where OLS (ordinary least squares) has infinitely many perfect fits: it picks a sparse solution, but selects at most n features.
Among correlated features it picks one somewhat arbitrarily, so the selected set is fragile across resamples. True support recovery needs roughly n ≳ s·log(p), low correlation between irrelevant and relevant features, and large enough true coefficients.
Common fixes: elastic net (removes the n-feature limit and groups correlated features), stability selection, and adaptive or relaxed lasso (reduce shrinkage bias).
- https://medium.com/data-science/bias-variance-and-regularization-in-linear-regression-lasso-ridge-and-elastic-net-8bf81991d0c5
- https://kawsar34.medium.com/top-20-regularization-interview-questions-and-answers-4e0639957713
- https://medium.com/@coder_cat/nail-your-data-science-interview-day-4-regularization-techniques-7dae7cc71279