Can we skip validation? A cross-family, cost-aware study of generalization measures for model selection

Nikolaos NikolaouarXiv 2026

TL;DR

Can you pick the best machine learning model without holding out validation data? After testing over 100 "generalization measures" across 16 model families, 89 datasets, and 102,000+ models, the short answer is no. Most training-data-only measures rank models backwards, and a simple 20% hold-out split beats almost all of them at a fifth of the cost of 5-fold cross-validation (CV). Measures only earn their keep in a few specific niches—most notably when your models are already trained.

What Problem Does This Paper Address?

When tuning hyperparameters or choosing between model families, $k$-fold cross-validation is the gold standard. But CV isn't free: it costs data (a held-out split) and compute ($k$ extra training runs per candidate). To avoid this, two separate traditions—classical statistics (AIC, BIC, degrees of freedom) and deep learning (weight norms, loss-surface flatness, sharpness)—have proposed generalization measures: scores computed from a trained model and its training data alone.

Previous large-scale studies of these measures had three blind spots: they only looked at deep neural networks, they ignored compute costs, and they evaluated measures by how well they correlated with the generalization gap ($\text{Test Error} - \text{Training Error}$). In practice, however, you don't select a model by its gap—you select it by its test error.

How this study differs from previous evaluations

Methods

The author built a selection-centred, cost-aware benchmark comparing over 100 measures across 9 classification and 7 regression families (including logistic regression, SVMs, $k$-NN, kernel ridge, decision trees, random forests, LightGBM, MLPs, and CNNs).

Measures were grouped into:

  • Fit statistics (training error, margins, training NLL).
  • Complexity & capacity measures (degrees of freedom, parameter counts, weight norms, flatness/sharpness, input sensitivity, f-CMI, memorisation).
  • Resampling-type estimates (5-fold CV, 20% hold-out, .632+ bootstrap, and "exact shortcuts" like out-of-bag error and closed-form leave-one-out).

Instead of just checking gap correlation, every measure was scored on Spearman rank correlation with test error ($\rho_{\text{test}}$), selection regret (how much test error you lose compared to an oracle), and compute cost relative to 5-fold CV. The author also tested learned combinations (meta-models) and validated the findings on a pre-registered external test.

Table 2: Measure groups (full list with implementation details in Supp. S1). SV: support vector; LR: logistic regression; KNN: k-NN; KRR: kernel ridge; DT: decision tree; RF: random forest; GBM: gradient boosting; NN: MLP and CNN.

Datasets

The study spans 89 datasets (with 100 to 3,000 training examples each):

  • Original collection (25 datasets): 16 synthetic datasets with known label noise and 9 real datasets (including Fashion-MNIST), used to develop the analyses.
  • PMLB collection (24 datasets): Real datasets from the Penn Machine Learning Benchmarks used for replication.
  • External collection (18 unseen PMLB datasets): Held out and used only once for a pre-registered test of frozen hypotheses and meta-models.
  • Regression datasets (22 tasks): Used to evaluate regression equivalents of the measures (including 7 newly defined regression versions, such as regression mixup error).

The per-model records are released as GenMeasures-Bench.

Key Insights and Ideas

  • Why complexity measures rank models backwards: Because $\text{Test Error} = \text{Training Error} + \text{Gap}$, a complexity measure (which tracks the gap) only points in the right direction if the gap varies more across candidates than the training error does (specifically, when the gap-variance share exceeds $0.5$). In realistic candidate sets spanning under- and over-fitting, training error varies more—so complexity measures systematically prefer the worst models.
  • The interpolation threshold flips the script: When every candidate interpolates the training data ($\text{Training Error} \approx 0$), test error is the gap. Only in this regime—such as networks trained to the exact same fixed loss—do flatness, norm, and stability measures suddenly work.
  • Only 5 situations rival CV: A training-data-only measure matches CV only for: (1) exact shortcuts (OOB error for random forests, closed-form LOO for $k$-NN); (2) training error for random forests; (3) interpolators (where stability/flatness or the label-free "consensus criterion" on noisy labels can compete); (4) small, noisy data or pretrained models (via learned combinations); and (5) regression trees (using mixup error).
  • Don't bother adding measures to CV: Stacking, blending, or breaking CV's near-ties with generalization measures adds nothing and can even hurt selection.

Key Results

  • CV and cheap resampling dominate: Across internal tasks, 5-fold CV achieves $\bar{\rho}_{\text{test}} = 0.78$ within families and $0.89$ across families. A single 20% hold-out reaches $\bar{\rho}_{\text{test}} = 0.72$ at 21% of CV's cost, beating every non-resampling measure.
  • Hidden compute costs: Several "training-data-only" measures are more expensive than CV itself: the .632+ bootstrap costs $2.9\times$ CV and f-CMI costs $2.6\times$ CV because they require refitting models.
  • Pretrained models are the sweet spot: When choosing among 66 pretrained feature extractors across 7 target tasks, closed-form probe LOO ($\bar{\rho}_{\text{test}} = 0.79$ at 1% of CV's cost), Laplace evidence ($\bar{\rho}_{\text{test}} = 0.88$), and a learned combination ($\bar{\rho}_{\text{test}} = 0.90$) rival 5-fold CV ($\bar{\rho}_{\text{test}} = 0.87$).
  • Poisoning: Under label-flip attacks, CV degrades, but no training-data measure detects the poisoning or beats a small, clean validation set.

Limitations and Future Work

The neural networks studied were small and CPU-trained, and the pretrained model zoo used seven related targets (making the meta-model's success there an in-domain result). Additionally, some measures (like diagonal Laplace approximations) were simplified, and the poisoning experiments tested three fixed attacks rather than adaptive ones. Replicating these selection-centred, cost-aware benchmarks at GPU scale is the most important next step.

Summary updated

BibTeX
@misc{nikolaou2026can,
  author = {Nikolaos Nikolaou},
  title = {{Can we skip validation? A cross-family, cost-aware study of generalization measures for model selection}},
  year = {2026},
  eprint = {2612.00586},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.00586},
}
Figure