A Tutorial on Bayesian Optimization
About
Bayesian optimization is an approach to optimizing objective functions that take a long time (minutes or hours) to evaluate. It is best-suited for optimization over continuous domains of less than 20 dimensions, and tolerates stochastic noise in function evaluations. It builds a surrogate for the objective and quantifies the uncertainty in that surrogate using a Bayesian machine learning technique, Gaussian process regression, and then uses an acquisition function defined from this surrogate to decide where to sample. In this tutorial, we describe how Bayesian optimization works, including Gaussian process regression and three common acquisition functions: expected improvement, entropy search, and knowledge gradient. We then discuss more advanced techniques, including running multiple function evaluations in parallel, multi-fidelity and multi-information source optimization, expensive-to-evaluate constraints, random environmental conditions, multi-task Bayesian optimization, and the inclusion of derivative information. We conclude with a discussion of Bayesian optimization software and future research directions in the field. Within our tutorial material we provide a generalization of expected improvement to noisy evaluations, beyond the noise-free setting where it is more commonly applied. This generalization is justified by a formal decision-theoretic argument, standing in contrast to previous ad hoc modifications.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Aerodynamic Shape Optimization | ShapeBench All tasks | Median Normalized Rank0.333 | 35 | |
| Spectral Risk Optimisation | DGP2 | Median Difference3.22e+5 | 27 | |
| Spectral Risk Optimisation | DGP1 | J_med1.47e+5 | 15 | |
| Dynamic Origin-Destination Estimation | PeMS Santa Clara/San Jose network Jan 26, 2026 | MSE35.29 | 9 | |
| Joint optimization and learning | Randomly generated 1D functions 50 independent objectives 1.0 (test) | Mean Final MSE0.2651 | 7 | |
| Molecule Optimization | ESOL | Final HV0.7359 | 7 | |
| Molecule Optimization | Lipophilicity | Final HV0.8954 | 6 | |
| Molecule Optimization | FreeSolv | Final HV0.5033 | 6 | |
| Spectral Risk Optimisation | DGP1 lambda=0.50 | J Median1.47e+5 | 5 | |
| Spectral Risk Optimisation | DGP1 (lambda=0.70) | J Median1.79e+5 | 5 |