Expert-guided Bayesian optimization for sustainable protein design
Abstract
Agentic laboratories give LLM agents control of experiments, alongside scientific tools such as optimizers and code execution. How should such systems choose the next experiment? We study whether an LLM agent should propose experiments directly, delegate them to Bayesian optimization (BO), or select the design space itself and delegate refinement. We formalize the third option as Expert-Guided Bayesian Optimization (EGBO), in which an expert (e.g., an LLM or a human) selects a low-dimensional subspace for BO and may adaptively expand it over time. We decompose EGBO's suboptimality into a selection gap and an optimization gap, and characterize the coverage-dimension tradeoff governing when expert guidance helps. To support in silico prototyping before costly laboratory work, we introduce FormulateBench, a suite of 24 sustainable protein formulation tasks. In batched experiments that mirror our laboratory deployment, EGBO outperforms conventional BO. The strongest LLMs match EGBO without noise but underperform it under noise, even when told the noise level. When deployed to optimize two plant-based dairy products, EGBO improves utility, as assessed by a trained human panel, by 29\% and 26\% in 10 batched iterations each. In a comparison with a professional food scientist given the same time budget, EGBO reached a best observed utility of 0.992, vs. 0.850 for the food scientist.