AI & ML Atlas
Machine LearningtechniqueAnimated walkthrough
Bayesian Optimisation
Tunes expensive functions by modelling them and choosing the most promising next trial.
The idea
It fits a cheap surrogate model (often a Gaussian process) to the results so far; the surrogate gives a prediction and an uncertainty at every untried setting. An acquisition function such as expected improvement picks the next point that balances exploiting good areas and exploring uncertain ones.
Watch it run
The pipeline lights up one step at a time. Use the controls to pause or step through it.
- 1Evaluate a few initial settings.
- 2Fit a surrogate model to the results.
- 3Maximise the acquisition function to choose the next setting.
- 4Run it, add the result and refit.
- 5Repeat until the budget is used.
1/5
Step by step
- 1Evaluate a few initial settings.
- 2Fit a surrogate model to the results.
- 3Maximise the acquisition function to choose the next setting.
- 4Run it, add the result and refit.
- 5Repeat until the budget is used.
Where it is used
Tuning deep networks and anything where one trial costs minutes or hours.
Watch out for
Struggles in very high dimensions; the surrogate has its own settings.