Batched Bayesian optimization with correlated candidate uncertainties

Jenna C. Fromer, Runzhong Wang, Mrunali Manjrekar, Austin Tripp, José Miguel Hernández-Lobato, Connor W. Coley · DOI · OpenReview

Abstract

Batched Bayesian optimization (BO) can accelerate molecular design by efficiently identifying top-performing compounds from a large chemical library. Existing acquisition strategies for batch design in BO aim to balance exploration and exploitation. This often involves optimizing non-additive batch acquisition functions, necessitating approximation via myopic construction and/or diversity heuristics. In this work, we propose an acquisition strategy for discrete optimization that is motivated by pure exploitation, qPO (multipoint Probability of Optimality). qPO maximizes the probability that the batch includes the true optimum, which is expressible as the sum over individual acquisition scores and thereby circumvents the combinatorial challenge of optimizing a batch acquisition function. We differentiate the proposed strategy from parallel Thompson sampling and discuss how it implicitly captures diversity. Finally, we apply our method to the model-guided exploration of large chemical libraries and provide empirical evidence that it is competitive with and complements other state-of-the-art methods in batched Bayesian optimization.

Introduction

In high-stakes fields like drug discovery and materials science, researchers often seek the "needle in the haystack"—the single best-performing molecule or material within a vast candidate space. Bayesian Optimization (BO) has emerged as a powerful framework for this task, using surrogate models to guide the search. However, modern laboratory automation and parallel simulations allow for testing candidates in batches rather than one by one.

The primary challenge in batched BO is that a high-quality batch is not merely a collection of high-quality individuals. Selecting the top $b$ candidates based on individual scores often leads to redundant testing of similar compounds, wasting valuable experimental resources. To combat this, traditional methods employ complex batch acquisition functions that attempt to balance exploitation and exploration. These functions are typically non-additive, meaning the value of adding a specific candidate depends on the other members of the batch, leading to a difficult combinatorial optimization problem.

The qPO Acquisition Strategy

The authors introduce qPO (multipoint Probability of Optimality), a strategy designed for discrete optimization that simplifies batch selection by focusing on a single, purely exploitative objective: maximizing the probability that the true global optimum is included in the selected batch.

Overview of the qPO acquisition strategy: 1) Training the surrogate model, 2) Generating posterior samples, 3) Estimating individual probabilities of optimality, and 4) Constructing the batch.

The mathematical elegance of qPO stems from the property of additivity. Under the assumption of a unique optimum, the probability that a batch contains the optimum is exactly the sum of the probabilities that each individual in that batch is the optimum. This transforms the combinatorial batch selection problem into a straightforward ranking task.

The implementation utilizes Monte Carlo integration to estimate these probabilities. As shown in the algorithm below, the process involves sampling from the joint posterior of the surrogate model and counting how often each candidate emerges as the winner across these samples.

Algorithm 1: The formal procedure for Bayesian optimization with qPO using Monte Carlo integration.

Key Insights: Implicit Diversity and Additivity

A notable feature of qPO is its ability to maintain batch diversity without explicit diversity-promoting heuristics. Because the method relies on the joint posterior, it accounts for the correlations between candidates. If two candidates are highly similar, they "share" the probability of being the optimum. Consequently, the algorithm is incentivized to pick one representative from a cluster of similar high-performers and then look elsewhere for other candidates that have an independent chance of being the global winner.

Furthermore, by framing the objective as "including the optimum," qPO avoids the computational overhead associated with non-additive functions like multipoint Expected Improvement (qEI). This makes it highly scalable for large discrete candidate spaces, provided the covariance matrix can be managed.

Empirical Evaluation and Results

The performance of qPO was validated on two significant molecular design tasks:

  1. Antibiotic Discovery: Searching a library of nearly 40,000 compounds for inhibitors of Staphylococcus aureus.
  2. Organic Electronics: Identifying molecules with the largest HOMO-LUMO gap in the QM9 dataset (133,000 molecules).

In these benchmarks, qPO demonstrated performance competitive with or superior to state-of-the-art methods like GIBBON, parallel Thompson Sampling (pTS), and qPI. It was particularly effective at "top-k retrieval," finding the absolute best candidates early in the optimization process. Visual analysis confirmed that the batches selected by qPO were structurally diverse, achieving this property naturally through the model's covariance structure.

Limitations and Future Directions

While effective, qPO has computational constraints. The Monte Carlo estimation requires Cholesky decomposition of the covariance matrix, which scales cubically with the number of candidates. For very large libraries, a pre-filtering step is necessary to reduce the candidate pool. Additionally, the method's reliance on covariance means its diversity-promoting benefits might diminish in extremely noisy environments where observation noise overshadows structural correlations.

Future research may focus on analytical approximations to speed up score calculation and extending the framework to handle noisier optimization settings more robustly.

Summary updated

BibTeX
@article{fromer2024batched,
  author = {Jenna C. Fromer and Runzhong Wang and Mrunali Manjrekar and Austin Tripp and José Miguel Hernández-Lobato and Connor W. Coley},
  title = {{Batched Bayesian optimization with correlated candidate uncertainties}},
  journal = {Journal of Chemical Information and Modeling},
  year = {2024},
  url = {https://openreview.net/forum?id=qam9YvVthw},
}
Figure