[Paper Review] On the Peaking Phenomenon of the Lasso in Model Selection
This paper identifies a spurious performance peak in the Lasso model selection at the n/p = 1 ratio due to flawed penalty parameterization in the lars R package. It proposes a normalized Lasso penalty using cross-validation least-squares norms to eliminate the peak, significantly improving test error stability across observation-to-variable ratios.
I briefly report on some unexpected results that I obtained when optimizing the model parameters of the Lasso. In simulations with varying observations-to-variables ratio n=p, I typically observe a strong peak in the test error curve at the transition point n/p = 1. This peaking phenomenon is well-documented in scenarios that involve the inversion of the sample covariance matrix, and as I illustrate in this note, it is also the source of the peak for the Lasso. The key problem is the parametrization of the Lasso penalty (as e.g. in the current R package lars) and I present a solution in terms of a normalized Lasso parameter.
Motivation & Objective
- To investigate the cause of unexpected performance degradation in the Lasso at the n/p = 1 transition point.
- To identify that the root cause lies in the parametrization of the Lasso penalty using the ratio of ℓ₁-norms between Lasso and OLS estimates.
- To demonstrate that this flawed parametrization leads to inconsistent cross-validation results when n_cv = p.
- To propose a normalization technique for the penalty parameter that stabilizes model selection across varying n/p ratios.
- To validate the solution through simulations showing reduced test error and more consistent penalty selection.
Proposed method
- Uses synthetic data with p = 90 variables, 20 non-zero coefficients, and signal-to-noise ratio = 4, generating n = 10 to 200 observations.
- Employs 10-fold cross-validation via the cv.lars function in R to select the Lasso penalty parameter s = ||β_lasso||₁ / ||β_ols||₁.
- Introduces a normalized penalty parameter ŝ = (ℓ₁,ols_cv / ℓ₁,ols) × s_cv to correct for bias in s_cv when n_cv ≈ p.
- Compares standard lars-based Lasso with the normalized version (mylars) in terms of test error and penalty selection.
- Analyzes the behavior of ℓ₁-norms of OLS and Lasso estimates across different n and n_cv, linking instability to the Moore-Penrose inverse in high-dimensional settings.
- Validates the normalization by re-running simulations and comparing test error and penalty curves between original and normalized methods.
Experimental results
Research questions
- RQ1Why does the Lasso exhibit a pronounced peak in test error at the n/p = 1 ratio despite increasing n/p generally improving performance?
- RQ2How does the current parametrization of the Lasso penalty in the lars R package contribute to this peaking phenomenon?
- RQ3What role does the least-squares estimate's instability play in cross-validation when n_cv = p?
- RQ4Can normalizing the penalty parameter using cross-validation-based OLS norms mitigate the peaking effect?
- RQ5Does the proposed normalization lead to more stable and accurate model selection across varying n/p ratios?
Key findings
- A significant peak in test error occurs at n/p = 1 due to the parametrization of the Lasso penalty in terms of the ratio of ℓ₁-norms of Lasso and OLS estimates.
- The peak arises because the OLS estimate's ℓ₁-norm becomes extremely small when n_cv = p, causing the penalty parameter s to be drastically underestimated in cross-validation.
- The normalized penalty parameter ŝ, defined as ŝ = (ℓ₁,ols_cv / ℓ₁,ols) × s_cv, effectively corrects this bias and eliminates the test error peak.
- The normalized Lasso shows a monotonic decrease in test error with increasing n/p, consistent with theoretical expectations.
- The peak in penalty parameter s occurs not exactly at n = p, but when n_cv = p in cross-validation folds, confirming the role of OLS instability in model selection.
- The proposed normalization is computationally efficient and can be directly applied to existing lars-based implementations without re-estimating coefficients.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.