Answers are grounded in this paper and cite their sources.
k-fold cross-validation is the standard estimate of the risk of a model fitted on all the data, yet the number of folds is set by convention. For empirical risk minimizers (ERM) under the 0–1 loss, Nachum et al. (2026) showed that the worst-case mean squared error of this estimate is at least of order √k/n, and a technical report (Anonymous, 2026) derived its limit for two fixed classifiers at each local label bias. We take the worst case over the bias and over a hypothesis class. For every ERM over a class of VC dimension d and k ≤ c√(n/d), training on fewer points adds a worst-case squared bias of order at least d/(nk^2), so the two terms pull k in opposite directions. For histogram classifiers on d cells both are sharp: with a fixed label at ties and n ≥ Cd^(9/5) the best k is of order d^(2/5), and for fixed d and k, n times the worst-case error converges to an explicit Ψ_k(d). Its minimizer over k, certified by computer for d ≤ 10^5, is four for d ≤ 3 and between five and ten for 4 ≤ d ≤ 507; ten folds stay within 20% of the optimum up to d = 1297, and two folds are never optimal. Among all estimators of this risk, cross-validation is not optimal for histograms: at fixed d, as n → ∞, a corrected training error has a worst-case constant of order √log(ed), which no estimator improves, against d^(1/5) for the best k. For the selection of one of N binary features it is rate-optimal: for large N and n ≥ C(log N)^2, no estimator beats the order log N/n attained by two folds and the training error.
No takes yet. Share an insight, caveat, or question.
Chen et al. (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: