Expert-Guided Bayesian Optimization for Sustainable Protein Design
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.
FormulateBench in our target setting of 10 batches of 3 recipes with Claude Opus 4.7 as the LLM, (a) without and (b) with Gaussian observation noise. Curves show the mean over 24 categories of the true normalized distance of each method’s recommended recipe (lower is better); the shaded region shows a 95% confidence interval across categories for EGBO (lighter for other methods). EGBO and the conventional baselines average 10 seeds per category; each iterative LLM arm is one trajectory per category. Results with other LLMs, one-recipe-at-a-time results with all baselines, and other noise levels are in the paper’s appendix.
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.
At a Glance
tasks in FormulateBench
(14 meat, 10 dairy)
(vs. 0.68 direct LLM optimization;
lower is better)
plant-based yogurt / cottage cheese
(10 batched iterations each)
(vs. 0.850 for a professional
food scientist)
Contributions
A formal division of labor between expert and optimizer
We formalize EGBO, in which an expert selects a subspace and BO optimizes within it, optionally expanding the subspace over time. We decompose EGBO’s error into a selection gap, the expert’s responsibility, and an optimization gap, BO’s responsibility, and we measure both throughout the paper. On a controlled synthetic benchmark (Hartmann6 embedded in 200 dimensions), expert guidance helps only when the expert’s recall is high and false positives are rare, and a weak expert can do worse than random search.
FormulateBench and when to delegate to an optimizer
To support evaluating formulation methods before costly laboratory work, we introduce FormulateBench, 24 plant-based formulation tasks (14 meat, 10 dairy) grounded in real nutritional targets. We implement the three strategies (direct iterative LLM optimization, conventional BO, and EGBO) as fixed pipelines. For every LLM tested, most of the error in its first recipe comes from the concentrations rather than the choice of ingredients, which is precisely the part that BO refines in EGBO. In our target setting of batched, noisy experiments, EGBO outperforms conventional BO and outperforms direct LLM optimization with all three LLMs tested, significantly for two. Without noise, the strongest LLMs match EGBO. Given code execution, none of three LLM agents ran a BO loop, even when told that BoTorch was installed, and most runs fit no model of their data at all.
Real-world deployment and human comparison
We deploy LLM-guided EGBO with Proxy Foods AI to optimize two plant-based dairy products, improving sensory utility, as assessed by a trained human panel, by 29% and 26% in 10 iterations. In a comparison with a professional food scientist given the same laboratory time, EGBO reached a best observed utility of 0.992, vs. 0.850.
FormulateBench
FormulateBench has 24 tasks (14 meat, 10 dairy) in which the goal is to select plant-based ingredients and concentrations to match an animal product’s nutritional profile. The objective is z-score RMSE over eight nutrients, computed from USDA FoodData Central. All methods use the same filtered pools of 106 meat or 90 dairy ingredients drawn from NECTAR. The problem’s mathematical structure (non-negative least squares) guarantees an optimum with at most 9 ingredients under the simplex constraint.
In the target setting of 10 batches of 3 recipes with noisy evaluations, both iterative LLM arms stop improving after the first batch, and telling the LLM the noise level does not help. EGBO keeps improving and ends below direct LLM optimization (0.48 vs. 0.68; 19/24 categories, p < 0.001, Wilcoxon signed-rank). It also outperforms vanilla BO and TuRBO, on 21/24 and 22/24 categories, respectively. Without noise, EGBO also reaches the lowest distance after 30 evaluations, 0.34, compared with 0.44 for direct LLM optimization (19/24 categories, p < 0.001) and 0.51–0.52 for TuRBO and vanilla BO. With GPT-6.1 Sol or Gemini 4 Argon as the LLM, direct LLM optimization matches EGBO without noise (differences not significant). Under noise, it falls behind for GPT-6.1 Sol (18/24, p < 0.001) but not significantly for Gemini 4 Argon (15/24, p = 0.12).
Together, these results suggest a division of labor: the LLM is most reliable at choosing what to vary, and BO at determining how much.
Real-World Deployment: Sustainable Dairy Formulation
We deploy EGBO in two real-world sustainable protein applications in partnership with Proxy Foods AI, each in our target setting of batched experiments with noisy panel evaluations. Proxy has developed a commercially available, LLM-based agentic framework, which we denote Food Scientist Agent (FSA) and use as the expert in EGBO. From Proxy’s ingredient database (N ≈ 88,000), FSA performed one-shot variable selection, selecting d = 7 active ingredients for yogurt and d = 9 for cottage cheese. In both cases, the total laboratory budget was T = 10 iterations of 3 recipes each (30 total recipes), prepared under standardized protocols and scored by a trained sensory panel on a 0 to 15 scale.
| Product | Sensory attributes | Baseline utility | Best observed utility | Improvement |
|---|---|---|---|---|
| Plant-based yogurt | Consistency, Creaminess, Tanginess, Uniformity | 0.767 | 0.992 | 29% |
| Plant-based cottage cheese | Homogeneity, Dispersion Phase, Slipperiness, Sourness, Dairy, Off-Notes | 0.776* | 0.975* | 26% |
Scalar utility. For each attribute j, with panel score sj(x), target tj, m attributes and scale maximum Smax, utility is f(x) = (1/m) Σj (1 − |sj(x) − tj| / Smax), which lies in [0, 1] with 1 for an exact match. *In the cottage cheese campaign, the six attribute weights were entered as wj = 0.17 (summing to 1.02) rather than 1/6, so cottage cheese utilities are on that scale, with a maximum of 1.02. Rescaling to wj = 1/6 gives a baseline of 0.761 and a best of 0.956, the same 26% improvement.
| Attribute | Target | Baseline | Best | Error before | Error after |
|---|---|---|---|---|---|
| Consistency | 12 | 5 | 12 | 7 | 0 |
| Creaminess | 5 | 3 | 5 | 2 | 0 |
| Tanginess | 5 | 10 | 5 | 5 | 0 |
| Uniformity | 13 | 13 | 12.5 | 0 | 0.5 |
| Utility f(x) | 1.000 | 0.767 | 0.992 | 0.233 | 0.008 |
Overall utility of the plant-based yogurt, as assessed by the median scores of a trained panel of five participants, improved 29% relative to baseline.
Best plant-based yogurt formulation (iteration 7, recipe 3).
EGBO vs. Human Food Scientist
We compare EGBO with a professional human food scientist (HFS) on the yogurt task. HFS had prior experience in recipe formulation but no prior experience specifically with plant-based dairy, to avoid the situation of HFS simply reproducing a suitable recipe from memory. This mirrors the setting of a company entering a new product category rather than reproducing a known recipe. HFS had unrestricted internet and literature access, and did not have access to EGBO’s suggestions or results.
We report two comparisons under the same approximate laboratory time (40 hours). In the workflow comparison, HFS develops a yogurt from scratch and reaches utility 0.850, while EGBO (FSA selection plus BO) reaches 0.992. The same-start comparison isolates refinement. From FSA’s recipe (0.767), HFS reaches 0.867 and BO reaches 0.992.
peaked at 0.992 by iteration 7
29 trials over ~40 hours
| Method | Start | Best | Relative Gain | Lab time |
|---|---|---|---|---|
| Experiment 1: Overall workflow | ||||
| HFS from scratch | – | 0.850 | – | ~40 h |
| EGBO: FSA + BO | 0.767 | 0.992 | +17% vs. HFS | ~40 h |
| Experiment 2: Same-start refinement | ||||
| HFS refinement | 0.767 | 0.867 | – | ~40 h |
| BO refinement | 0.767 | 0.992 | +14% vs. HFS | ~40 h |
Human comparison on plant-based yogurt. We first compare the overall workflows under the same approximate laboratory time budget; the same-start comparison isolates the refinement step. EGBO’s refinement includes two initial space-filling batches.
Experiment 2: EGBO vs. HFS, both optimizing the same starting recipe (f(x(0)) = 0.767) over 10 iterations. EGBO proposes 3 recipes per iteration; HFS produces 1. EGBO reaches 0.992 by iteration 7, while HFS reaches 0.867 by iteration 10, a 14.4% gap.
EGBO allows parallelism: it proposes a batch of 3 recipes per iteration, all of which can be prepared and evaluated in a single laboratory session, whereas HFS’s sequential reasoning requires one-at-a-time execution. EGBO is also more consistent. HFS’s trajectory shows regressions (iterations 4–5 and 8 in Experiment 2), whereas EGBO’s GP surrogate maintains a global model, which may reduce such backsliding.
Limitations: each campaign is a single run, compared with one food scientist but not with direct LLM optimization. The best utilities of both EGBO and the food scientist are maxima over single panel evaluations, which are biased upward, more so for EGBO’s 30 recipes.
Bring EGBO to Your Products
Sustainable protein developers interested in incorporating AI into their R&D workflows can apply for personalized technical support from the Food Intelligence Lab. We partner with you to bring EGBO and our other AI tools into your products and workflow, at no cost, and the tools are open source. We are selecting a limited number of organizations.
BibTeX
@inproceedings{thomas2026egbo,
title = {Expert-Guided {Bayesian} Optimization for
Sustainable Protein Design},
author = {Thomas, Anna and Zaverdinos, Georgios and
Mandalis, Petros and Orfanoudakis, Andreas and
Takino, Akihiro and Patnaik, Sohum and
Kraus, David J. and Kostopoulos, Panos and
Cotto, Caroline and Tsiaparas, Nikos and
Jurafsky, Dan and Patel, Aadit},
booktitle = {Advances in Neural Information Processing Systems
(NeurIPS)},
year = {2026},
eprint = {2611.40257},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.40257}
}