Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Practical Bayesian Optimization of Machine Learning Algorithms

About

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. 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.

Jasper Snoek, Hugo Larochelle, Ryan P. Adams• 2012

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10 (test)--
3381
Image ClassificationCIFAR-10 (test)
Accuracy85.02
906
Hyperparameter OptimizationJAHS-C10 Bench (val)
Validation Error9.115
52
Neural Architecture SearchNAS-Bench-101 1.0 (test)--
22
Image ClassificationCIFAR-10 data-augmented (+) (test)
Accuracy90.5
16
Global OptimizationHartmann6
Best Objective Value-3.3166
13
Portfolio OptimizationPortfolio Scenario M2-S3
Model Performance Variance (σ²)0.107
7
Portfolio OptimizationModel M2 Scenario S3
Annualized Sharpe Ratio1.222
7
Portfolio OptimizationModel Scenario S4 M2
Annualized Sharpe Ratio0.86
7
Portfolio OptimizationPortfolio Scenario M1-S1
Model Performance Variance (σ²)0.69
7
Showing 10 of 39 rows

Other info

Follow for update