TL;DR
Automated retrosynthesis systems can design impressive-looking routes to build complex molecules, but they usually skip a crucial detail: the actual reaction conditions (solvents, reagents, temperatures) needed to make the chemistry work in a real lab. This paper tests whether Large Language Models (LLMs) and specialized machine learning models actually understand chemical reactivity and functional-group incompatibilities, or if they are just memorizing patterns. The verdict: frontier LLMs significantly outperform specialized patent-trained models—and surprisingly, a single unconstrained reasoning LLM beats a carefully engineered multi-agent pipeline.
What Problem Does This Paper Address?
In organic chemistry, knowing which bonds to form is only half the battle; knowing how to form them without destroying other sensitive parts of the molecule is the other half. Modern automated retrosynthesis tools excel at proposing step-by-step molecular disconnections, but they typically output bare reaction graphs without conditions.
Existing condition-prediction models—often trained on millions of patent reactions—tend to behave like pattern-matchers: they look at the immediate "reaction centre" and guess popular reagents. This works fine for standard, textbook-like reactions, but breaks down when distant functional groups, 3D geometry (stereochemistry), or competing reactive sites create chemical "traps." The authors set out to test how well both frontier LLMs and specialized ML models handle these subtleties.
Methods
The authors evaluate condition predictors using two complementary tests:
- An Adversarial "Traps" Benchmark: Inspired by how organic chemistry pitfalls are taught to students, the team built a dataset of simple "model systems" containing deliberate reactivity traps across three categories:
- Chemoselective (global functional-group context, e.g., an alkyne elsewhere in the molecule requiring adapted conditions),
- Regioselective (positional relationships dictating which side of a bond reacts), and
- Stereoselective (3D-geometric constraints).
Each trap is paired with a "trap-free" control reaction. Outputs and reasoning traces are graded by three independent LLM judges (Gemini 3.1 Pro, Claude Opus 5, and GPT 5.6 Sol) against human-expert rubrics, and compared against a "naive control baseline" that simply copies conditions from the trap-free control.
- A Forward-Prediction (Round-Trip) Test: To test whether predicted conditions actually carry mechanistic signal, the authors ask forward-prediction models (both Molecular Transformers and LLMs, predicting either directly or via arrow-pushing mechanisms) to recover the product given reactants and conditions. They compare four regimes: permuted conditions (from a different reaction class), no conditions, QUARC-predicted conditions, and LLM-predicted conditions.
For the LLMs, they also compare a Single agent (a bare model given only the reaction SMILES) against a Multiagent pipeline (three specialized agents: one to analyze the reaction, one to classify conditions into a fixed ontology, and one to propose the final conditions).
Datasets
- Adversarial Benchmark (newly introduced): 62 total cases—21 Control, 20 Chemoselective, 10 Regioselective, and 11 Stereoselective reactions—designed to isolate specific failure modes.
- AbSynth: 100 literature-based reactions, used for the round-trip test (which also includes a fifth regime of literature-reported conditions).
- SynthAtlas: 100 reactions from a database of predicted retrosynthetic routes for natural products, representing chemistry distant from typical patent data.
- Training data for baselines: Molecular Transformers were trained on USPTO-Stereo and the Chemical Reaction Database (CRD).
Key Insights and Ideas
- Specialized ML models rely on memorisation, not reasoning: Patent-trained condition predictors like QUARC and k-NN popularity retrieval struggle on the adversarial traps, often performing on par with or worse than the naive baseline.
- A "small-scale bitter lesson": Contrary to the authors' hypothesis, the carefully engineered 3-agent pipeline did not improve scores—and was even slightly detrimental to some models—compared to letting a single long-reasoning LLM work freely.
- Good reasoning doesn't always guarantee a perfect answer: While reasoning quality and output accuracy are strongly correlated, models like DeepSeek V4.1 Flash and Kimi K2.6 occasionally nailed the chemical reasoning behind a trap yet still fell slightly short on the final predicted condition set.
- Condition-free round-trip tests are misleading: Because reactants alone carry strong statistical signals, forward predictors can sometimes guess the right product even with no conditions or wrong (permuted) conditions. Evaluating retrosynthesis models requires condition-falsifiable benchmarks where changing the conditions genuinely changes the outcome.
Key Results
- Adversarial Benchmark: Frontier commercial LLMs (GPT 6 Astra, Gemini 3.1 Pro, Claude Opus 5.5) topped out slightly above 80% perfect output score (excluding controls). Large open-weights models (DeepSeek V4.1 Flash, Kimi K2.6, GLM 5.2) followed at ~60–70%, while smaller/older GPT OSS 120B was indistinguishable from the naive baseline. QUARC and Pistachio k-NN retrieval performed worst. Stereoselective traps were the hardest for everyone, with only 3 models statistically surpassing 50%.
- Reasoning Traces: Claude Opus 5.5 (Single Agent) achieved 86 ± 4% perfect reasoning, followed by DeepSeek V4.1 Flash (76 ± 9%) and Kimi K2.6 (76 ± 4%).
- Round-Trip Recovery: Across both AbSynth and SynthAtlas, product recovery rose consistently from permuted → no conditions → QUARC → LLM-predicted conditions. LLM-generated conditions gave the highest recovery for every forward-prediction model, approaching the quality of actual literature-reported conditions. Frontier LLMs also delivered this performance using fewer completion tokens than leading open-source models.
Limitations and Future Work
The authors note that the adversarial benchmark is relatively small (62 cases) and are actively working to expand its size and diversity. Additionally, because LLMs are trained on the open internet, it is impossible to guarantee that literature test cases were not seen during training; releasing this benchmark publicly means future models may ingest it, suggesting a need for private/semi-private splits (similar to ARC-AGI). Finally, while initial experimental validation aligns with the models' reasoning, full laboratory validation—especially regarding yields and side-reactions—remains the ultimate ground truth.
Summary updated