English

The Structure of Cross-Validation Error: Stability, Covariance, and Minimax Limits

Statistics Theory 2026-01-09 v2 Machine Learning Statistics Theory

Abstract

Despite ongoing theoretical research on cross-validation (CV), many theoretical questions remain widely open. This motivates our investigation into how properties of algorithm-distribution pairs can affect the choice for the number of folds in kk-fold CV. Our results consist of a novel decomposition of the mean-squared error of cross-validation for risk estimation, which explicitly captures the correlations of error estimates across overlapping folds and includes a novel algorithmic stability notion, squared loss stability, that is considerably weaker than the typically required hypothesis stability in other comparable works. Furthermore, we prove: 1. For any learning algorithm that minimizes empirical risk, the mean-squared error of the kk-fold cross-validation estimator L^CV(k)\widehat{L}_{\mathrm{CV}}^{(k)} of the population risk LDL_{D} satisfies the following minimax lower bound: minknmaxDE[(L^CV(k)LD)2]=Ω(k/n), \min_{k \mid n} \max_{D} \mathbb{E}\left[\big(\widehat{L}_{\mathrm{CV}}^{(k)} - L_{D}\big)^{2}\right]=\Omega\big(\sqrt{k^*}/n\big), where nn is the sample size, kk the number of folds, and kk^* denotes the number of folds attaining the minimax optimum. This shows that even under idealized conditions, for large values of kk, CV cannot attain the optimum of order 1/n1/n achievable by a validation set of size nn, reflecting an inherent penalty caused by dependence between folds. 2. Complementing this, we exhibit learning rules for which maxDE ⁣[(L^CV(k)LD)2]=Ω(k/n), \max_{D}\mathbb{E}\!\left[\big(\widehat{L}_{\mathrm{CV}}^{(k)} - L_{D}\big)^{2}\right]=\Omega(k/n), matching (up to constants) the accuracy of a hold-out estimator of a single fold of size n/kn/k. Together these results delineate the fundamental trade-off in resampling-based risk estimation: CV cannot fully exploit all nn samples for unbiased risk evaluation, and its minimax performance is pinned between the k/nk/n and k/n\sqrt{k}/n regimes.

Keywords

Cite

@article{arxiv.2511.03554,
  title  = {The Structure of Cross-Validation Error: Stability, Covariance, and Minimax Limits},
  author = {Ido Nachum and Rüdiger Urbanke and Thomas Weinberger},
  journal= {arXiv preprint arXiv:2511.03554},
  year   = {2026}
}

Comments

60 pages