TL;DR
LLMs are surprisingly capable of chemical reasoning and symbolic planning, yet they fail completely when asked to perform end-to-end retrosynthesis planning. This paper identifies "representation alignment"—the leap from unstructured chemical strings (SMILES) to structured planning code (PDDL)—as the primary bottleneck. By decomposing the task into staged intermediate abstractions, the authors achieve a 100% planning success rate with top-tier models where direct methods hit 0%.
What Problem Does This Paper Address?
Chemical retrosynthesis—the process of working backward from a target molecule to identify a sequence of reactions and starting materials—is a complex planning problem. While Large Language Models (LLMs) show promise in general reasoning, they struggle with "symbolic planning," which requires generating code in languages like PDDL (Planning Domain Definition Language) that external solvers can execute.
The standard approach has been to treat this as a direct translation task: feed the model a SMILES string (a text representation of a molecule) and ask for PDDL code. However, this consistently fails. The authors investigate whether this failure is due to a lack of "reasoning capacity" (the model isn't smart enough to plan) or "representation misalignment" (the model gets lost trying to juggle chemical interpretation and rigid coding syntax simultaneously).
Methods
The authors propose a Staged Analytical Framework to isolate where the breakdown occurs. Instead of a single "SMILES-to-PDDL" jump, they decompose the process into four distinct stages:
- Molecule Mapping: Converting symbolic identifiers (e.g.,
molecule001) into their corresponding SMILES structures. - Reaction Mapping: Organizing these identifiers into structured reactant-product relationships.
- PDDL Generation: Formalizing these relationships into executable PDDL domain and problem files.
- Planning Execution: Using an external classical planner (Fast Downward) to verify if the generated code actually produces a valid synthesis pathway.
By providing "oracle" (perfect) inputs at each stage, they can measure exactly when a model’s performance begins to degrade.
Datasets
The researchers introduced RetroPlan-Bench, a new benchmark for symbolic retrosynthesis planning.
- Source: It is built upon 368 multi-step synthesis pathways from the READRetro dataset.
- Structure: Each pathway is transformed into a multi-level representation (molecule-level, reaction-level, and planning-level).
- Scale: To test long-horizon stability, they constructed planning environments ranging from 100 to 1,000 unique reactions.
Key Insights and Ideas
- The Paradox of Subtask Success: The most striking finding is that while models like GPT-5.2 and DeepSeek V3.2 achieve near-perfect scores on individual subtasks (mapping molecules or reactions), they have a 0% success rate when these tasks are integrated into a single end-to-end step.
- Representation Contamination: When forced to generate PDDL directly from SMILES, models exhibit bizarre failure modes. For example, Gemini 3.1 Pro began hallucinating Google search URLs within the PDDL code, while GPT-5.2 started URL-encoding chemical symbols (e.g., replacing parentheses with
%28). - Alignment, Not Capacity: The bottleneck isn't the model's size or its "intelligence." Even specialized models like ChemLLM failed because they couldn't maintain the rigid structural consistency required for PDDL, even though they "understand" chemistry.
- Semantic Decay with Scale: As the number of reactions increases, even the strongest models show a gradual decline in "Action Grounding"—their ability to correctly link reactants to products in the final code (see Figure 2A).
Key Results
- Direct Generation: Every single model evaluated (including GPT-5.2, DeepSeek V3.2, and Gemini 3.1) failed to produce a single executable plan in the end-to-end SMILES-to-PDDL setting.
- Staged Decomposition: When using the staged framework, the top models (GPT-5.2, DeepSeek V3.2, Gemini 3.1) achieved a 100% solve rate on the 400-problem test set.
- Model Differences: While "strong" models recovered perfectly with staging, smaller or less capable models (like Qwen2.5-14B or ChemLLM) still failed, often due to malformed JSON or truncated outputs, proving that robust serialization is a prerequisite for planning.
Limitations and Future Work
- Oracle Dependency: The primary success was measured using "oracle" intermediate representations. While the authors did test a "chained" setting (where the model's own output is passed to the next stage) with success for the strongest models, the robustness of this chain in noisier, real-world scenarios remains to be seen.
- Domain Generalization: The study focused exclusively on retrosynthesis. It is unclear if "representation alignment" is the primary bottleneck in other symbolic planning domains (like robotics or logistics).
- Architecture Design: The authors suggest that future LLM-based planning systems should move away from end-to-end designs and instead focus on "representation-centric" architectures that explicitly handle intermediate symbolic abstractions.
Summary updated