Abstract
Cross-validation ($K$-CV) is a fundamental tool for hyperparameter tuning and model selection, yet it often suffers from high variance, particularly in high-dimensional settings. This research establishes a general theoretical upper bound for $K$-CV errors based on Rademacher complexity and Orlicz-$\Psi_\nu$ norms. The proposed bound accounts for both model complexity and error distribution tails, extending its utility to both light-tailed and heavy-tailed data, as well as dependent ($\beta$-mixing) processes. Applied to the Lasso, the minimizer of this upper bound ($\lambda_{CUB}$) provides a more stable and sparse model selection criterion than traditional CV minimization. Simulations demonstrate that these bounds are tight and significantly reduce the variance of selected variables while maintaining predictive accuracy.
Introduction
Cross-validation is the standard method for estimating out-of-sample performance and tuning hyperparameters. However, practitioners frequently encounter the "noise" of $K$-CV: in high-dimensional settings where the number of features $p$ is large relative to observations $n$, the model that minimizes CV error on one data split may differ significantly from the model selected on another.
This instability is driven by two primary factors. First, autocorrelation occurs because different training sets in $K$-CV share a large proportion of data points, leading to correlated errors. Second, there is a high overfitting risk; models can easily "chase noise," resulting in a CV error that fails to reflect worst-case performance. This paper proposes shifting the focus from the average prediction error to a probabilistic upper bound that accounts for model complexity and variability.
Theoretical Framework
The authors derive a "90% upper bound" for the CV error using several key mathematical components:
- Rademacher Complexity: This metric quantifies a model class's ability to fit random noise. A high Rademacher complexity indicates a higher risk of overfitting, which the upper bound penalizes.
- Orlicz-$\Psi_\nu$ Norms: Unlike standard approaches that assume Gaussian (light-tailed) noise, these norms allow the bound to remain valid for heavy-tailed distributions, making the theory applicable to a broader range of real-world datasets.
- Independent Blocking: To address non-i.i.d. data, such as time series, the authors utilize independent blocking to group dependent data into blocks that behave as if they were independent. This extends the bound's validity to $\beta$-mixing processes.
To facilitate the application of these theories, the authors developed CVbound, a Python package designed to compute these upper bounds within $K$-CV-based algorithms.
Application to the Lasso
The Lasso is a natural candidate for this framework. Traditionally, the penalty parameter $\lambda$ is chosen to minimize the raw CV error ($\lambda_{CV}$). The authors propose a new criterion: $\lambda_{CUB}$, the parameter that minimizes the Confidence Upper Bound.
In simulations with $p=100$ variables and varying sample sizes ($n=100, 200, 400$), the $\lambda_{CUB}$ criterion demonstrated a more pronounced and stable "U-shape" curve compared to the relatively flat and noisy CV error curve. This stability makes identifying a reliable minimum significantly easier across different random seeds.
Key Results and Insights
The quantitative improvements over standard $K$-CV are notable in three areas:
- Variance Reduction: The stability of model selection improved drastically. For instance, at $n/K = 200$, the variance of the number of selected variables was $1.28$ for the upper bound method, compared to $2.54$ for standard CV.
- Improved Sparsity: The $\lambda_{CUB}$ method consistently produced sparser models by selecting fewer redundant variables. At $n/K = 100$, it selected an average of $8.12$ variables versus $9.01$ for standard CV, while still successfully retaining all relevant "true" variables from the simulation.
- Bound Tightness: The derived bounds were shown to be "tight," meaning they sat just above the empirical 90th percentile of the test error. This provides a realistic "worst-case" estimate rather than a loose, overly conservative theoretical value.
Limitations and Future Work
While the framework is robust, the authors note specific requirements for its application. The analysis for dependent data requires the error process to have a finite Lebesgue 2-norm, which may not hold for extreme outliers. Additionally, the independent blocking technique requires a well-defined "envelope function" for random variables, which can be complex to specify in certain environments. Finally, calculating Rademacher complexity is more computationally intensive than simple cross-validation, though the CVbound package aims to mitigate this hurdle.
Conclusion
By moving beyond the mean error and incorporating a mathematically rigorous upper bound, this research provides a path toward more predictable and stable high-dimensional modeling. The $\lambda_{CUB}$ criterion allows researchers to achieve sparsity without sacrificing the retention of relevant variables, effectively stabilizing the often-volatile process of model selection.
Summary updated