Theoretical Analysis of Leave-one-out Cross Validation for Non-differentiable Penalties under High-dimensional Settings

Haolin Zou, Arnab Auddy, Kamiar Rahnama Rad, Arian Maleki · DOI

Abstract

Despite a large and significant body of recent work focused on estimating the out-of-sample risk of regularized models in the high dimensional regime, a theoretical understanding of this problem for non-differentiable penalties such as generalized LASSO and nuclear norm is missing. In this paper we resolve this challenge. We study this problem in the proportional high dimensional regime where both the sample size $n$ and number of features $p$ are large, and $n/p$ and the signal-to-noise ratio (per observation) remain finite. We provide finite sample upper bounds on the expected squared error of leave-one-out cross-validation (LO) in estimating the out-of-sample risk. The theoretical framework presented here provides a solid foundation for elucidating empirical findings that show the accuracy of LO.

Introduction

In modern machine learning and statistics, we frequently operate in the "high-dimensional" regime, where the number of features ($p$) is comparable to or exceeds the number of observations ($n$). To ensure model generalizability and prevent overfitting in these settings, practitioners rely on regularized empirical risk minimization (R-ERM). Common examples include the LASSO for sparsity or nuclear norm regularization for low-rank matrix estimation.

A critical component of this workflow is estimating the out-of-sample (OO) risk—the expected performance of a model on unseen data. While Leave-One-Out (LO) cross-validation is often considered the gold standard for risk estimation, its theoretical properties in high dimensions have historically been limited to "smooth," differentiable penalties. This paper bridges that gap by providing the first rigorous theoretical guarantees for LO accuracy when applied to non-differentiable penalties.

The Challenge of Non-Differentiability

The primary obstacle in analyzing models like LASSO or the Fused LASSO is the non-differentiability of the $\ell_1$ norm. The "pointiness" of these penalties at the origin breaks standard calculus-based proofs and Taylor expansion techniques typically used to bound estimation error. In high-dimensional settings, where $n, p \to \infty$ while the ratio $n/p$ remains constant, the stability of the estimator becomes harder to track.

This research addresses whether the lack of a derivative destroys the reliability of LO. The authors prove that LO remains a consistent and sharp estimator of OO risk even when the geometry of the optimization problem is non-smooth.

Methodology

To overcome the hurdle of non-differentiability, the authors introduce two primary technical innovations within the proportional high-dimensional regime:

  1. Smoothing via Gaussian Convolution: The authors approximate non-smooth regularizers (e.g., the absolute value function in LASSO) using smooth surrogates. By applying Gaussian convolution, they create a differentiable version of the problem and prove that as the smoothing parameter is refined, the surrogate model's behavior converges to the original non-smooth model.
  2. Projection and Proximal Operators: To handle constraints and non-smoothness directly, the study utilizes proximal operators and metric projections. This allows the model's solution to be represented as a fixed-point equation, which is more amenable to high-dimensional analysis than direct optimization of a non-differentiable objective.

The proof structure involves decomposing the error into two variance components ($V_1$ and $V_2$) and employing the Rosenthal inequality to bound the moments of these random variables, ensuring the error remains controlled as the system scales.

Key Theoretical Results

The paper establishes several landmark results for high-dimensional risk estimation:

  • Finite-Sample Upper Bound (Theorem 2.1): The authors provide a sharp upper bound on the expected squared error of the LO estimator: $E(LO - OO)^2 \leq \frac{C_v}{n}$. This $O(1/n)$ rate matches the classical low-dimensional convergence rate, suggesting that high dimensionality does not inherently degrade the convergence rate of risk estimation, provided the signal-to-noise ratio remains bounded.
  • Consistency: A direct consequence of this bound is that LO is a consistent estimator of out-of-sample risk. As the sample size grows, the LO estimate converges in probability to the true risk.
  • Broad Applicability: The framework is not limited to LASSO; it applies to a wide array of non-differentiable penalties, including Generalized LASSO, Fused LASSO, Nuclear Norm, and Schatten norms.

Practical Insights

  • The Role of the Ridge Component: The theory requires a strictly positive "ridge" (squared $\ell_2$) component (Assumption A4). This ensures the optimization problem is strongly convex, providing the mathematical stability needed to prove the bounds. This finding provides theoretical support for the Elastic Net, which combines $\ell_1$ and $\ell_2$ penalties.
  • Validation Across Models: While the work is theoretical, the authors demonstrate that their assumptions hold for standard data-generating mechanisms in Linear, Logistic, and Poisson regression.

Limitations and Future Work

While this work provides a solid foundation, several avenues for extension remain:

  • Gaussianity: The current proofs assume features are Gaussian ($x_i \sim N(0, \Sigma)$). While the authors anticipate these results can be relaxed to sub-Gaussian distributions, the formal proof for more general distributions is left for future research.
  • Pure LASSO: Because the theory requires a strictly positive ridge parameter ($\eta > 0$), it does not strictly cover "pure" LASSO without any $\ell_2$ regularization, though $\eta$ can be arbitrarily small.
  • Computational Efficiency: LO is computationally expensive ($n$ separate optimizations). The authors suggest that their theory provides the necessary accuracy guarantees for computationally efficient approximations, such as Approximate Leave-One-Out (ALO).

Conclusion

This paper resolves a significant challenge in high-dimensional statistics by proving that Leave-One-Out cross-validation is a robust and consistent tool for non-differentiable regularized models. By establishing an $O(1/n)$ convergence rate, the authors provide the mathematical justification for using LO and its approximations in modern, high-dimensional machine learning workflows.

Summary updated

BibTeX
@inproceedings{zou2025theoretical,
  author = {Haolin Zou and Arnab Auddy and Kamiar Rahnama Rad and Arian Maleki},
  title = {{Theoretical Analysis of Leave-one-out Cross Validation for Non-differentiable Penalties under High-dimensional Settings}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=ZVVIodisBN},
}
Figure