Reshuffling Resampling Splits Can Improve Generalization of Hyperparameter Optimization

Thomas Nagler, Lennart Schneider, B. Bischl, Matthias Feurer
2/3/2026

No official code found. Best implementation: slds-lmu/paper_2024_reshuffling (1 star, MIT, last commit 2025-07-20).

Abstract

Hyperparameter optimization is crucial for obtaining peak performance of machine learning models. The standard protocol evaluates various hyperparameter configurations using a resampling estimate of the generalization error to guide optimization and select a final hyperparameter configuration. Without much evidence, paired resampling splits, i.e., either a fixed train-validation split or a fixed cross-validation scheme, are often recommended. We show that, surprisingly, reshuffling the splits for every configuration often improves the final model's generalization performance on unseen data. Our theoretical analysis explains how reshuffling affects the asymptotic behavior of the validation loss surface and provides a bound on the expected regret in the limiting regime. This bound connects the potential benefits of reshuffling to the signal and noise characteristics of the underlying optimization problem. We confirm our theoretical results in a controlled simulation study and demonstrate the practical usefulness of reshuffling in a large-scale, realistic hyperparameter optimization experiment. While reshuffling leads to test performances that are competitive with using fixed splits, it drastically improves results for a single train-validation holdout protocol and can often make holdout become competitive with standard CV while being computationally cheaper.

View on arXivView PDF

Code Implementations(1)

MIT

Reshuffling Resampling Splits Can Improve Generalization of Hyperparameter Optimization

10R, PythonMay 21, 20241 years agoMIT

Similar Papers

Cite this paper

@article{nagler2026reshuffling,
  title  = {Reshuffling Resampling Splits Can Improve Generalization of Hyperparameter Optimization},
  author = {Thomas Nagler and Lennart Schneider and B. Bischl and Matthias Feurer},
  year   = {2026},
  eprint = {2405.15393},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.15393},
  url    = {https://arxiv.org/abs/2405.15393},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.15393.svg)](https://codeofpaper.com/paper/2405.15393)

Discussion