Bayesian Optimization

Category: Foundations of ML/AI

A sequential strategy for hyperparameter tuning that uses a probabilistic model to guide the search toward promising configurations.

Full Explanation

Bayesian optimization builds a probabilistic surrogate model (often a Gaussian process or Tree-structured Parzen Estimator) of the objective function and uses it to select the most promising hyperparameter configurations to evaluate next. An acquisition function balances exploration of uncertain regions with exploitation of known good regions. This approach is significantly more sample-efficient than grid or random search, making it ideal when each evaluation is expensive. Popular implementations include Optuna, Hyperopt, and BoTorch. Bayesian optimization is particularly effective for tuning deep learning models where training a single configuration can take hours or days. It naturally handles noisy evaluations and can incorporate prior knowledge about the search space.

Related Terms

More in Foundations of ML/AI

Explore More