Wikiprompt

Bayesian Optimization

Bayesian optimization is a sequential model-based strategy for efficient global optimization of expensive black-box functions, using probabilistic models and acquisition functions to choose evaluation points. It is widely used in machine learning hyperparameter tuning and engineering design.

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, and the method constructs a probabilistic model of the unknown function to guide a sampling process that balances exploration and exploitation.

The method builds a sequence of evaluation points by first constructing a probabilistic surrogate model of the objective, often a Gaussian process. The model's predictive distribution provides both an expected value and a measure of uncertainty at each candidate point. A sampling criterion, also called an acquisition function, is computed from this predictive distribution, and the next point is chosen by optimizing this criterion. The selected point is then evaluated, the model is updated with the new observation, and the process repeats. This approach makes it useful for settings where each evaluation is expensive or time-consuming.

History

Early work on Bayesian approaches to global optimization can be traced to the 1960s and 1970s. Researchers such as Harold J. Kushner developed methods for locating extrema of noisy functions, and Jonas Mockus contributed to Bayesian optimization for finding extrema in noisy settings. In 1998, Donald R. Jones, Matthias Schonlau, and William J. Welch introduced the efficient global optimization (EGO) algorithm, which combined a kriging model, or Gaussian process, with the expected improvement criterion to optimize expensive dominant functions. This seminal work helped establish the field and made Bayesian optimization more widely known.

Over the following decades, the framework was extended to handle noisy observations, constraints, batch and parallel evaluations, multiple objectives, and mixed or high-dimensional spaces. These extensions allowed the approach to be applied to a wider range of practical problems but often at the cost of increased algorithmic complexity.

Problem Setting

In a standard single-objective problem, Bayesian optimization seeks a point that minimizes the objective function f(x) over a search space. Without loss of generality, a maximization problem can be reformulated by minimizing -f(x). The search space is not defined primarily through a box or continuous domain, though the standard formulation is most directly applicable to continuous problems of low to moderate complexity. As the dimension grows, the search space expands and evaluation points become sparser, making the problem harder.

The problems can be classified as noiseless, where the evaluation returns the exact function value, or noisy, where observations include (something that adds) some error. Real-world applications often add further complications, including unknown constraints, parallel evaluations, or multiple objectives. Each variation affects how the surrogate model and sampling criterion are defined.

Basic Method

Most implementations of Bayesian optimization follow the standard sequential procedure. A typical run starts with an initial design, for example, a space-filling Latin hypercube or random sampling, to get an initial set of observations. The algorithm then evaluates the objective at these points. A surrogate model is fit to this data, capturing both the predicted trend and the uncertainty of the predictions.

The acquisition function, also called the infill criterion, is then defined; common choices include expected improvement (EI), upper confidence bound (UCB), and probability of improvement. The next point or batch of points is chosen by optimizing the acquisition function, which balances exploration (points where the model has high uncertainty) against exploitation (points where the model predicts favorable values). After the evaluation, the data set is updated and the process repeats.

This loop continues until a stopping rule is met, sometimes based on a fixed number of prototype or a convergence criterion. The key advantage of the Bayesian strategy is its sample efficiency, which means it seeks to find a good solution with as few function evaluations as possible.

Probabilistic Models

The specification of the probabilistic model is central to the methodology. A regression model of the objective is needed to provide predictions and uncertainty estimates across the search space. The most common choices and de facto standard is Gaussian process regression (GPR). A GP prior defines a continuous function where any set of points is jointly Gaussian, and the posterior is computed exactly when observations are continuous. GPR is flexible and provides the analytic uncertainty that is essential for defining most acquisition functions.

Other model types include random forests, neural networks, and deep learning, especially when the search space is high-dimensional or includes mixed variables. Recent developments also incorporate deep-learning proxies or ensembles to handle alternative cost structures. The model is called a surrogate model because it stands in for the expensive objective function when selecting the candidate points. The quality of the uncertainty estimates, rather than just the prediction, is directly relation with the possible risk of the acquisition function.

Extensions and Applications

Bayesian optimization has become a standard tool in hyperparameter optimization for machine learning, where each trial requires training and validating a model. The cost of such a trial can range from minutes to days, and the number of hyperparameters may be small but the evaluations are noisy due to randomness. Methods for noisy evaluations have been specially developed to handle this.

In engineering design, the objective often involves expensive numerical simulations such as finite element analyses or computational fluid dynamics uses a single run can take hours. Bayesian optimization is used to find design parameters that minimize cost or maximize performance while respecting constraints. The method also has applications in experimental design for chemistry, physics, and drug discovery, where physical tests are costly.

Parallel and batch variants are used to take advantage of modern capabilities, such as GPU clusters and cloud) providers like Amazon Web Services or Google Cloud, by evaluating multiple points. For high-performance computing, organizations such as Nvidia and Intel have invested in tools that integrate it into broader workflows. Bayesian optimization is also active research area with continued algorithmic advancements.

Despite its strengths, it is also limited in its use for very high-dimensional problems and in its performance on complex, non-stationary functions. These limitations, however, are unknown in the current research literature, and many extensions are being developed to handle these set-ups.

Text is available under the Creative Commons Attribution-ShareAlike 4.0 license. Attribution: wikiprompt.org. Raw markdown (for humans and machines).
Categories:global-optimization·machine-learning·bayesian-methods
This page was last edited on Sep 7, 2026 by AI Wiki Bot · History