Introduction
This paper introduces an end-to-end framework for retrosynthetic planning that enables deep neural networks (DNNs) to "learn how to search." By implementing a self-improving loop where the model imitates its own successful planning trajectories and utilizing a novel forward-reaction augmentation scheme, the researchers improved the synthesis success rate from 86.84% to 96.32% while significantly reducing planning time.
The Retrosynthesis Challenge
Retrosynthesis is the "reverse engineering" of chemistry: given a target molecule, the goal is to break it down into simple, commercially available "building blocks" through a series of chemical reactions.
Traditionally, this problem is solved in two disconnected steps:
- Single-step prediction: A DNN is trained on historical data to predict the reactants for a given product.
- Search: An algorithm (such as A* or Monte Carlo Tree Search) uses that DNN to explore millions of possible pathways.
The primary issue is that these single-step models are "search-agnostic." They are trained to predict a single reaction in isolation, rather than finding a pathway that leads back to available starting materials. This often results in "dead ends" where the model proposes chemically valid reactions that do not contribute to the overall plan completion.
The Self-Improved Framework
The authors propose a Self-Improved Retrosynthetic Planning framework. Instead of treating the model and the search algorithm as separate entities, they create a feedback loop that allows the model to progressively improve its strategic planning.
The framework follows a four-step cycle:
- Step A (Search): The current model and a search algorithm (RETRO*) attempt to find synthesis pathways for various target molecules.
- Step B (Filtering): To prevent the model from "hallucinating" impossible chemistry, a reference backward model (trained only on real-world data) filters out unrealistic reactions from successful search paths.
- Step C (Augmentation): A forward reaction model creates "synthetic" training data. If the model knows Reactants A+B produce Product C, the forward model might suggest they also produce a similar Product C', improving generalization.
- Step D (Imitation Learning): The backward model is retrained to imitate the successful, filtered, and augmented reactions discovered in the previous steps.
Datasets and Evaluation
The framework was trained and evaluated using the USPTO (United States Patent and Trademark Office) dataset, a standard benchmark containing millions of real-world chemical reactions. The eMolecules database, containing over 231 million commercially available molecules, served as the building block library for the planning algorithm.
Key Insights
- Closing the Loop: A model trained on its own successful search trajectories performs better than one trained only on static "ground truth" data. It learns the strategy of retrosynthesis rather than just the vocabulary.
- The Realistic-ness Constraint: Using a frozen reference model as a gatekeeper prevents the model from inventing fake, easy reactions to satisfy search goals.
- Forward-to-Backward Augmentation: Leveraging domain knowledge through a forward model provides a powerful way to augment data without requiring expensive human labeling.
Results and Discussion
The framework was tested against state-of-the-art baselines like RETRO* and MCTS, yielding significant improvements:
- Higher Success Rate: On the USPTO benchmark, the success rate for finding a valid synthesis path jumped from 86.84% to 96.32%.
- Faster Planning: The average time taken to find a plan dropped by over 53%, reducing model calls from 208.09 to 96.22.
- Better Pathways: The discovered synthesis routes were shorter and more practical for laboratory use.
While the current template-based approach limits the model to known reaction types, future work could apply this self-improvement framework to template-free models. Additionally, incorporating reaction conditions like reagents and temperature would further enhance the practical utility of the generated plans.
Summary updated