Bayesian optimization is a sequential model-based strategy for global optimization of black-box objective functions whose evaluations are costly. It is commonly used when a single observation requires an experiment, engineering computation, numerical simulation, or machine-learning run, and when derivatives are unavailable or unreliable. The objective need not have a closed-form expression. The method constructs a probabilistic model of the unknown function, often a Gaussian process (GP), and uses the resulting predictive distribution to choose the next evaluation point. This choice is made by optimizing a sampling criterion, also called an acquisition function. Common applications include hyperparameter optimization in machine learning, where each trial may require training and validating a model, and engineering design problems driven by expensive numerical simulations.
History Early Bayesian approaches to global optimization include work by Harold J. Kushner on locating extrema of noisy functions and work by Jonas Mockus on Bayesian methods for seeking extrema. Expected improvement is a prominent sampling criterion in this line of work. In 1998, Donald R. Jones, Matthias Schonlau, and William J. Welch introduced the efficient global optimization (EGO) algorithm, which used a kriging or Gaussian-process model with expected improvement for expensive black-box functions. Later work extended Bayesian optimization to noisy observations, constraints, batch and parallel evaluations, multiple objectives, and mixed or high-dimensional search spaces.
Problem setting In a standard single-objective setting, Bayesian optimization seeks a point
x⋆∈argminx∈𝒳f(x) where 𝒳 is a search space and f is an unknown objective function. A maximization problem can be written in the same form by minimizing −f. Although the search space may in principle be continuous, discrete, categorical, or mixed, the standard formulation is most directly applicable to continuous, low- to moderate-dimensional domains. Later methods attempt to relax these restrictions by addressing mixed variables, high-dimensional spaces, constraints, parallel evaluations, and multiple objectives. A useful distinction is between noiseless and noisy optimization. Many real applications also involve constraints, parallel evaluations, or multiple objectives. These variants change how the probabilistic model, incumbent solution, and sampling criterion are defined.
Basic method
A typical Bayesian optimization procedure builds a sequence of evaluation points. Starting from an initial design X0, the algorithm produces additional evaluation points x1,x2,…. After n sequential evaluations, Xn=X0∪{x1,…,xn} denotes the evaluated points and 𝒟n denotes the corresponding observations. The next point xn+1, or a batch of points, is selected by optimizing a sampling criterion computed from the current probabilistic model. The procedure has the following form:
Choose an initial design X0, often by a space-filling design or random sampling. Evaluate the objective function, and any constraints if present, at the initial design points. Construct or update a probabilistic model using the observed data 𝒟n. Define a sampling criterion, also called an acquisition function or infill criterion, from the probabilistic model. Optimize the sampling criterion to select xn+1, or a batch of points, for evaluation. Evaluate the selected point or points and update the data set. Repeat until an evaluation budget, convergence criterion, or stopping rule is reached. The Bayesian strategy treats the unknown objective as a random function and places a prior over it. The prior captures assumptions about the behavior of the function. After observations are collected, the prior is updated to form a posterior distribution over the objective function. The posterior distribution is then used to construct the sampling criterion that determines the next query point.
Probabilistic models Bayesian optimization requires a probabilistic model of the unknown objective function and, when present, of unknown constraints. Given the evaluations observed so far, the model gives a predictive distribution for unevaluated points in the search space. Sampling criteria are defined from this predictive distribution, so the model provides both predicted objective values and uncertainty estimates. Such probabilistic models are often called surrogate models or metamodels because they are used in place of direct evaluations of the expensive objective when choosing candidate points. Gaussian process regression is the standard probabilistic model in classical presentations of Bayesian optimization and remains common in applications. A Gaussian process prior defines a distribution over functions. After observations are collected, the posterior predictive mean and variance are used by sampling criteria such as expected improvement, probability of improvement, and upper confidence bound criteria. Other probabilistic models can be used when the search space, dimensionality, or data size favors another representation.
… excerpt ends here. Continue reading the full article.
