Batched Energy-Entropy acquisition for Bayesian Optimization

Felix Teufel, Carsten Stahlhut, Jesper Ferkinghoff-Borg

Introduction

Bayesian Optimization (BO) is a powerful framework for optimizing expensive black-box functions. In many practical scenarios, such as drug discovery or hardware design, it is beneficial to evaluate multiple points in parallel. However, extending standard acquisition functions like Expected Improvement (EI) or Upper Confidence Bound (UCB) to the batched setting ($q$-EI, $q$-UCB) is computationally challenging. These methods often require high-dimensional integration, necessitating expensive Monte Carlo (MC) sampling which scales poorly with batch size and can lead to erratic exploration behavior.

The BEEBO Framework

The authors introduce BEEBO (Batched Energy-Entropy acquisition for Bayesian Optimization), a novel approach inspired by statistical physics. BEEBO formulates the acquisition process as a "free energy" minimization problem, defined as $A = E - TS$.

  1. Exploit Component (Energy $E$): This term represents the quality of the batch, calculated using a softmax-weighted sum of the surrogate model's predictions. A hyperparameter $\beta$ allows for interpolation between optimizing for the batch mean and the batch maximum.
  2. Explore Component (Entropy $I$): This term quantifies the information gain or diversity of the batch. For Gaussian Process (GP) surrogates, this has a convenient analytical form that depends only on input locations.
  3. Acquisition Function: The final objective is $a_{BEEBO}(\mathbf{x}) = -E(\mathbf{x}) + T \cdot I(\mathbf{x})$, where $T$ (temperature) explicitly controls the exploration-exploitation trade-off.

By deriving a differentiable, closed-form approximation for the softmax-weighted sum, BEEBO enables joint optimization of the entire batch using gradient descent, completely bypassing the need for MC sampling.

Experimental Evaluation

BEEBO was evaluated on a diverse set of benchmarks, including synthetic functions (ranging from 2 to 100 dimensions), robot control tasks (14D and 60D), and heteroskedastic noise problems. The primary baseline for comparison was $q$-UCB, tested with a large batch size of $Q=100$.

Results and Discussion

BEEBO demonstrates a significant advantage in controlling the behavior of large batches. As illustrated in the visual comparison below, BEEBO can maintain a tight, focused cluster around the predicted optimum during exploitation phases, whereas $q$-UCB tends to produce more scattered, less efficient batches.

Visual comparison of q-UCB and BEEBO behavior across explore and exploit regimes. BEEBO provides superior control over the batch distribution.

Quantitatively, BEEBO (particularly the meanBEEBO variant) consistently outperforms $q$-UCB across a wide range of test functions and dimensions. The table below summarizes the highest observed values achieved after 10 rounds of optimization with a batch size of 100.

Performance comparison (highest observed value) after 10 rounds with Q=100. BEEBO variants often outperform q-UCB, especially in higher dimensions.

Key Insights

  • Analytical Efficiency: BEEBO is significantly faster than sampling-based methods like GIBBON for large batches because it leverages the analytical properties of GPs.
  • Predictable Scaling: The temperature parameter $T$ provides consistent control over exploration regardless of the batch size $Q$.
  • Risk Aversion: In heteroskedastic settings, BEEBO naturally avoids high-noise regions in favor of areas with higher information gain.

Conclusion and Future Work

BEEBO provides a principled and computationally efficient framework for batched Bayesian Optimization. By bridging the gap between statistical physics and BO, it offers a robust solution for high-dimensional, large-batch optimization problems. Future research directions include extending the framework to non-GP surrogate models and further optimizing the computational cost of matrix inversions for extremely large datasets.

Summary updated

BibTeX
@inproceedings{teufel2024batched,
  author = {Felix Teufel and Carsten Stahlhut and Jesper Ferkinghoff-Borg},
  title = {{Batched Energy-Entropy acquisition for Bayesian Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=wQiJNyPENt},
}
Figure