Thomas Nagler: The surprising effect of reshuffling the data during hyperparameter tuning

Thomas Nagler is a Professor of Computational Statistics \& Data Science at the Department of Statistics, LMU Munich, and a principal investigator at the Munich Center for Machine Learning (MCML).

Previously, he held positions as an assistant professor at TU Delft and Leiden University, following a PhD in Mathematical Statistics from TU Munich.

His research lies at the intersection of mathematical and computational statistics. His group develops statistical methods, establishes theoretical guarantees, and designs scalable algorithms, which are packaged into user-friendly software. He also regularly collaborates with domain experts to tackle challenges in diverse application areas.

Image may contain: Person, Forehead, Hair, Smile, Cheek.

Tuning parameter selection is crucial for optimizing predictive power of statistical and machine learning models. The standard protocol evaluates various parameter configurations using a resampling estimate of the generalization error to guide optimization and select a final parameter 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.

Published Oct. 30, 2024 10:41 AM - Last modified Mar. 7, 2025 2:24 PM