TL;DR
This paper introduces SEISMO, a novel LLM agent that significantly boosts the efficiency of molecular optimization by learning from the entire optimization history, not just the latest results. SEISMO achieves 2-3x higher performance on standard benchmarks and demonstrates the crucial role of detailed feedback beyond simple scores in guiding the search for better molecules.
What Problem Does This Paper Address?
Discovering new molecules with specific desired properties, particularly in pharmaceuticals, is a complex and expensive process. The sheer number of possible molecules is astronomical, and evaluating their properties often requires costly and time-consuming experiments or simulations (called "oracles"). This means that any method for molecular optimization must be incredibly "sample-efficient" – it needs to find good molecules using as few evaluations as possible. Traditional methods often rely on evaluating molecules in batches or populations, which can be slow and inefficient when each evaluation is expensive. The challenge is to develop a system that can intelligently propose molecules, learn from each evaluation, and converge to high-quality solutions much faster.
Methods
SEISMO is an LLM agent designed for "strictly online, inference-time molecular optimization." This means it makes decisions and updates its strategy after every single oracle call, without needing to wait for a batch of results. The core innovation is how SEISMO leverages the LLM's capabilities:
- Trajectory-Aware Learning: Instead of just looking at the current molecule's score, SEISMO conditions its next proposal on the entire history of molecules, their scores, and any available feedback. This allows it to learn from the trajectory of the optimization process.
- Leveraging LLM Priors: SEISMO uses the LLM's pre-trained knowledge of chemistry and biology to guide the search. This is achieved through natural-language task descriptions that tell the LLM what properties to optimize.
- Structured Explanatory Feedback: Beyond just a scalar score (e.g., "IC50 = 10 nM"), SEISMO can incorporate structured explanations from post-hoc explainability methods (like SHAP). This feedback explains why a molecule received a certain score, providing richer signals for the LLM to learn from.
- Modular Workflow: The agent operates in a cyclic workflow involving generation, parsing, validation, prediction (oracle call), and finalization. This modularity allows for easy integration of different LLMs and oracles.
Datasets
- Practical Molecular Optimization (PMO) Benchmark: This is an established benchmark consisting of 23 diverse molecular optimization tasks. SEISMO was evaluated on this benchmark using its standard oracles, providing only scalar scores.
- Medicinal-Chemistry Tasks: The authors also created custom tasks to mirror real-world drug discovery workflows, allowing them to control the oracles and test different levels of feedback. These included hit identification (finding active molecules) and lead optimization (refining existing molecules).
- Co-folding-based Oracle: For more complex scenarios, they used a co-folding model (Boltz-2) to predict binding affinity, simulating a more computationally expensive oracle.
Key Insights and Ideas
- History is King: The most significant insight is that conditioning LLM proposals on the entire optimization history dramatically improves sample efficiency compared to methods that only consider recent results or batches.
- Task Descriptions are Crucial: Simply telling the LLM what to optimize (e.g., "maximize similarity") provides a massive performance boost, demonstrating that the LLM's pre-trained chemical knowledge is actively exploited.
- Explanations are More Than Just Scores: Providing structured explanations of why a molecule scored a certain way (e.g., which structural features contributed to a high or low score) leads to further, consistent improvements in sample efficiency. This suggests that explainability methods can serve as powerful control signals for LLM agents.
- LLMs as Optimizers, Not Just Controllers: Unlike many prior LLM agents that orchestrate external tools, SEISMO uses the LLM itself as the core optimizer, directly integrating generation and feedback.
Key Results
- 2-3x Higher AUC on PMO: SEISMO achieved a 2-3 times higher Area Under the Curve (AUC) on the PMO benchmark compared to strong baselines, often reaching near-maximal scores within just 50 oracle calls.
- Rapid Convergence: SEISMO frequently achieved near-optimal task scores within 50 oracle calls, a budget that is often insufficient for prior methods to even complete their first batch update.
- Impact of Feedback: Ablation studies showed that providing task descriptions dramatically improved performance, and further adding explanatory feedback consistently boosted sample efficiency across all tested tasks.
- Co-folding Success: SEISMO demonstrated its ability to leverage expensive, high-fidelity oracles, showing improved optimization even with complex co-folding models.
Limitations and Future Work
- LLM Inference Cost: SEISMO is designed for scenarios where oracle calls are expensive. It is not optimized for situations with millions of cheap oracle calls, as LLM inference itself can be costly.
- Context Window Limits: The optimization horizon is limited by the LLM's context window. While not an issue in this work, future research could explore history summarization techniques for very long-horizon tasks.
- LLM Progress: The authors anticipate that SEISMO's performance will naturally scale with improvements in LLM capabilities, particularly in chemical reasoning and long-horizon planning.
- Experimental Validation: The paper emphasizes that the results are based on predicted scores, and experimental validation is crucial for real-world applications.
Summary updated