Back to search

EPFL

Language, Likelihood, and the Laboratory: Aligning Language Models with Bayesian Optimization for Experimental Discovery

Abstract

dc:description

Experimental science is expensive: every measurement consumes time, reagents, and effort, and the question of what to try next is the binding constraint on the rate of discovery. Bayesian optimization (BO) provides a principled answer, using probabilistic surrogate models to balance exploration and exploitation with calibrated uncertainty. In practice, however, BO depends on representing the coordinate system in which the surrogate operates. This representation has historically been hand-crafted, domain-specific, and non-transferable. Large language models (LLMs) encode vast scientific knowledge and accept natural language as a universal input, but they are uncalibrated and prone to confident error. This thesis argues that the two paradigms are not in tension: training a language model through a Gaussian process turns uncertainty from a limitation into a signal. Part I establishes what Bayesian optimization can achieve in practice and where it breaks down. A review of BO foundations for chemical reactions is followed by two empirical studies that expose the representation bottleneck. In additive screening across 720 structurally diverse compounds, one-hot encoding reduces BO to random search and only chemically meaningful descriptors restore meaningful optimization. Stepping outside organic chemistry, colloidal nanocrystal synthesis demanded reformulating even the objective, a geometric shape, as a continuous surface energy scale, and enabled the discovery of a previously unreported Cu rhombic dodecahedral morphology in fewer than fifteen iterations. Part I demonstrates both the power of principled sequential experimentation and its cost: every new domain requires its own representations, its own objective, and its own feature engineering. Part II resolves this bottleneck by grounding Bayesian optimization in natural language. Static LLM embeddings of reaction descriptions are shown to be competitive with domain-specialized fingerprints as GP surrogate inputs, but remain textual rather than experimental. GOLLuM closes this gap by training the language model jointly with the Gaussian process through the marginal likelihood, producing representations that are simultaneously task-adapted, uncertainty-calibrated, and domain-general; across 23 benchmarks spanning organic synthesis, process chemistry, materials science, and molecular design, it ranks first on average with fixed hyperparameters. GGOLLuM extends the framework to the generative loop: a preference-optimized actor is trained through the critic's own acquisition function to directly generate high-utility candidates, amortizing acquisition search into the language model itself. The result is a framework in which experimental scientists across different domains can describe their problem in language and receive uncertainty-calibrated recommendations.

Degree

thesis:*
Grantor dc:publisher
EPFL
Year dc:date
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Rankovic, Bojana
Contributors dc:contributor
  • Schwaller, Philippe

Subjects

dc:subject × 10

Rights

Language dc:language
eng

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
EPFL
Base URL
infoscience.epfl.ch/server/oai/openaire4
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Rankovic, Bojana. Language, Likelihood, and the Laboratory: Aligning Language Models with Bayesian Optimization for Experimental Discovery. EPFL, 2026. https://doi.org/10.5075/epfl-thesis-11750