Inverse Bayesian Optimization Recovers Time-Resolved Search Strategies\\from Human and LLM-driven Experimental Campaigns

Mattias Akke, Soojung YangAI4Science @ NeurIPS 2026

TL;DR

When we put Large Language Models (LLMs) in charge of scientific experiments, we usually only grade them on their final score—not how they played the game. This paper adapts inverse Bayesian optimization (iBO) to decode the step-by-step search strategies of both human chemists and LLMs in reaction-optimization campaigns. The authors find that humans rely on cautious, one-factor-at-a-time tweaks, whereas LLMs are overwhelmingly greedy—and simply telling an LLM to "explore more" doesn't change its behavior, though changing what data it sees does.

What Problem Does This Paper Address?

In fields like chemistry and materials science, finding the right recipe—say, the best combination of catalyst, solvent, and temperature—means navigating a massive combinatorial space where every experiment is expensive. Increasingly, researchers are plugging LLMs into these discovery loops to pick the next experiment.

The catch? Almost all evaluations of LLM-driven science rely on performance metrics (e.g., "did it find a high-yield reaction?"). Outcome metrics tell you what happened, not why. Did the LLM explore uncertain regions, or did it just greedily exploit early lucky hits? Existing inverse Bayesian optimization (iBO) methods can infer an agent's underlying strategy, but they were built for small, continuous spaces—not the high-dimensional, categorical spaces common in chemistry.

Methods

The authors rebuild iBO for finite, categorical search spaces using a Gaussian Process (GP) surrogate model to estimate the mean ($\hat{\mu}$) and uncertainty ($\hat{\sigma}$) of untested experiments. They model an agent's choices as a weighted mixture of five interpretable reference policies:

  • Greedy (Gr): Picks candidates with the highest predicted mean ($\hat{\mu}$).
  • Upper-Confidence Bound (UCB): Balances mean and uncertainty ($\hat{\mu} + 2\hat{\sigma}$).
  • Random (Rd): Uniformly samples unselected candidates.
  • One-Factor-at-a-Time (OFAT): A classic human heuristic that tweaks one variable at a time around the most recent experiment.
  • Directed Evolution (DE): Searches locally around the best experiment found so far.

To make these heterogeneous policies comparable, the authors calibrate each policy's softmax temperature so they all share the same target entropy. They then use Expectation Maximization (EM) to recover the mixture weights ($w_k$) at each optimization step, using 10,000 bootstrap resamples for confidence intervals.

Datasets

The study evaluates strategies on two categorical reaction-optimization landscapes from the EDBO benchmark:

  • Direct arylation: 1,728 possible combinations (base, ligand, solvent, temperature, concentration).
  • Aryl amination 2b: 792 possible combinations (aryl halide, additive, base, ligand).

They analyze:

  1. Human trajectories: 50 expert chemists and process engineers playing a simulated optimization game on direct arylation (using 241 first-of-batch choices).
  2. LLM trajectories: Five frontier models (Claude Sonnet 4.6, GLM-4.7, GPT-5.4, Kimi K2.5, Qwen3.5-397B) running 15 campaigns of 10 steps each.
  3. LLM-on-Human: Warm-starting the LLMs by feeding them a human's past observations to see if they adopt human-like strategies.
  4. Intervention experiments: Running GPT-5.4 (no-reasoning mode) on direct arylation under three prompt modifications: Explore (instructing it to explore), Label-unlabel (hiding fitness scores on odd steps), and UCB informed (appending the top 5 GP-UCB candidates from step 6 onward).

Key Insights and Ideas

  • Humans and LLMs play different games: Humans split their strategy between local search around the best result (DE) and varying one factor at a time (OFAT). LLMs, by contrast, are exploitation-dominant—heavily favoring Greedy and DE, with virtually zero OFAT.
  • Neither side uses uncertainty: Canonical Bayesian optimization relies on uncertainty-driven exploration (like UCB), yet neither humans nor LLMs place meaningful weight on UCB.
  • LLM strategy is intrinsic: Warm-starting LLMs on human trajectories doesn't make them act like humans. They stick to their greedy, exploitative habits regardless of the history in their prompt.
  • Show, don't tell: Because iBO works step-by-step, it can monitor an agent online and test interventions. Telling an LLM "Explore as much as possible" barely moves the needle. However, changing what the agent sees—such as showing it a list of GP-UCB recommendations—immediately shifts its strategy.

Key Results

Figure 1: Mixture weights by policy on direct arylation. Error bars are a 95% nested-bootstrap interval. Humans place significant weight on OFAT and DE; LLMs running their own campaigns place theirs on greedy and DE. LLMs continuing human trajectories are close to independent LLMs.
  • Human vs. LLM weights (Direct Arylation): Humans place most of their weight on DE ($w_{\text{DE}} = 0.61$) and OFAT ($0.27$). LLMs are dominated by Greedy ($w_{\text{Gr}} = 0.48$) with $0.00$ OFAT mass. LLMs are significantly more greedy ($\Delta w_{\text{Gr}} = +0.37$, 95% CI $[+0.29, +0.53]$) and less OFAT-driven ($\Delta w_{\text{OFAT}} = -0.27$, 95% CI $[-0.38, -0.15]$). UCB weight never exceeds $0.01$ for either group.
  • Time-resolved drift: Across both reaction datasets, LLMs consistently drift away from DE toward Greedy over the 10-step campaign, with no exploratory phase.
IBO weights per step under prompt-based interventions
  • Interventions: In GPT-5.4, the Explore prompt produces no material change. Label-unlabel causes the model to behave nearly randomly on unlabeled steps. UCB informed causes the model's UCB weight to jump to $\approx 1.0$ immediately at step 6.

Limitations and Future Work

The authors note several caveats:

  • Relative, not absolute: iBO weights are relative to the five chosen policies; any strategy orthogonal to all five will simply be absorbed by whichever fits least badly.
  • Pooling and data loss: Averaging across cohorts prevents resolving individual human experts' strategies. Additionally, because weights are sensitive to trajectory length, matching LLM and human trajectory lengths required clipping data.
  • Batching: Experiments were run in batches of 5, but the authors only analyzed the first choice of each batch to avoid confounding in-batch selection strategies—leaving batched iBO for future work.

Summary updated

BibTeX
@inproceedings{akke2026inverse,
  author = {Mattias Akke and Soojung Yang},
  title = {{Inverse Bayesian Optimization Recovers Time-Resolved Search Strategies\textbackslash\{\}\textbackslash\{\}from Human and LLM-driven Experimental Campaigns}},
  booktitle = {AI4Science @ NeurIPS},
  year = {2026},
  url = {https://openreview.net/forum?id=ngh0MyMu8B},
}
Figure