Practical Bayesian Optimization for Scientific Discovery

Hamza Tahir Chaudhry, Sean H. Murphy, Umesh Padia, Cengiz Pehlevan, James Harrison, George Church, Jasper SnoekAI4Science @ ICML 2026

TL;DR

The SciOpt framework provides a modular recipe for using scientific foundation models (FMs) to accelerate the discovery of proteins, DNA, RNA, and small molecules. By testing 61 different tasks, the researchers found that lightweight neural surrogates—specifically Variational Bayesian Last Layers (VBLL)—consistently outperform traditional Gaussian Processes when it comes to finding "elite" candidates in vast chemical and biological spaces.

What Problem Does This Paper Address?

Experimental science is a high-stakes game of "hot or cold." Whether you are engineering a more stable protein or a more effective drug, testing candidates in a wet lab is expensive and time-consuming. Bayesian Optimization (BO) is the standard mathematical tool used to decide which experiment to run next by balancing "exploration" (searching unknown areas) and "exploitation" (refining known high-performers).

However, classical BO has two major "bottlenecks":

  1. Scaling: The traditional "gold standard" model, the Gaussian Process (GP), scales poorly as data grows and struggles with discrete data like DNA sequences.
  2. Integration: While we now have powerful "Foundation Models" (FMs) that understand the "language" of biology and chemistry, there hasn't been a systematic study on the best way to plug these FMs into the BO loop.

Methods

The authors introduce SciOpt, a modular framework that treats the discovery process as a "lab-in-the-loop" pipeline. It consists of four independent axes:

  • Foundation Model Backbone: Uses pre-trained models (like ESM-C for proteins or ChemFM for molecules) to turn raw sequences into rich numerical "embeddings."
  • Surrogate Head: The "brain" that learns to predict a property (like binding affinity) and its uncertainty. They compared nine different heads, including standard MLPs, Random Forests, and the high-performing Variational Bayesian Last Layer (VBLL).
  • Acquisition Function: The rule used to pick the next batch. They found Thompson Sampling (sampling a possible function from the model's posterior) to be particularly effective.
  • Fine-Tuning Regime: Testing whether the FM should stay "frozen" or be updated (via LoRA) as new experimental data comes in.

Datasets

This study is arguably the most extensive of its kind, evaluating 61 real-world regression tasks across four modalities:

  • Proteins (18 tasks): Including viral packaging, enzymatic activity, and fitness landscapes (e.g., GB1, TrpB).
  • Chemistry (12 tasks): Molecular property benchmarks like MoleculeACE and GOLLuM.
  • RNA (20 tasks): Splicing, ribozyme cleavage, and fitness landscapes from RNAgym.
  • DNA (11 tasks): Promoter expression and enhancer activity (e.g., DeepSTARR, Gosai).

Key Insights and Ideas

  • The GP is no longer king: For years, Gaussian Processes were the default for BO. This paper shows that neural surrogates (MLP Ensembles and VBLL) are more flexible and provide better "coverage" of elite candidates across almost all biological domains.
  • The Calibration Paradox: Interestingly, a model doesn't need to be "perfectly calibrated" (knowing exactly how much it doesn't know) to be a great optimizer. Even "badly calibrated" MLP ensembles sat on the Pareto frontier because they were good at ranking the best candidates, even if their uncertainty estimates were technically off.
  • LLMs suffer from "Mode Collapse": When the researchers tried using an LLM (like Qwen 3.6) to pick candidates directly via In-Context Learning, the LLM tended to get stuck. It would find one good region and keep suggesting similar candidates rather than exploring the full diversity of the space.
  • Batch Size vs. Feedback: In real labs, we use 96-well or 384-well plates. The paper confirms a "statistical cost" to large batches: smaller batches reach peak performance faster because the model gets to "learn" from its mistakes more frequently.

Key Results

  • VBLL + Thompson Sampling emerged as the unique "upper-right" winner on the Pareto frontier for Chemistry, RNA, and DNA tasks.
  • MLP Ensembles were the top performers for Protein engineering.
  • SciOpt vs. LLMs: SciOpt significantly outperformed an in-context LLM surrogate (Qwen3.6-35B) in recovering "elite" (Top-5%) candidates across every modality.
  • SciOpt vs. Generative Design: SciOpt beat a steered discrete diffusion model (SGPO) on complete protein landscapes, largely because the generative model struggled with diversity and "mode collapse" under optimization pressure.

Limitations and Future Work

The authors are transparent about several constraints:

  • Retrospective Study: The evaluation was done on existing datasets with known labels. A "live" wet-lab loop would introduce messy operational constraints (like synthesis failure) not captured here.
  • Single-Objective: Real-world discovery often requires balancing multiple goals (e.g., a drug must be both potent and non-toxic). SciOpt currently focuses on optimizing one variable at a time.
  • Fixed Candidate Pools: The model selects from a pre-defined list rather than "dreaming up" entirely new sequences from scratch.

Future Direction: The next step is validating SciOpt in a closed-loop "robotic chemist" or wet-lab setting to see if these theoretical gains translate into faster real-world breakthroughs.

Summary updated

BibTeX
@inproceedings{chaudhry2026practical,
  author = {Hamza Tahir Chaudhry and Sean H. Murphy and Umesh Padia and Cengiz Pehlevan and James Harrison and George Church and Jasper Snoek},
  title = {{Practical Bayesian Optimization for Scientific Discovery}},
  booktitle = {AI4Science @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=zofFVuiROg},
}
Figure