BoTorch: A Framework for Efficient Monte-Carlo Bayesian Optimization

Maximilian Balandat, Brian Karrer, Daniel R. Jiang, Samuel Daulton, Benjamin Letham +2 more
10/14/2019
cs.LGcs.DCmath.OC

Official code: meta-pytorch/botorch (3,572 stars, MIT, last commit 2026-04-29).

Abstract

Bayesian optimization provides sample-efficient global optimization for a broad range of applications, including automatic machine learning, engineering, physics, and experimental design. We introduce BoTorch, a modern programming framework for Bayesian optimization that combines Monte-Carlo (MC) acquisition functions, a novel sample average approximation optimization approach, auto-differentiation, and variance reduction techniques. BoTorch's modular design facilitates flexible specification and optimization of probabilistic models written in PyTorch, simplifying implementation of new acquisition functions. Our approach is backed by novel theoretical convergence results and made practical by a distinctive algorithmic foundation that leverages fast predictive distributions, hardware acceleration, and deterministic optimization. We also propose a novel "one-shot" formulation of the Knowledge Gradient, enabled by a combination of our theoretical and software contributions. In experiments, we demonstrate the improved sample efficiency of BoTorch relative to other popular libraries.

View on arXivView PDF

Code Implementations(1)

MIT

Bayesian optimization in PyTorch

3,572488C++, CSSJul 30, 20185 months agoMIT

Similar Papers

Cite this paper

@article{balandat2019botorch,
  title  = {BoTorch: A Framework for Efficient Monte-Carlo Bayesian Optimization},
  author = {Maximilian Balandat and Brian Karrer and Daniel R. Jiang and Samuel Daulton and Benjamin Letham and Andrew Gordon Wilson and Eytan Bakshy},
  year   = {2019},
  eprint = {1910.06403},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.06403}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.06403.svg)](https://codeofpaper.com/paper/1910.06403)

Discussion