Train-test splits matter more for evaluation than for performance.
4 affiliations
- 1GrHeCo-Xen, Health Research Institute of Santiago (IDIS), University of Santiago de Compostela, Santiago de Compostela, Spain. [email protected].
- 2Department of Pharmacy, University of Santiago de Compostela, Santiago de Compostela, Spain. [email protected].
- 3GrHeCo-Xen, Health Research Institute of Santiago (IDIS), University of Santiago de Compostela, Santiago de Compostela, Spain.
- 4Department of Hematology, University Hospital of Santiago de Compostela, Santiago de Compostela, Spain.
Abstract
In machine learning for QSAR/QSPR, the choice of train–test splitting algorithm alters both a model’s realized performance and the accuracy with which that performance is estimated from the held-out test set. Prior work has established that structure-aware splits such as Kennard–Stone and SPXY produce optimistically biased internal estimates, but these characterizations typically examine one method family at a time. Here we quantify how fifteen splitting strategies from four method families differ across fifteen drug-discovery datasets on two criteria (realized external benchmark performance and performance-estimation bias), and further assess whether splitting strategy affects model-selection quality when multiple model classes are optimized simultaneously. A single, consistent pattern holds across all fifteen datasets and all eleven evaluation measures (RMSE, MAE, MedAE, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}R2\end{document}R2, Spearman ρρ, Pearson r, Kendall ττ, enrichment factor at 5/10/20%, and BEDROC): Kennard–Stone-type methods (KS, SPXY, MDKS, Morais) achieve the strongest external benchmark performance but produce the most optimistically biased internal estimates (median Spearman bias \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}Δ ρ\end{document}Δρ ≈≈ +0.17 to +0.22, SPXY most optimistic; median \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}R2\end{document}R2 bias \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}Δ R2\end{document}ΔR2 ≈≈ +0.26 to +0.41), diversity-based methods (OptiSim, Maximum/Minimum Dissimilarity) achieve the weakest benchmark performance, and cluster-shuffle variants, particularly k-means- and k-medoids-shuffle, provide the best-calibrated internal estimates (near-zero bias) while remaining competitive on benchmark performance. For every measure the differences in estimation bias between splitters greatly exceed the differences in benchmark performance (for Spearman ρρ, a ≈≈0.20 bias gap versus a ≈≈0.02 benchmark gap), and the two criteria are inversely ranked (rank correlation ρρ ≈≈ −0.70 to −0.83). For model selection among competing model classes, in contrast, no method achieves statistical separation and effect sizes are small, indicating that splitter choice has no demonstrated impact on which model class is ultimately selected. Splitter choice in drug-discovery QSAR therefore primarily affects the reliability of performance evaluation rather than realized model generalization. Cluster-shuffle splitting provides near-zero estimation bias while maintaining competitive external performance, making it the recommended default for offline model evaluation, where calibration is the primary concern. Because no splitter separates on model-selection quality, it is a sound default for model selection as well. Practitioners who wish to explicitly optimize model selection may use KS-type splitting to identify the best model configuration, then re-split with cluster-shuffle to obtain a calibrated performance estimate.
Scientific contribution
We provide the first head-to-head comparison of fifteen train–test splitting algorithms from four method families on a common drug-discovery regression benchmark, showing that their effect on the credibility of internal performance estimates is roughly an order of magnitude larger than their effect on realized model performance. We further show that this optimism is general across all eleven evaluation measures, give it a geometric explanation in terms of train–test distributional distance, and separate the splitting problem into two tasks, performance estimation and model selection, that have different optimal choices. On this basis we recommend cluster-shuffle splitting as a calibrated default; whereas prior work described the overoptimism of a single method family (Kennard–Stone), our comparison spans four families and all eleven measures and turns this into a concrete recommendation.
Supplementary Information: The online version contains supplementary material available at https://doi.org/10.1186/s13321-026-01266-7.
Related
- Development and Evaluation of a Capillary Column GC-FID Identification Test for Sage Oil and Sage Water Listed in the Japanese Standards of Quasi-Drug Ingredients
- What Random Splits Measure in Polymer Glass-Transition Prediction: Chemistry Holdouts, Applicability Domains, and Prior Integration
- [2+4]型手性多孔有机笼Pim高效液相色谱固定相的制备及其手性拆分性能评价 Preparation and chiral separation performance evaluation of a high performance liquid chromatography stationary phase based on a [2+4]-type chiral porous organic cage Pim
- Evaluation of α-V2O5 lithium ion battery cathode performance by means of cavity microelectrode: Effect of the particle size
- Production and thermal performance evaluation of graphene nanoplatelets/Al₂O₃-reinforced Al6061–Cu hybrid thermal interface material
BibTeX
@article{crucitti2026traintest,
title = {{Train-test splits matter more for evaluation than for performance.}},
author = {Davide Crucitti and Adrián Mosquera Orgueira},
journal = {Journal of cheminformatics},
year = {2026},
month = aug,
doi = {10.1186/s13321-026-01266-7},
url = {https://europepmc.org/article/MED/42968179},
note = {CC BY},
}
RIS
TY - JOUR
TI - Train-test splits matter more for evaluation than for performance.
AU - Davide Crucitti
AU - Adrián Mosquera Orgueira
PY - 2026
DA - 2026/08/04
JO - Journal of cheminformatics
DO - 10.1186/s13321-026-01266-7
UR - https://europepmc.org/article/MED/42968179
AB - In machine learning for QSAR/QSPR, the choice of train–test splitting algorithm alters both a model’s realized performance and the accuracy with which that performance is estimated from the held-out test set. Prior work has established that structure-aware splits such as Kennard–Stone and SPXY produce optimistically biased internal estimates, but these characterizations typically examine one method family at a time. Here we quantify how fifteen splitting strategies from four method families differ across fifteen drug-discovery datasets on two criteria (realized external benchmark performance and performance-estimation bias), and further assess whether splitting strategy affects model-selection quality when multiple model classes are optimized simultaneously. A single, consistent pattern holds across all fifteen datasets and all eleven evaluation measures (RMSE, MAE, MedAE, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}R^2\end{document}R2, Spearman ρρ, Pearson r, Kendall ττ, enrichment factor at 5/10/20%, and BEDROC): Kennard–Stone-type methods (KS, SPXY, MDKS, Morais) achieve the strongest external benchmark performance but produce the most optimistically biased internal estimates (median Spearman bias \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}Δ ρ\end{document}Δρ ≈≈ +0.17 to +0.22, SPXY most optimistic; median \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}R^2\end{document}R2 bias \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}Δ R^2\end{document}ΔR2 ≈≈ +0.26 to +0.41), diversity-based methods (OptiSim, Maximum/Minimum Dissimilarity) achieve the weakest benchmark performance, and cluster-shuffle variants, particularly k-means- and k-medoids-shuffle, provide the best-calibrated internal estimates (near-zero bias) while remaining competitive on benchmark performance. For every measure the differences in estimation bias between splitters greatly exceed the differences in benchmark performance (for Spearman ρρ, a ≈≈0.20 bias gap versus a ≈≈0.02 benchmark gap), and the two criteria are inversely ranked (rank correlation ρρ ≈≈ −0.70 to −0.83). For model selection among competing model classes, in contrast, no method achieves statistical separation and effect sizes are small, indicating that splitter choice has no demonstrated impact on which model class is ultimately selected. Splitter choice in drug-discovery QSAR therefore primarily affects the reliability of performance evaluation rather than realized model generalization. Cluster-shuffle splitting provides near-zero estimation bias while maintaining competitive external performance, making it the recommended default for offline model evaluation, where calibration is the primary concern. Because no splitter separates on model-selection quality, it is a sound default for model selection as well. Practitioners who wish to explicitly optimize model selection may use KS-type splitting to identify the best model configuration, then re-split with cluster-shuffle to obtain a calibrated performance estimate. Scientific contribution We provide the first head-to-head comparison of fifteen train–test splitting algorithms from four method families on a common drug-discovery regression benchmark, showing that their effect on the credibility of internal performance estimates is roughly an order of magnitude larger than their effect on realized model performance. We further show that this optimism is general across all eleven evaluation measures, give it a geometric explanation in terms of train–test distributional distance, and separate the splitting problem into two tasks, performance estimation and model selection, that have different optimal choices. On this basis we recommend cluster-shuffle splitting as a calibrated default; whereas prior work described the overoptimism of a single method family (Kennard–Stone), our comparison spans four families and all eleven measures and turns this into a concrete recommendation. Supplementary Information: The online version contains supplementary material available at https://doi.org/10.1186/s13321-026-01266-7.
SN - 1758-2946
ER -