On the Dangers of Cross-Validation. An Experimental Evaluation
The DOI matches its Crossref record; 22 of the 22 references it cites were found in a registry or an index.
Abstract
Cross validation allows models to be tested using the full training set by means of repeated resampling; thus, maximizing the total number of points used for testing and potentially, helping to protect against overfitting. Improvements in computational power, recent reductions in the (computational) cost of classification algorithms, and the development of closed-form solutions (for performing cross validation in certain classes of learning algorithms) makes it possible to test thousand or millions of variants of learning models on the data. Thus, it is now possible to calculate cross validation performance on a much larger number of tuned models than would have been possible otherwise. However, we empirically show how under such large number of models the risk for overfitting increases and the performance estimated by cross validation is no longer an effective estimate of generalization; hence, this paper provides an empirical reminder of the dangers of cross validation. We use a closed-form solution that makes this evaluation possible for the cross validation problem of interest. In addition, through extensive experiments we expose and discuss the effects of the overuse/misuse of cross validation in various aspects, including model selection, feature selection, and data dimensionality. This is illustrated on synthetic, benchmark, and real-world data sets.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
An Introduction to the Bootstrap
Efron, B., & Tibshirani, R. J. (1994) · doi:10.1201/9780429246593 · Cited by 40,500
Golub, G. (2012) · doi:10.56021/9781421407944 · Cited by 34,505
Wu, Y. (1999) · Technometrics · doi:10.1080/00401706.1999.10485951 · Cited by 27,221 · cited 2×
“These consistency bounds focus on examining the uniform convergence to the infimum error risk for a given data distribution and a given methodology (Vapnik, 1998).”
Applied Multivariate Statistical Analysis.
Johnson, A. R., & Wichern, D. W. (1988) · Biometrics · doi:10.2307/2531616 · Cited by 11,353
A Study of Cross-Validation and Bootstrap for Accuracy Estimation and Model Selection
Kohavi, R. (1995) · Zenodo · doi:10.5281/zenodo.19712698 · Cited by 10,909
Least Squares Support Vector Machine Classifiers
Suykens, J. A. K., & Vandewalle, J. (1999) · Neural Processing Letters · doi:10.1023/a:1018628609742 · Cited by 9,362 · cited 2×
“In the recent past, much research has been devoted to incorporating the concept of kernels and new forms of regularization in these methods (Saunders et al., 1998; Mika et al., 1999; Suykens & Vandewalle, 1999; Fung & Mangasar-ian, 2001).”
BackgroundWrappers for feature subset selection
Kohavi, R., & John, G. H. (1997) · Artificial Intelligence · doi:10.1016/s0004-3702(97)00043-x · Cited by 8,947 · cited 1×
“As advocated in (Kohavi & John, 1997), we use the widely used greedy “wrapper” method for feature selection, wherein the learning algorithm is run iteratively on the training data to select the feature that minimizes the loocv error, ˆ ǫ cv .”
MethodFisher discriminant analysis with kernels
Mika, S., Ratsch, G., Weston, J., Scholkopf, B., & Mullers, K. R. (2003) · Neural Networks for Signal Processing IX: Proceedings of the 1999 IEEE Signal Processing Society Workshop (Cat. No.98TH8468) · doi:10.1109/nnsp.1999.788121 · Cited by 2,661 · cited 4×
“In the recent past, much research has been devoted to incorporating the concept of kernels and new forms of regularization in these methods (Saunders et al., 1998; Mika et al., 1999; Suykens & Vandewalle, 1999; Fung & Mangasarian, 2001).”
BackgroundMethodInfluentialUCI Repository of Machine Learning Databases
Merz, C. J. (1996) · Medical Entomology and Zoology · Cited by 2,363
Training linear SVMs in linear time
Joachims, T. (2006) · Proceedings of the 12th ACM SIGKDD international conference on Knowledge discovery and data mining · doi:10.1145/1150402.1150429 · Cited by 1,920 · cited 3×
“…regarding the computational efficiency of popular classification algorithms and techniques (for example: linear training time for SVMs (Joachims, 2006) and n log( n ) kernel computation (Raykar & Duraiswami, 2005)), cross validation performance can be quickly computed on several thousands or…”
MethodInfluential
Cited by
Prediction as a Humanitarian and Pragmatic Contribution from Human Cognitive Neuroscience
Gabrieli, J. D. E., Ghosh, S. S., & Whitfield-Gabrieli, S. (2015) · Neuron · doi:10.1016/j.neuron.2014.10.047 · Cited by 535
Integrating explanation and prediction in computational social science
Hofman, J. M., Watts, D. J., Athey, S., Garip, F., Griffiths, T. L., Kleinberg, J., Margetts, H., Mullainathan, S., Salganik, M. J., Vazire, S., et al. (2021) · Nature · doi:10.1038/s41586-021-03659-0 · Cited by 371
“While this distinction is clear in theory, in practice research can suffer from confusion about validation versus test datasets, or from multiple uses of test sets within the modelling process 74,75 .”
BackgroundA Sensitive and Specific Neural Signature for Picture-Induced Negative Affect
Chang, L. J., Gianaros, P. J., Manuck, S. B., Krishnan, A., & Wager, T. D. (2015) · PLOS Biology · doi:10.1371/journal.pbio.1002180 · Cited by 349
Digital medicine and the curse of dimensionality
Berisha, V., Krantsevich, C., Hahn, P. R., Hahn, S., Dasarathy, G., Turaga, P., & Liss, J. (2021) · npj Digital Medicine · doi:10.1038/s41746-021-00521-5 · Cited by 344
Clinical applications of the functional connectome
Castellanos, F. X., Di Martino, A., Craddock, R. C., Mehta, A. D., & Milham, M. P. (2013) · NeuroImage · doi:10.1016/j.neuroimage.2013.04.083 · Cited by 312
The reusable holdout: Preserving validity in adaptive data analysis
Dwork, C., Feldman, V., Hardt, M., Pitassi, T., Reingold, O., & Roth, A. (2015) · Science · doi:10.1126/science.aaa9375 · Cited by 307
DroidCat: Effective Android Malware Detection and Categorization via App-Level Profiling
Cai, H., Meng, N., Ryder, B., & Yao, D. (2019) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2018.2879302 · Cited by 287
Gunay, H. B., O'Brien, W., & Beausoleil-Morrison, I. (2013) · Building and Environment · doi:10.1016/j.buildenv.2013.07.020 · Cited by 285
Detection of early pancreatic ductal adenocarcinoma with thrombospondin-2 and CA19-9 blood markers
Kim, J., Bamlet, W. R., Oberg, A. L., Chaffee, K. G., Donahue, G., Cao, X.-J., Chari, S., Garcia, B. A., Petersen, G. M., & Zaret, K. S. (2017) · Science Translational Medicine · doi:10.1126/scitranslmed.aah5583 · Cited by 269
Preserving Statistical Validity in Adaptive Data Analysis
Dwork, C., Feldman, V., Hardt, M., Pitassi, T., Reingold, O., & Roth, A. L. (2015) · Proceedings of the forty-seventh annual ACM symposium on Theory of Computing · doi:10.1145/2746539.2746580 · Cited by 248
“Such abuse of the holdout set is well known to result in significant overfitting to the holdout or cross-validation set [37, 36].”
BackgroundDroidSieve: Fast and Accurate Classification of Obfuscated Android Malware
Suarez-Tangil, G., Dash, S. K., Ahmadi, M., Kinder, J., Giacinto, G., & Cavallaro, L. (2017) · Proceedings of the Seventh ACM on Conference on Data and Application Security and Privacy · doi:10.1145/3029806.3029825 · Cited by 205
“We did not use any form of re-sampling, such as cross-validation, to avoid biasing our results [27].”
MethodVariable selection and validation in multivariate modelling
Shi, L., Westerhuis, J. A., Rosén, J., Landberg, R., & Brunius, C. (2019) · Bioinformatics · doi:10.1093/bioinformatics/bty710 · Cited by 205
“Our results highlight the potential impact of false positive findings in small datasets and indicate that even the most careful cross-validation scheme may not be able to fully safeguard against overfitting in under-determined systems with a low number of samples (Rao and Fung, 2006; Varoquaux, 2017).”
Evaluation in artificial intelligence: from task-oriented to ability-oriented measurement
Hernández-Orallo, J. (2017) · Artificial Intelligence Review · doi:10.1007/s10462-016-9505-7 · Cited by 202
“As a result, many results are usually affected by parameter overfitting, especially when using cross-validation (Rao et al, 2008) or are reproducible, but not replicable (Drummond, 2009), i.e., whenever a few things are changed (about the kind of data, the application domain or the parameter…”
BackgroundPrediction of Student’s performance by modelling small dataset size
Abu Zohair, L. M. (2019) · International Journal of Educational Technology in Higher Education · doi:10.1186/s41239-019-0160-3 · Cited by 193
“Notably, since the datasets are small, Leave-One-Out Cross Validation (LOOCV) technique is used as a validation method since it ’ s considered as the most preferable and advisable validation method for small size sets (Rao, Fung, & Rosales, 2008).”
MethodWilimitis, D., & Walsh, C. G. (2023) · JMIR AI · doi:10.2196/49023 · Cited by 185
“This also contributed to a relatively lower reduction in optimistic bias when using the theoretically validated approach to reduce optimistic bias resulting from model tuning in cross-validation (nested methods) [12,30,32].”
MethodComputational Design of Stable and Soluble Biocatalysts
Musil, M., Konegger, H., Hon, J., Bednar, D., & Damborsky, J. (2019) · ACS Catalysis · doi:10.1021/acscatal.8b03613 · Cited by 160
Generalization in Adaptive Data Analysis and Holdout Reuse
Dwork, C., Feldman, V., Hardt, M., Pitassi, T., Reingold, O., & Roth, A. (2015) · arXiv · doi:10.48550/arxiv.1506.02629 · Cited by 152
Towards reproducible radiomics research: introduction of a database for radiomics studies
Akinci D’Antonoli, T., Cuocolo, R., Baessler, B., & Pinto dos Santos, D. (2023) · European Radiology · doi:10.1007/s00330-023-10095-3 · Cited by 49
Metadata
- Authors
- Rao, R. B., Fung, G., & Rosales, R.
- Venue
- Proceedings of the 2008 SIAM International Conference on Data Mining
- Published
- 2008-04-24
- Pages
- 588-596
- OpenAlex
- W158824538
- Cited by
- 202
- References
- 22
- FWCI
- 0.25
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.