A Theory of Cross-Validation Variance
Nathaniel S. O'Connell, Jaime L. Speiser
Abstract
Cross-validation estimates predictive performance by repeatedly splitting the data into training and validation sets, fitting the model on the first and evaluating it on the second. Every observation influences the estimate in two roles, through its own evaluation when it is held out and through the models it helps fit when it trains. The random splits determine its weight in each role. From this representation, we prove an exact finite-sample identity for the variance of the cross-validated estimate. For a given splitting scheme with a common training set size, the variance is a function of these weights, with constants of the model, the metric, and the population. It covers metrics averaged over observations, such as mean squared error, and over case--control pairs, such as the AUC. The identity shows which schemes to use. The variance decomposes into sampling variance, which depends only on the training size, and variance due to the random fold splitting, which arises when the weights change from one draw of the splits to the next. K-fold cross-validation, whose weights are equal across observations by design, is therefore variance optimal at first order; Monte Carlo and bootstrap cross-validation are not. The first-order variance of K-fold does not depend on K, and under reasonable conditions on the model leave-one-out has the smallest variance of any K-fold scheme. For the AUC the same holds for leave-pair-out, which evaluates every case--control pair. Finally, we show the cross-validated estimate is asymptotically normal with the identity's full variance. Together, these results provide a general theoretical foundation for inference on cross-validated performance and establish principles for selecting variance-optimal cross-validation designs.
Create a lesson
Related papers
Series-wise Cross-validation for Global Time Series Forecasting
Shared title terminology · Vitor Cerqueira, Mariana Oliveira, Luis Roque
Flow Matching from Non-Gaussian Sources: A Theory of Efficient Sampling
Shared title terminology · Yuchen Zhou, Lili Zheng, Yuxin Chen et al.
Variance-Adaptive Upper Confidence Bounds for Multi-Armed Bandits with Kaplan--Meier Survival Estimation
Shared title terminology · Yangfan Cui, Andrew Papanicolaou
Decomposing SGD Dynamics in Neural Networks: Teacher-Induced Spikes and Variance Inflation
Shared title terminology · Samet Demir, Zafer Dogan
A Differential Theory of Quality-Resource Trade-offs for AI Model Selection: The Multiresource Frontier and Its Minimax Price
Shared title terminology · Dmitry Ignatov
Detection and Classification in Latent Spaces: High-Dimensional Analysis and Validation
Shared title terminology · Enis Chenchene, Anil S. Baslamisli, Paolo Braca