Not All Data Leakage Is Equal: A Controlled Benchmark of Evaluation Inflation in Tabular Classification
Ankit Sharma
Key points
From the paper's conclusion- The results support a severity-aware view of leakage: evaluation pipelines should prevent all held-out-data dependence, but label-dependent transformations and observation reuse deserve especially aggressive auditing.
Abstract
Data leakage is widely recognized as a threat to trustworthy machine-learning evaluation, yet the phrase covers mechanisms with very different statistical consequences. We present a controlled empirical benchmark that measures the inflation in held-out ROC-AUC caused by five common leakage mechanisms: global standardization, global median imputation, duplicate contamination, supervised feature selection before splitting, and target encoding before splitting. The benchmark spans six public datasets and two synthetic stress tests, three model families, and five repeated stratified train/test splits, yielding 600 paired clean-versus-leaked comparisons. To avoid pseudo-replication, inference is performed on dataset-level effects with cluster bootstrap confidence intervals and Holm-corrected one-sided Wilcoxon tests. Label-dependent or direct data-reuse mechanisms produced systematic optimism: global target encoding increased ROC-AUC by 2.42 percentage points on average (95% cluster-bootstrap CI 0.62--4.89), global supervised feature selection by 1.93 points (0.63--3.39), and duplicate contamination by 1.52 points (0.40--2.80). All three remained significant after multiplicity correction. In contrast, global scaling and global median imputation had near-zero average effects under the i.i.d. settings studied here. A controlled target-encoding stress test further shows that leakage becomes sharply worse as categories become sparse. The results support a severity-aware view of leakage: evaluation pipelines should prevent all held-out-data dependence, but label-dependent transformations and observation reuse deserve especially aggressive auditing.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Duplicate leakage and evaluation integrity on a public synthetic sleep-health tabular dataset: A methodological case study.Computers in biology and medicine · 2026
- Reproducible benchmarking of four machine-learning classifiers on a large synthetic heart-disease competition dataset.PloS one · 2026
- Leakage-safe machine learning evaluation of viral T-cell IFN-gamma response prediction using IEDB data.Computational biology and chemistry · 2026
- LeakBench: Auditing Reward Hacking through Prediction-Time Leakage in Clinical Modeling AgentsarXiv · 2026
- Distributional bias compromises leave-one-out cross-validationScience Advances · 2025
- Small data machine learning: the trilemma of low-sample tabular regimesarXiv · 2026