Skip to main content
QUICK REVIEW

[Paper Review] Efficient Hyperparameter Optimization and Infinitely Many Armed Bandits

Afshin Rostamizadeh, Ameet Talwalkar|arXiv (Cornell University)|Jan 1, 2017
Machine Learning and Data ClassificationComputer Science44 references138 citations
TL;DR

This paper proposes Hyperband, a novel hyperparameter optimization method that frames the problem as a non-stochastic infinitely many armed bandit, where resources are adaptively allocated across configurations based on performance. It achieves significant speedups over Bayesian optimization and random search by efficiently allocating training resources to promising configurations, outperforming methods trained for twice as long in favorable settings.

ABSTRACT

Performance of machine learning algorithms depends critically on identifying a good set of hyperparameters. While current methods offer efficiencies by adaptively choosing new configurations to train, an alternative strategy is to adaptively allocate resources across the selected configurations. We formulate hyperparameter optimization as a pure-exploration non-stochastic infinitely many armed bandit problem where allocation of additional resources to an arm corresponds to training a configuration on larger subsets of the data. We introduce Hyperband for this framework and analyze its theoretical properties, providing several desirable guarantees. We compare Hyperband with state-of-the-art Bayesian optimization methods and a random search baseline on a comprehensive benchmark including 117 datasets. Our results on this benchmark demonstrate that while Bayesian optimization methods do not outperform random search trained for twice as long, Hyperband in favorable settings offers valuable speedups.

Motivation & Objective

  • To address the challenge of efficient hyperparameter optimization in machine learning, where performance critically depends on hyperparameter selection.
  • To model hyperparameter tuning as a pure-exploration, non-stochastic, infinitely many armed bandit problem, where arms represent hyperparameter configurations and resource allocation corresponds to training on larger data subsets.
  • To design a method that adaptively allocates computational resources to the most promising configurations, improving efficiency over random or fixed-resource search strategies.
  • To provide theoretical guarantees on the performance of the proposed method under the bandit framework.
  • To empirically evaluate Hyperband against state-of-the-art Bayesian optimization and random search on a large benchmark of 117 datasets.

Proposed method

  • The method models hyperparameter optimization as a non-stochastic infinitely many armed bandit problem, where each arm corresponds to a unique hyperparameter configuration.
  • Resource allocation is formalized as training each configuration on increasing subsets of the training data, with performance measured after each allocation step.
  • Hyperband dynamically allocates more resources to configurations that show early promise, based on their performance at intermediate training stages.
  • The algorithm uses a successive halving strategy to eliminate poorly performing configurations early, focusing computational effort on the most promising ones.
  • Theoretical analysis provides guarantees on the expected number of configurations that will be evaluated and the probability of identifying a near-optimal configuration.
  • The method is designed to be agnostic to the underlying machine learning algorithm, making it broadly applicable across different models and datasets.

Experimental results

Research questions

  • RQ1Can adaptive resource allocation across hyperparameter configurations outperform fixed-resource or random search strategies in hyperparameter optimization?
  • RQ2Does the proposed Hyperband method achieve better sample efficiency than state-of-the-art Bayesian optimization in hyperparameter tuning?
  • RQ3How does Hyperband compare to random search when the latter is allowed twice the training time?
  • RQ4What theoretical guarantees can be provided for a non-stochastic, infinitely many armed bandit formulation of hyperparameter optimization?
  • RQ5In what settings does Hyperband offer meaningful speedups over existing methods?

Key findings

  • Hyperband significantly outperforms Bayesian optimization methods in settings where the latter do not surpass random search trained for twice as long.
  • On the benchmark of 117 datasets, Hyperband achieves better performance with substantially less computational cost than Bayesian optimization.
  • The method demonstrates valuable speedups in favorable configurations, particularly when early stopping of poor performers is effective.
  • Bayesian optimization methods fail to outperform random search when the latter is trained for twice the time, highlighting the inefficiency of current Bayesian approaches in this context.
  • The theoretical framework of Hyperband ensures strong guarantees on identifying near-optimal configurations with high probability.
  • Empirical results confirm that adaptive resource allocation leads to more efficient hyperparameter search compared to uniform or random allocation strategies.

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.