Batched Stochastic Bayesian Optimization via Combinatorial Constraints Design

Kevin K. Yang, Yuxin Chen, Alycia Lee, Yisong Yue

Introduction

In fields like protein engineering, researchers often cannot test specific sequences individually. Instead, they design a "library" of possibilities and sample from it in batches. This paper introduces Batched Stochastic Bayesian Optimization (BSBO), a framework that optimizes the constraints used to build these libraries. By decomposing a complex objective function into a "difference of submodular functions" (DS), the authors provide an efficient way to navigate massive combinatorial spaces and find rare, high-performing biological variants.

The Problem: Indirect Selection and Stochastic Batching

Traditional Bayesian Optimization (BO) is designed for finding the "best" item by sequentially querying points. However, in biochemical engineering—specifically site-saturation mutagenesis (SSM)—experimenters face two major hurdles:

  1. Indirect Selection: One does not pick a specific protein sequence to test. Instead, one chooses which amino acids are allowed at specific sites (constraints), generating a "library" of thousands or millions of possible sequences.
  2. Stochastic Batching: A batch (e.g., 100–1000 items) is then randomly sampled from that library for measurement.
The workflow of site-saturation mutagenesis (SSM) involves designing library constraints, synthesizing the library, and sampling candidate sequences for measurement.

The central challenge is designing library constraints to maximize the probability that a random batch contains high-utility items. This is a difficult combinatorial problem because the number of possible libraries is exponential, and the reward depends on a random sampling process.

Methodology: Online-DSOpt

The authors propose Online-DSOpt, an algorithm designed to select library constraints over multiple rounds of experimentation.

Surrogate Acquisition Function

Since calculating the exact expected reward of a library is computationally intensive, the researchers developed a surrogate function ($\hat{F}$) that estimates the number of "improved" items (those exceeding a threshold $\tau$) expected in a batch, assuming independence between sequences.

DS Optimization

The core innovation is recognizing that while the objective function is not "submodular," it can be expressed as a Difference of Submodular (DS) functions. They introduce two polynomial-time algorithms for this decomposition: DSConstruct-SA (using submodular augmentation) and DSConstruct-DC (leveraging a "difference of convex" approach). Once decomposed, a "Modular-modular" procedure iteratively improves the library design toward a local maximum.

Experimental Evaluation

The approach was evaluated on three types of landscapes:

  • Synthetic Datasets: Small-scale spaces with multiple local optima.
  • NK Model: A standard mathematical model for "rugged" fitness landscapes.
  • Real Protein Landscapes: Fully characterized datasets for GB1 (protein G domain B1) and PhoQ (protein kinase), where the fitness of every possible sequence is known.

Key Results and Insights

Online-DSOpt consistently outperformed common greedy heuristics. At small batch sizes, greedy methods often failed to find any improved sequences, while DSOpt successfully identified high-utility constraints.

Performance of Online-DSOpt compared to greedy heuristics and other baselines in finding the maximum fitness (max f) across samples.

On real protein datasets, the algorithm found rare, highly-improved sequences that would be nearly impossible to find via random sampling alone. It also outperformed the "recombine" heuristic (combining best single mutations), demonstrating its ability to navigate complex, non-additive interactions (epistasis) common in biology.

Discussion and Future Work

A key insight is that shifting the decision variable from items to rules for generating items is a powerful abstraction for high-throughput science. While the current surrogate function assumes sequence independence, future work could incorporate known correlations via Gaussian Process covariance. Additionally, scaling the DS decomposition to libraries with dozens of mutation sites and accounting for experimental noise (like sequencing "dropout") remain important challenges for broader application.

Summary updated

BibTeX
@inproceedings{yang2019batched,
  author = {Kevin K. Yang and Yuxin Chen and Alycia Lee and Yisong Yue},
  title = {{Batched Stochastic Bayesian Optimization via Combinatorial Constraints Design}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2019},
}
Figure