Statistics > Machine Learning
[Submitted on 13 Jul 2021 (v1), last revised 24 Nov 2021 (this version, v3)]
Title:Hyperparameter Optimization: Foundations, Algorithms, Best Practices and Open Challenges
View PDFAbstract:Most machine learning algorithms are configured by one or several hyperparameters that must be carefully chosen and often considerably impact performance. To avoid a time consuming and unreproducible manual trial-and-error process to find well-performing hyperparameter configurations, various automatic hyperparameter optimization (HPO) methods, e.g., based on resampling error estimation for supervised machine learning, can be employed. After introducing HPO from a general perspective, this paper reviews important HPO methods such as grid or random search, evolutionary algorithms, Bayesian optimization, Hyperband and racing. It gives practical recommendations regarding important choices to be made when conducting HPO, including the HPO algorithms themselves, performance evaluation, how to combine HPO with ML pipelines, runtime improvements, and parallelization. This work is accompanied by an appendix that contains information on specific software packages in R and Python, as well as information and recommended hyperparameter search spaces for specific learning algorithms. We also provide notebooks that demonstrate concepts from this work as supplementary files.
Submission history
From: Martin Binder [view email][v1] Tue, 13 Jul 2021 04:55:47 UTC (6,357 KB)
[v2] Wed, 14 Jul 2021 22:34:27 UTC (6,287 KB)
[v3] Wed, 24 Nov 2021 22:40:27 UTC (5,019 KB)
Ancillary-file links:
Ancillary files (details):
- 01-tune-a-support-vector-machine/01-tune-a-support-vector-machine.Rmd
- 01-tune-a-support-vector-machine/01-tune-a-support-vector-machine.html
- 01-tune-a-support-vector-machine/bibliography.bib
- 01-tune-a-support-vector-machine/data/instance_1.rda
- 01-tune-a-support-vector-machine/data/instance_2.rda
- 01-tune-a-support-vector-machine/data/instance_3.rda
- 01-tune-a-support-vector-machine/data/rr_1.rda
- 02-tune-a-preprocessing-pipeline/02-tune-a-preprocessing-pipeline.Rmd
- 02-tune-a-preprocessing-pipeline/02-tune-a-preprocessing-pipeline.html
- 02-tune-a-preprocessing-pipeline/data/bmr_1.rda
- 03-build-an-automated-machine-learning-system/03-build-an-automated-machine-learning-system.Rmd
- 03-build-an-automated-machine-learning-system/03-build-an-automated-machine-learning-system.html
- 03-build-an-automated-machine-learning-system/data/instance_1.rda
- 03-build-an-automated-machine-learning-system/data/rr_1.rda
- 04-tuning-and-parallel-processing/04-tuning-and-parallel-processing.Rmd
- 04-tuning-and-parallel-processing/04-tuning-and-parallel-processing.html
- Notebooks.Rproj
- install_packages.R
Current browse context:
stat.ML
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.