Abstract
Retrosynthesis is a fundamental challenge in chemistry, traditionally addressed by either "black-box" specialized models or general-purpose Large Language Models (LLMs) prone to hallucinations. We present Retro-Expert, a novel framework that bridges this gap by combining the domain-specific precision of specialized models with the logical reasoning of LLMs. By anchoring LLMs within a chemically valid decision space and optimizing the entire reasoning path through Knowledge-Guided Policy Optimization (KGPO), Retro-Expert achieves state-of-the-art accuracy (70.28% Top-1 on USPTO-50K) while providing human-readable, chemically grounded explanations.
Introduction
The process of working backward from a target molecule to identify starting materials—retrosynthesis—is critical for drug discovery and materials science. Current AI approaches face a trade-off: specialized machine learning models are accurate but uninterpretable, while LLMs offer reasoning but lack deep chemical reliability. Retro-Expert addresses this "interpretability gap" and "knowledge disparity" by creating a system that is "right for the right reasons," ensuring that predictions are backed by valid chemical logic.
Methods
Retro-Expert utilizes a three-component architecture to synergize specialized chemical intuition with general reasoning:
- Chemical Decision Space Construction: Instead of generating complex SMILES strings from scratch, the framework uses specialized "small" models to propose candidates for reaction types, centers, and reactants. This "anchors" the LLM in a chemically valid search space.
- Collaborative Reasoning Engine: The LLM evaluates these candidates, acting as a critic to select the most plausible path. If candidates are insufficient, the LLM can leverage its internal knowledge to propose novel solutions.
- Knowledge-Guided Policy Optimization (KGPO): Using a variant of Reinforcement Learning (specifically Group Relative Policy Optimization), the model is rewarded for both the final answer and the accuracy of intermediate reasoning steps (e.g., identifying the correct reaction center).
Results and Discussion
The framework was evaluated on industry-standard benchmarks including USPTO-50K, USPTO-FULL, and PaRoutes.
Performance and Generalization
Retro-Expert achieved a Top-1 accuracy of 70.28% on USPTO-50K, significantly outperforming specialized models (~63-67%) and general LLMs (~32-39%). In Out-of-Distribution (OOD) testing on ChemBench, it reached 57.00% accuracy, nearly doubling the performance of the next best model (DeepSeek-R1 at 32.54%).
Key Insights
- Emergent Self-Correction: When specialized models failed to provide correct candidates, Retro-Expert successfully self-generated correct answers 40.6% of the time.
- Interpretability: In blind tests, human organic chemists rated Retro-Expert’s explanations significantly higher than standard LLMs for mechanism accuracy and logical consistency.
- Wet-Lab Validation: The model's utility was confirmed by the successful laboratory synthesis of a molecule via a novel route proposed by Retro-Expert that had no previously documented production path.
Conclusion
Retro-Expert demonstrates that combining specialized chemical models with LLM reasoning through structured policy optimization creates a more accurate and trustworthy tool for chemists. Future work will focus on improving site-specific discrimination and handling broader reaction types by integrating finer-grained chemical heuristics and physical evaluation models.
Summary updated