Abstract
Optimizing chemical reaction conditions is a high-dimensional search problem traditionally plagued by the "cold start" issue and the curse of dimensionality. We present ChemBOMAS, a multi-agent framework that integrates Large Language Models (LLMs) with Bayesian Optimization (BO). By leveraging LLMs for search space decomposition via scientific literature and generating "pseudo-data" through domain-specific fine-tuning, ChemBOMAS achieves convergence up to 5 times faster than state-of-the-art baselines, demonstrating superior efficiency in both benchmark datasets and real-world wet-lab applications.
Introduction
The discovery of optimal reaction conditions—encompassing catalysts, ligands, bases, and solvents—is a cornerstone of chemical research. However, the vastness of chemical space makes exhaustive experimentation impossible. While Bayesian Optimization (BO) offers a systematic approach by building probabilistic models of experiments, its purely statistical nature often lacks chemical intuition. This leads to two primary challenges: the "cold start" problem, where BO lacks initial data to build accurate models, and the "curse of dimensionality," where the search space is too vast for efficient exploration. ChemBOMAS addresses these by injecting chemical knowledge and synthetic data into the BO loop.
Methodology
ChemBOMAS is a multi-agent system that assists BO through two synergistic strategies: knowledge-driven search space decomposition and data-driven warm-starting.
Knowledge-Driven Search Space Decomposition
The framework utilizes a Reasoning LLM (e.g., GPT-4o) equipped with Retrieval-Augmented Generation (RAG) to analyze scientific literature and physicochemical databases. This agent identifies key reaction variables and clusters chemical candidates based on properties like steric bulk or basicity. This process decomposes the global search space into a hierarchical tree of promising subspaces, effectively "shrinking the haystack" before optimization begins.
Data-Driven Warm-Starting
To overcome the cold-start problem, ChemBOMAS employs a domain-specific LLM (ChemLLaMA) to act as a regressor. Pre-trained on unlabeled reaction data and fine-tuned on a minimal subset (just 1%) of labeled experimental data, this model generates "pseudo-labels" for untested combinations. These predictions serve as an informative prior for the BO process, allowing it to start from a position of informed hypothesis rather than random sampling.
Subspace Bayesian Optimization
The system uses an Upper Confidence Bound (UCB) algorithm to navigate the decomposed search tree. Once a promising subspace is selected, standard BO is executed within that localized region, utilizing both real observations and LLM-generated pseudo-data to refine the surrogate model.
Results and Discussion
ChemBOMAS was evaluated against several benchmarks, including the Suzuki, Arylation, and Buchwald datasets, as well as a real-world industrial reaction.
Benchmark Performance
As shown in Figure 3, ChemBOMAS consistently outperforms baseline methods such as standard BO, LA-MCTS, and GOLLuM. Across all benchmarks, the framework converged 2 to 5 times faster than traditional BO while achieving 3–10% higher final yields. For instance, it reached a 96.15% yield on the Suzuki dataset in just three iterations.
Real-World Validation
In a physical wet-lab experiment involving a previously unmapped palladium-catalyzed cross-coupling reaction, ChemBOMAS identified optimal conditions (96% yield) after testing only 43 samples (2 iterations). In contrast, a human expert using traditional methods achieved only a 15% yield under the same constraints, highlighting the framework's ability to succeed where human intuition may falter.
Key Insights
- Minimal Data Requirement: Fine-tuning the LLaMA model on just 1% of the search space provided sufficient predictive power to guide the BO effectively.
- Synergy is Essential: Ablation studies confirmed that removing either the knowledge-driven tree or the data-driven pseudo-data caused performance to plummet. The combination of structured chemical knowledge and statistical priors is the core driver of success.
- Specialization Matters: General-purpose models like GPT-4o failed at zero-shot yield prediction, proving that domain-specific fine-tuning is necessary for scientific regression tasks.
Conclusion
ChemBOMAS demonstrates that integrating LLM-derived chemical intuition with the statistical rigor of Bayesian Optimization can dramatically accelerate chemical discovery. While the system currently relies on the accuracy of the underlying LLM and lacks explicit safety guardrails, it represents a significant step toward fully automated, high-efficiency chemical laboratories. Future work will focus on integrating safety-aware modules and improving RAG robustness.
Summary updated