Practical Bayesian Optimization of Machine Learning Algorithms

Jasper Snoek, Hugo Larochelle, Ryan P. Adams
6/13/2012
10,450 citations
stat.MLcs.LG
bayesian

No official code found. Best implementation: JasperSnoek/spearmint (1,392 stars, Python, last commit 2017-07-21). 1 more below.

Abstract

Machine learning algorithms frequently require careful tuning of model hyperparameters, regularization terms, and optimization parameters. Unfortunately, this tuning is often a "black art" that requires expert experience, unwritten rules of thumb, or sometimes brute-force search.

Show full abstract

Much more appealing is the idea of developing automatic approaches which can optimize the performance of a given learning algorithm to the task at hand. In this work, we consider the automatic tuning problem within the framework of Bayesian optimization, in which a learning algorithm's generalization performance is modeled as a sample from a Gaussian process (GP). The tractable posterior distribution induced by the GP leads to efficient use of the information gathered by previous experiments, enabling optimal choices about what parameters to try next. Here we show how the effects of the Gaussian process prior and the associated inference procedure can have a large impact on the success or failure of Bayesian optimization. We show that thoughtful choices can lead to results that exceed expert-level performance in tuning machine learning algorithms. We also describe new algorithms that take into account the variable cost (duration) of learning experiments and that can leverage the presence of multiple cores for parallel experimentation. We show that these proposed algorithms improve on previous automatic procedures and can reach or surpass human expert-level optimization on a diverse set of contemporary algorithms including latent Dirichlet allocation, structured SVMs and convolutional neural networks.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
JasperSnoek/spearmintCommunity1,392Python–2017-07-21
AM207-Study-Group/Bayesian-Optimization-with-pymc3Community3–––

Spearmint is a package to perform Bayesian optimization according to the algorithms outlined in the paper: Practical Bayesian Optimization of Machine Learning Algorithms. Jasper Snoek, Hugo Larochelle and Ryan P. Adams. Advances in Neural Information Processing Systems, 2012

1,392332Python, MATLABJan 18, 20139 years ago

Reimplementation the paper "Practical Bayesian Optimization of Machine Learning Algorithms"

30

Similar Papers

Cite this paper

@article{snoek2012practical,
  title  = {Practical Bayesian Optimization of Machine Learning Algorithms},
  author = {Jasper Snoek and Hugo Larochelle and Ryan P. Adams},
  year   = {2012},
  eprint = {1206.2944},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1206.2944}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1206.2944.svg)](https://codeofpaper.com/paper/1206.2944)

Discussion