Reshuffling Resampling Splits Can Improve Generalization of Hyperparameter Optimization

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Nagler, Thomas, Schneider, Lennart, Bischl, Bernd, Feurer, Matthias
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912110202585088
author Nagler, Thomas
Schneider, Lennart
Bischl, Bernd
Feurer, Matthias
author_facet Nagler, Thomas
Schneider, Lennart
Bischl, Bernd
Feurer, Matthias
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_15393
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Reshuffling Resampling Splits Can Improve Generalization of Hyperparameter Optimization
Nagler, Thomas
Schneider, Lennart
Bischl, Bernd
Feurer, Matthias
Machine Learning
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.
title Reshuffling Resampling Splits Can Improve Generalization of Hyperparameter Optimization
topic Machine Learning
url https://arxiv.org/abs/2405.15393