Hyperparameter Optimization: Foundations, Algorithms, Best Practices and Open Challenges
Authors:
Preprint
Abstract
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.Keywords
All Related Versions
This publication has 85 references indexed in Scilit:
- Auto-sklearn: Efficient and Robust Automated Machine Learning2019
- Hyperparameters and tuning strategies for random forestWIREs Data Mining and Knowledge Discovery, 2019
- Dynamic Control of Explore/Exploit Trade-Off in Bayesian Optimization2018
- Generalized Linear Models With Examples in R2018
- Hyperparameter Search Space Pruning – A New Component for Sequential Model-Based Hyperparameter Optimization2015
- Sequential Model-Based Optimization for General Algorithm Configuration2011
- Particle Swarm Model Selection for Authorship Verification2009
- Evolutionary Algorithms for Solving Multi-Objective Problems2002
- A Decision-Theoretic Generalization of On-Line Learning and an Application to BoostingJournal of Computer and System Sciences, 1997
- Boosting a Weak Learning Algorithm by MajorityInformation and Computation, 1995