NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On cross-validated Lasso in high dimensions

Denis Chetverikov, Zhipeng Liao, Victor ChernozhukovThe Annals of Statistics 2021 · DOI

Abstract

In this paper, we derive non-asymptotic error bounds for the Lasso estimator when the penalty parameter for the estimator is chosen using $K$-fold cross-validation. Our bounds imply that the cross-validated Lasso estimator has nearly optimal rates of convergence in the prediction, $L^2$, and $L^1$ norms. For example, we show that in the model with the Gaussian noise and under fairly general assumptions on the candidate set of values of the penalty parameter, the estimation error of the cross-validated Lasso estimator converges to zero in the prediction norm with the $\sqrt{s\log p / n}\times \sqrt{\log(p n)}$ rate, where $n$ is the sample size of available data, $p$ is the number of covariates, and $s$ is the number of non-zero coefficients in the model. Thus, the cross-validated Lasso estimator achieves the fastest possible rate of convergence in the prediction norm up to a small logarithmic factor $\sqrt{\log(p n)}$, and similar conclusions apply for the convergence rate both in $L^2$ and in $L^1$ norms. Importantly, our results cover the case when $p$ is (potentially much) larger than $n$ and also allow for the case of non-Gaussian noise. Our paper therefore serves as a justification for the widely spread practice of using cross-validation as a method to choose the penalty parameter for the Lasso estimator.

Introduction

The Lasso (Least Absolute Shrinkage and Selection Operator) is a cornerstone of high-dimensional statistics, widely used to find sparse solutions in linear regression where the number of variables $p$ may far exceed the number of observations $n$. However, the performance of the Lasso depends critically on the choice of the penalty parameter $\lambda$. While $K$-fold cross-validation (CV) is the industry standard for tuning $\lambda$, its theoretical properties in high-dimensional settings have long remained a mystery.

Standard theoretical results usually require $\lambda$ to be "large enough" to suppress noise—specifically, larger than the maximum correlation between the noise and the covariates. In practice, however, researchers almost always use $K$-fold cross-validation to pick $\lambda$, and empirical evidence shows that CV often chooses a $\lambda$ that is much smaller than what theory suggests is "safe." This paper provides the first rigorous non-asymptotic error bounds for CV-Lasso, proving that it achieves nearly minimax optimal convergence rates even in these challenging regimes.

Methodology and Theoretical Framework

To bridge the gap between practice and theory, the authors derive non-asymptotic error bounds for the Lasso estimator where $\lambda$ is chosen via $K$-fold cross-validation. They employ several sophisticated mathematical tools to achieve this:

  • Novel Sparsity Bounds: They develop new bounds to prove that even when CV picks a small $\lambda$, the resulting Lasso estimator remains relatively sparse. This is a crucial "building block" for the rest of their proofs.
  • The Two-Point Inequality: A technical tool used to bound the prediction error by comparing the CV-selected estimator to a convex combination of estimators trained on different data folds.
  • Smooth Noise Transformation: To handle non-Gaussian noise, they assume the noise is a smooth transformation of a Gaussian variable. This allows them to extend the "degrees of freedom" formula—originally derived from Stein’s Identity for Gaussians—to a much broader class of distributions.

Beyond Gaussianity: Flexible Noise Assumptions

A striking insight of this work is that CV-Lasso is robust precisely because the estimator doesn't "explode" when $\lambda$ is small. By requiring the noise distribution to be "smooth" rather than strictly Gaussian or sub-Gaussian, the results apply to a much wider variety of real-world data scenarios.

Probability density functions of noise distributions Q1, Q2, and Q3 considered in the theoretical framework.

As illustrated in the figure above, the theoretical framework accommodates various noise structures, including bimodal distributions ($Q_3$). This flexibility ensures that the nearly optimal rates—specifically the $\sqrt{\frac{s \log p}{n}} \times \sqrt{\log(pn)}$ prediction error rate—hold under diverse empirical conditions.

Empirical Validation

The paper validates these theoretical findings using extensive Monte Carlo simulations across two Data Generating Processes (DGPs): Gaussian noise (DGP1) and non-Gaussian/Uniform noise (DGP2). Testing various sample sizes ($n=100, 400$) and covariate counts ($p=40, 100, 400$), the results showed:

  1. Theoretical Consistency: CV-Lasso is proven to be consistent in high dimensions, achieving the fastest possible rate of convergence up to a small logarithmic factor.
  2. Empirical Superiority: In simulations, CV-Lasso frequently outperformed Lasso estimators using theoretically "optimal" plug-in rules (like those proposed by Belloni et al. or Sun & Zhang).
  3. Probability of Success: The ratio of the maximum "score" to the CV-selected $\lambda$ was found to be above 0.5 with very high probability (often >99%), confirming that CV consistently operates in the regime where traditional Lasso theory was previously silent.

Conclusion and Limitations

This research serves as a vital justification for the widespread practice of using cross-validation for Lasso. It proves that CV-Lasso is not just a heuristic that works in practice, but a theoretically sound method with nearly optimal convergence properties.

However, some limitations remain. The proofs assume that the number of folds $K$ is fixed and does not grow with the sample size $n$, meaning the results do not technically cover "leave-one-out" cross-validation. Additionally, the results rely on the underlying model being truly sparse ($s \ll n$). Future research may explore relaxing the noise smoothness assumptions further or extending these findings to other regularized estimators like the Elastic Net or Group Lasso.

Summary updated

BibTeX
@article{chetverikov2021cross,
  author = {Denis Chetverikov and Zhipeng Liao and Victor Chernozhukov},
  title = {{On cross-validated Lasso in high dimensions}},
  journal = {The Annals of Statistics},
  year = {2021},
  doi = {10.1214/20-aos2000},
}
Figure