A Unified View of Deep Learning for Reaction and Retrosynthesis Prediction: Current Status and Future Challenges.

Ziqiao Meng, Peilin Zhao, Yang Yu, Irwin King · DOI · OpenReview

Abstract

As deep learning matures, the field of computational chemistry has transitioned from rigid, rule-based systems to flexible, data-driven models. This paper provides a comprehensive survey that unifies the frameworks for forward reaction prediction and backward retrosynthesis. By categorizing recent models into four distinct architectural families, the study identifies critical bottlenecks—including the lack of 3D structural data and the limitations of current evaluation metrics—that must be addressed to achieve a "GPT moment" for chemical synthesis.

Introduction

In the realm of drug discovery and materials science, researchers grapple with two fundamental, dual challenges: Reaction Prediction (predicting the product from given reactants) and Retrosynthesis (identifying starting materials for a target molecule). Historically, these tasks relied on massive, hand-coded databases of chemical rules known as templates.

However, the recent explosion of deep learning has shifted the paradigm toward "template-free" models that learn chemistry directly from experimental data. While progress has been rapid, the research landscape has become fragmented across different methodologies, such as Natural Language Processing (NLP) and Graph Neural Networks (GNNs). This paper establishes a unified taxonomy for these methods and evaluates the current "state of the union," specifically highlighting why retrosynthesis remains a significantly more complex challenge than forward prediction due to its vast combinatorial search space.

A Taxonomy of Deep Learning Philosophies

The authors categorize the current ecosystem of deep learning models into four primary design philosophies:

  1. Template-based (TB): These models mimic human expertise by selecting a reaction rule from a predefined library and applying it to a molecule. While highly interpretable and chemically sound, they are inherently limited by their inability to predict novel chemistry outside their existing database.
  2. Sequence-based Autoregressive (SAR): Treating chemistry as a language translation task, these models represent molecules as SMILES (Simplified Molecular Input Line Entry System) strings. Using Transformer architectures, they "translate" reactant strings into product strings. These models are highly flexible but can occasionally produce syntactically invalid strings.
  3. Graph-based Two-Stage: These models treat molecules as mathematical graphs. They first identify the "reaction center" (the specific bonds that break or form) and then utilize a secondary model to rank or complete the resulting molecular fragments, known as synthons.
  4. Graph-based Non-autoregressive (NAR): A burgeoning frontier where models predict the entire chemical transformation simultaneously, often by modeling electron redistribution. While significantly faster than step-by-step models, NAR approaches currently struggle with the inherent uncertainty of reactions that have multiple possible outcomes.

Benchmarking and Datasets

The field primarily relies on datasets derived from the U.S. Patent and Trademark Office (USPTO) records:

  • USPTO-MIT: The gold standard for forward reaction prediction, containing approximately 400,000 reactions.
  • USPTO-50K: The standard benchmark for retrosynthesis. However, the authors note that this dataset is becoming too small to effectively differentiate between state-of-the-art models.
  • USPTO-479K: A larger, more robust training set that, despite its size, suffers from significant data imbalance, where linear reactions are overrepresented compared to cyclic or complex transformations.

Key Insights: The Duality and Evaluation Gap

A central finding of the survey is the Duality Gap. While forward and backward predictions are mathematically related, retrosynthesis is fundamentally harder because it is a "one-to-many" problem. A single target molecule can often be synthesized from dozens of different reactant combinations, making a single "correct" answer elusive.

Furthermore, the authors critique the "Exact Match" Fallacy. Current models are typically evaluated on whether they produce the exact string found in a database. In practice, there are often multiple chemically valid pathways to a product. The authors argue for a shift toward metrics that prioritize chemical plausibility and synthetic accessibility over simple database matching.

Another significant hurdle is the Missing Side-Products. Most datasets only record the primary product of interest. This lack of data is particularly detrimental to non-autoregressive models that rely on the "conservation of atoms" to predict electron flow; when atoms "disappear" into unrecorded side products, the model's underlying logic is compromised.

Current Performance and Results

  • Reaction Prediction: Top-1 accuracy has reached impressive levels, with models like ReactionSink and Chemformer achieving approximately 91%. This suggests that forward prediction is nearing a "solved" state for common reaction types.
  • Retrosynthesis: Performance remains significantly lower, with Top-1 accuracy for leading models like MARS or DualTB hovering between 50% and 65%.
  • Template-Free vs. Template-Based: Template-free models (specifically Transformers) have finally reached parity with, and in many cases surpassed, rule-based systems. They offer superior generalization to rare or novel reactions that lack predefined templates.

Future Challenges and Frontiers

To move the field forward, the authors identify several critical areas for future research:

  • 3D Structural Information: Most current models operate on 2D graphs or 1D strings. Incorporating 3D spatial coordinates and atomic distances is essential for accurately predicting complex stereochemistry.
  • Uncertainty Modeling: Improving how models handle the multi-modal nature of chemistry—where the same reactants might yield different products under varying temperatures or pressures—is a high priority for non-autoregressive architectures.
  • Self-Supervised Learning (SSL): Given the high cost of labeled reaction data, leveraging millions of unlabeled molecular structures through SSL could provide models with a better foundational understanding of chemical stability and reactivity.
  • Multi-step Planning: The ultimate goal remains moving beyond single-step predictions to full, multi-step synthetic route planning, which requires integrating these models into broader search algorithms.

Summary updated

BibTeX
@inproceedings{meng2023unified,
  author = {Ziqiao Meng and Peilin Zhao and YANG YU and Irwin King},
  title = {{A Unified View of Deep Learning for Reaction and Retrosynthesis Prediction: Current Status and Future Challenges.}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/753},
}
Figure