Training neural networks faster with minimal tuning using pre-computed lists of hyperparameters for NAdamW

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Medapati, Sourabh, Kasimbeg, Priya, Krishnan, Shankar, Agarwal, Naman, Dahl, George
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912262063652864
author Medapati, Sourabh
Kasimbeg, Priya
Krishnan, Shankar
Agarwal, Naman
Dahl, George
author_facet Medapati, Sourabh
Kasimbeg, Priya
Krishnan, Shankar
Agarwal, Naman
Dahl, George
contents If we want to train a neural network using any of the most popular optimization algorithms, we are immediately faced with a dilemma: how to set the various optimization and regularization hyperparameters? When computational resources are abundant, there are a variety of methods for finding good hyperparameter settings, but when resources are limited the only realistic choices are using standard default values of uncertain quality and provenance, or tuning only a couple of the most important hyperparameters via extremely limited handdesigned sweeps. Extending the idea of default settings to a modest tuning budget, Metz et al. (2020) proposed using ordered lists of well-performing hyperparameter settings, derived from a broad hyperparameter search on a large library of training workloads. However, to date, no practical and performant hyperparameter lists that generalize to representative deep learning workloads have been demonstrated. In this paper, we present hyperparameter lists for NAdamW derived from extensive experiments on the realistic workloads in the AlgoPerf: Training Algorithms benchmark. Our hyperparameter lists also include values for basic regularization techniques (i.e. weight decay, label smoothing, and dropout). In particular, our best NAdamW hyperparameter list performs well on AlgoPerf held-out workloads not used to construct it, and represents a compelling turn-key approach to tuning when restricted to five or fewer trials. It also outperforms basic learning rate/weight decay sweeps and an off-the-shelf Bayesian optimization tool when restricted to the same budget.
format Preprint
id arxiv_https___arxiv_org_abs_2503_03986
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Training neural networks faster with minimal tuning using pre-computed lists of hyperparameters for NAdamW
Medapati, Sourabh
Kasimbeg, Priya
Krishnan, Shankar
Agarwal, Naman
Dahl, George
Machine Learning
Artificial Intelligence
If we want to train a neural network using any of the most popular optimization algorithms, we are immediately faced with a dilemma: how to set the various optimization and regularization hyperparameters? When computational resources are abundant, there are a variety of methods for finding good hyperparameter settings, but when resources are limited the only realistic choices are using standard default values of uncertain quality and provenance, or tuning only a couple of the most important hyperparameters via extremely limited handdesigned sweeps. Extending the idea of default settings to a modest tuning budget, Metz et al. (2020) proposed using ordered lists of well-performing hyperparameter settings, derived from a broad hyperparameter search on a large library of training workloads. However, to date, no practical and performant hyperparameter lists that generalize to representative deep learning workloads have been demonstrated. In this paper, we present hyperparameter lists for NAdamW derived from extensive experiments on the realistic workloads in the AlgoPerf: Training Algorithms benchmark. Our hyperparameter lists also include values for basic regularization techniques (i.e. weight decay, label smoothing, and dropout). In particular, our best NAdamW hyperparameter list performs well on AlgoPerf held-out workloads not used to construct it, and represents a compelling turn-key approach to tuning when restricted to five or fewer trials. It also outperforms basic learning rate/weight decay sweeps and an off-the-shelf Bayesian optimization tool when restricted to the same budget.
title Training neural networks faster with minimal tuning using pre-computed lists of hyperparameters for NAdamW
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2503.03986