TL;DR
This paper introduces Large Discovery Models (LDMs), a framework that combines the creative, structured proposal capabilities of Large Language Models (LLMs) with the rigorous uncertainty quantification of Bayesian Optimization. By using a Gaussian Process surrogate to guide LLM generation, LDMs successfully navigate vast, open-ended scientific design spaces—such as molecular optimization, protein engineering, and automated code generation—under strict experimental budgets.
What Problem Does This Paper Address?
AI-driven scientific discovery requires searching through massive, complex, and open-ended spaces (e.g., finding a specific antibody sequence or optimizing a computer program). Currently, researchers face a dilemma between two paradigms:
- Generative Models (LLMs): Excellent at understanding structure and proposing plausible candidates, but poorly calibrated. They cannot reliably evaluate their own ideas or quantify their uncertainty, often hallucinating unviable solutions.
- Bayesian Optimization (BO): Highly sample-efficient and excellent at balancing exploration and exploitation using probabilistic surrogates. However, BO struggles to propose valid candidates in high-dimensional, discrete, or unbounded combinatorial spaces without heavy manual feature engineering.
The authors address this gap by creating a closed-loop system where an LLM acts as an adaptive reservoir of proposals, while a data-driven surrogate model grounds the search in real-world empirical feedback.
Methods
The Large Discovery Model (LDM) operates as a recurrent search-and-learn loop consisting of three main components:
- Generative Foundation Model: Proposes, edits, and refines candidate designs based on the current search context.
- Probabilistic Surrogate: A non-parametric Gaussian Process (GP) model trained on historical experimental data that predicts candidate rewards and quantifies epistemic uncertainty.
- Model-Based Acquisition Function: Combines the surrogate's mean and uncertainty predictions (e.g., Upper Confidence Bound or Expected Improvement) to score candidates.
Instead of using standard LLM decoding, LDM introduces Acquisition-Tilted Search. The LLM generates a pool of candidates, which are then reweighted or selected based on their acquisition scores.
To scale this efficiently, the authors introduce a post-training amortisation scheme. Through reasoning-augmented supervised fine-tuning (SFT), the high-budget test-time search policy is distilled directly into the LLM's weights. Crucially, the exact numerical values of the surrogate are hidden during training, forcing the model to learn an internal "discovery intuition" by mapping raw experimental history to semantic reasoning rationales.
Datasets
The LDM framework was evaluated across three distinct digital-oracle benchmarks representing different scientific modalities:
- AutoResearch: A multi-turn program editing task based on a public project by Andrej Karpathy. The agent repeatedly modifies a neural-network training script (
train.py) to minimize validation bits-per-byte (BPB) under a strict 5-minute training budget. - Antibody CDRH3 Design: A discrete combinatorial optimization task utilizing the Absolut! structure-based simulator to discover antibody sequences with high binding affinity (low lattice binding energy) across five PDB targets.
- Small-Molecule Drug Discovery: A multi-objective optimization task targeting the KRAS G12D protein. It optimizes two conflicting rewards: AutoDock Vina docking scores and neural-network binding activity, evaluated via the hypervolume of the Pareto front.
Key Insights and Ideas
- The Tripartite Search Regime: The paper expands the classic "exploration vs. exploitation" dichotomy into a tripartite view: exploitation (targeting high predicted rewards), exploration (targeting high uncertainty within known bounds), and discovery (expanding the search frontier into entirely new design families when local progress stalls).
- Value Distillation Over Reward Memorization: Unlike standard alignment (which distills human preferences) or reasoning models (which distill static verification paths), Discovery LLMs distill epistemic acquisition value. The model learns why an experiment is worth running under uncertainty, rather than just memorizing successful end products.
- Hiding the Surrogate Numbers Works Better: Hiding exact Gaussian Process metrics during fine-tuning forces the model to internalize search strategies textually. This linguistic grounding allows the distilled policy to generalize robustly to out-of-distribution tasks and entirely unseen domains.
Key Results
LDM consistently outperformed LLM-only reflection and traditional statistical search baselines across all domains:
- Code Optimization (AutoResearch): LDM achieved a 2.4× greater absolute reduction in validation BPB compared to the LLM-only baseline, surpassing top leaderboard entries.
- Antibody Design: LDM achieved an 18.2% relative decrease in mean binding energy compared to LLM-only reflection after 200 evaluation steps, performing on par with highly specialized biology baselines like AntBO.
- Molecular Optimization: LDM improved the Pareto front hypervolume by 62.4% over LLM reflection and 63.1% over classical Bayesian Optimization.
- Zero-Shot Generalization: In task-level out-of-distribution tests, an LDM trained only on code and small-molecule data matched the performance of an in-distribution model when dropped into the antibody design loop, proving it had learned a universal search strategy.
Limitations and Future Work
Despite its strong performance, the authors note several constraints:
- Computational Complexity: Exact Gaussian Processes scale cubically ($O(t^3)$) with the number of observations, limiting scalability for massive experimental budgets.
- Inference Overhead: Test-time search relies heavily on large-batch candidate sampling, which incurs substantial LLM compute costs.
- Domain Customization: Surrogate kernel functions and feature representations still require manual engineering for each new domain.
- Knowledge Constraints: The system cannot bypass the fundamental boundaries of the LLM's pretrained domain knowledge.
Future Directions: The authors plan to integrate memory retrieval mechanisms to leverage external "unknown knowns" (e.g., existing literature databases) and implement sparse Gaussian Processes to improve computational scalability.
Summary updated