Fast Bayesian Optimization of Machine Learning Hyperparameters on Large Datasets

Aaron Klein, Stefan Falkner, Simon Bartels, Philipp Hennig, Frank Hutter

arXiv (Cornell University) · 2016 · 139 citations · 30 references

DOIFull text

Open access

Concepts

TL;DR

Bayesian optimization is widely used for hyperparameter tuning, yet on large datasets evaluating a single configuration can take hours or days, limiting attainable performance. This work proposes a generative model of validation error versus training set size, learned during optimization, to enable early exploration on small subsets and extrapolate to the full dataset. The resulting Fabolas framework models both loss and training time as functions of dataset size and automatically balances information gain about the optimum against computational cost. Experiments on support vector machines and deep neural networks show that Fabolas achieves high‑quality solutions 10 to 100 times faster than other Bayesian optimization methods and the Hyperband bandit strategy.

Abstract

Bayesian optimization has become a successful tool for hyperparameter optimization of machine learning algorithms, such as support vector machines or deep neural networks. Despite its success, for large datasets, training and validating a single configuration often takes hours, days, or even weeks, which limits the achievable performance. To accelerate hyperparameter optimization, we propose a generative model for the validation error as a function of training set size, which is learned during the optimization process and allows exploration of preliminary configurations on small subsets, by extrapolating to the full dataset. We construct a Bayesian optimization procedure, dubbed Fabolas, which models loss and training time as a function of dataset size and automatically trades off high information gain about the global optimum against computational cost. Experiments optimizing support vector machines and deep neural networks show that Fabolas often finds high-quality solutions 10 to 100 times faster than other state-of-the-art Bayesian optimization methods or the recently proposed bandit strategy Hyperband.

References

30