Bayesian optimization

Many problems in engineering, computer science, economics, etc., require to find the extremum of a real valued function. These functions are typically continuous and sometimes smooth (e.g.: Lipschitz continuous). However, those functions do not have a closed-form expression or might be multimodal, where some of the local extrema might have a bad outcome compared to the global extremum. The evaluation of those functions might be costly.

Global optimization is a special case of non-convex optimization where we want to find the global extremum of a real valued function, that is, the target function. The search is done by some pointwise evaluation of the target function.

The objective of a global optimization algorithm is to find the sequence of points

which converges to the point , that is, the extremum of the target function, when is large. The algorithm should be able to find that sequence at least for all functions from a given family.

As explained in[16], this search procedure is a sequential decision making problem where point at step is based on decision which considers all previous data:

where . For simplicity, many works assume , that is, function evaluations are deterministic. However, we can easily extend the description to include stochastic functions (e.g.: homoscedastic noise ).

The search method is the sequence of decisions , which leads to the final decision . In most applications, the objective is to optimize the response of the final decisions. Then, the criteria relies on the *optimality* *error* or *optimality* *gap*, which can be expressed as:

In other applications, the objective may require to converge to in the input space. Then, we can use for example the *Euclidean distance error*:

The previous equations can also be interpreted as variants of the *loss* function for the decision at each step. Thus, the optimal decision is defined as the function that minimizes the loss function:

This requires full knowledge of function , which is unavailable. Instead, let assume that the target function belongs to a family of functions , e.g.: continuous functions in . Let also assume that the function can be represented as sample from a probability distribution over functions . Then, the best response case analysis for the search process is defined as the decision that optimizes the expectation of the loss function:

where is a prior distribution over functions.

However, we can improve the equation considering that, at decision we have already *observed* the actual response of the function at points, . Thus, the prior information of the function can be updated with the observations and the Bayes rule:

In fact, we can actually rewrite the equation to represent the updates sequentially:

Thus, the previous equation can be rewritten as:

This equation is the root of *Bayesian optimization*, where the Bayesian part comes from the fact that we are computing the expectation with respect to the posterior distribution, also called *belief*, over functions. Therefore, Bayesian optimization is a memory-based optimization algorithm.

As commented before, most of the theory of Bayesian optimization is related to deterministic functions, we consider also stochastic functions, that is, we assume there might be a random error in the function output. In fact, evaluations can produce different outputs if repeated. In that case, the target function is the expected output. Furthermore, in a recent paper by[4] it has been shown that, even for deterministic functions, it is better to assume certain error in the observation. The main reason being that, in practice, there might be some mismodelling errors which can lead to instability of the recursion if neglected.

In order to simplify the description, we are going to use a special case of Bayesian optimization model defined previously which corresponds to the most common application. In subsequent Sections we will introduce some generalizations for different applications.

Without loss of generality, consider the problem of finding the minimum of an unknown real valued function , where is a compact space, . Let be a prior distribution over functions represented as a stochastic process, for example, a Gaussian process , with inputs and an associate kernel or covariance function . Let also assume that the target function is a sample of the stochastic process .

In order to find the minimum, the algorithm has a maximum budget of evaluations of the target function . The purpose of the algorithm is to find optimal decisions that provide a better performance at the end.

One advantage of using Gaussian processes as a prior distributions over functions is that new observations of the target function can be easily used to update the distribution over functions. Furthermore, the posterior distribution is also a Gaussian process . Therefore, the posterior can be used as an informative prior for the next iteration in a recursive algorithm.

In a more general setting, many authors have suggested to modify the standard zero-mean Gaussian process for different variations that include semi-parametric models[8][6][9][17], use of hyperpriors on the parameters [13][2][7], Student t processes[5][19][25], etc.

We use a generalized linear model of the form:

where

The term means a non-parametric process, which can make reference to a Gaussian process or a Student's t process . In both cases, is the observation noise variance, sometimes called nugget, and it is problem specific. Many authors decide to fix this value when the function is deterministic, for example, a computer simulation. However, as cleverly pointed out in[4], there might be more reasons to include this term appart from being the observation noise, for example, to consider model inaccuracies.

This model has been presented in different ways depending on the field where it was used:

- As a generalized linear model with heteroscedastic perturbation .
- As a nonparametric process of the form .
- As a semiparametric model

Generated on Tue Mar 25 2014 23:31:59 for BayesOpt by 1.8.4