Skip to main content
QUICK REVIEW

[Paper Review] Hyperparameter Optimization: Foundations, Algorithms, Best Practices and Open Challenges

Bernd Bischl, Martin Binder|arXiv (Cornell University)|Jul 13, 2021
Machine Learning and Data ClassificationComputer Science49 citations
TL;DR

A comprehensive survey of hyperparameter optimization (HPO), outlining foundational concepts, major algorithms (grid/random search, evolution strategies, Bayesian optimization), practical guidelines, and open challenges.

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.

Motivation & Objective

  • Motivate the need for automated HPO to replace manual, time-consuming tuning.
  • Present a formal, general framework for HPO in supervised learning.
  • Catalog major HPO methods and their strengths/limitations.
  • Provide practical recommendations for evaluation, search spaces, and parallelization in HPO.
  • Discuss open issues and future directions in HPO.

Proposed method

  • Define the HPO problem as optimizing a stochastic, black-box objective c(λ) via resampled generalization estimates.
  • Characterize search spaces Λ and potential hierarchical/conditional hyperparameters.
  • Review well-established HPO algorithms (grid/random search, evolution strategies, Bayesian optimization).
  • Explain resampling strategies (holdout, cross-validation) and the impact on generalization estimation.
  • Describe how HPO integrates with ML pipelines and preprocessing steps.
  • Offer practical guidance on choosing resampling methods, defining search spaces, and parallelizing HPO.

Experimental results

Research questions

  • RQ1What are the core theoretical and practical foundations of hyperparameter optimization in supervised learning?
  • RQ2How do major HPO algorithms compare in terms of exploration/exploitation, noise handling, and scalability?
  • RQ3What practical guidelines improve the effectiveness and reproducibility of HPO in real ML workflows?
  • RQ4How should search spaces be constructed, including hierarchical and conditional hyperparameters, for robust optimization?
  • RQ5What open challenges remain in HPO to guide future research?

Key findings

  • HPO can be framed as a black-box, stochastic optimization problem over a bounded, possibly hierarchical search space.
  • Resampling-based estimation of generalization error enables evaluation of HPCs but introduces bias that can be mitigated with nested CV.
  • Grid and random search are simple baselines; random search often outperforms grid search in higher dimensions.
  • Bayesian optimization, especially with surrogate models and acquisition functions, efficiently balances exploration and exploitation for expensive evaluations.
  • Evolution strategies offer robustness to noise and suitability for complex search spaces but may require many evaluations for HPO.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.