Each time you make a sample and measure its performance, the prediction for unmeasured places and its “confidence width” change. Using that prediction, we look for the best with only a few experiments.
From the points already measured, predict the value and its uncertainty at unmeasured conditions with a Gaussian process, then use that prediction to try Bayesian optimization, which decides “where to measure next.” With synthetic data for teaching purposes (dopant amount and ionic conductivity), check the difference between the latent-function band and the observation band, the relation between the length scale ℓ and the log marginal likelihood, the points chosen by the acquisition functions (EI, UCB, PI), and how to compare against random search, comparing the formulas with the numbers.
Make samples with different amounts of an additive and measure their performance. Each time you measure, the prediction line and the “confidence width” (band) are redrawn.
These are synthetic data for teaching purposes (the performance curve is made up; it is not the value of a real material). A score of 100 is the highest point of the true performance curve. Measured values fluctuate each time, so a measured performance can be slightly above 100.
Compare “Auto-pick,” which looks at the prediction and the confidence width to choose the next amount, with “Random pick,” which chooses at random.
These are synthetic data for teaching purposes (the performance curve is made up; it is not the value of a real material). A score of 100 is the highest point of the true performance curve. Measured values fluctuate each time, so a measured performance can be slightly above 100.
Predictive mean and the two kinds of bands
Clicking (tapping) the figure adds one observation (true value + noise) at that dopant amount x. You can also add one numerically with “Dopant amount to observe” in the controls.
The horizontal axis is the length scale ℓ (log scale); σf, σ, and the mean function m are held at their current values. The log marginal likelihood ln p(y | θ) is the sum of three terms: “data fit,” “complexity penalty,” and “constant” (the constant −(N/2) ln 2π does not depend on ℓ, so it is not drawn as a curve). The vertical solid line marks the current ℓ, and ◆ marks the maximum of the curve.
Surrogate model (Gaussian process) and acquisition function
Each time you press “Observe next point,” the point x at which the acquisition function below is maximal (minimal for LCB) is observed and the surrogate model is updated.
Median and interquartile range of the simple regret
With the same budget of evaluations, Bayesian optimization, random search, and an equally spaced grid are repeated over many seeds and compared by their distributions rather than by the win or loss of any single run.
The description of this simulator (procedure, formulas, conditions, questions) is on the explanation page “Explanation of the Gaussian Process and Bayesian Optimization Simulator”.
Back to Machine Learning — From Probability to GPT (Contents) | Text: Chapter 12, Section 12.6, Chapter 13, Section 13.4 | Equations and explanation (explanation page) | Equations are typeset with the browser’s built-in MathML (no external library).