Active Retrosynthetic Planning Aware of Route Quality

Luotian Yuan, Yemin Yu, Ying Wei, Yongwei Wang, Zhihua Wang, Fei WuICLR 2024

TL;DR

Researchers have developed Active Retrosynthetic Planning (ARP), a reinforcement learning framework that helps AI chemists find not just any way to make a molecule, but the best practical way. By strategically "asking" for expert feedback on reaction yields only when necessary, ARP improves route quality by over 6% while significantly reducing the cost of those expert queries.

The Problem: Probability $\neq$ Practicality

In organic chemistry, retrosynthesis is the art of working backward from a target molecule to simple, commercially available starting materials. While modern AI planners have become incredibly adept at finding a valid path—often boasting success rates over 99%—they frequently ignore route quality.

Current models usually equate a reaction's "probability" (how often similar reactions appear in training data) with its "quality." However, in the real world, a reaction that is easy for an AI to predict might have a terrible yield, require toxic reagents, or be notoriously difficult to purify.

Comparison of a low-quality route versus a high-quality route, highlighting the importance of route quality over mere reaction probability.

To get true quality data, such as actual chemical yield, chemists usually need to run expensive lab experiments or spend valuable time consulting literature. This creates a dilemma: how can an AI plan high-quality, high-yield routes without spending a fortune on expert consultations for every single step?

The Solution: Active Retrosynthetic Planning (ARP)

To bridge this gap, the authors introduce the Active Retrosynthetic Planning (ARP) framework. Modeled as a Markov Decision Process (MDP), ARP uses an Actor-Critic reinforcement learning architecture to balance route quality with the cost of querying information.

The Active Retrosynthetic Planning (ARP) framework, illustrating the Actor-Critic architecture and the decision loop for querying reaction quality.
  • The Actor: For every potential reaction step, the actor decides whether to "raise a query"—essentially asking for the true reaction quality (e.g., yield) from an expert or a high-fidelity surrogate model. This query comes with a mathematical penalty or "cost."
  • The Critic: The critic evaluates the overall "value" of a molecule state. Unlike previous models that only look at the molecule's structure, this critic takes both the molecule's structure and the quality of the reaction that produced it as inputs.
  • Binning Strategy: Because reaction quality is a continuous value (ranging from 0 to 1), the authors employ a binning strategy to discretize these values into "buckets," making it easier for the neural network to process the state information.

Crucially, ARP is designed to be "plug-and-play." It can be wrapped around existing state-of-the-art planners like Retro or GRASP*, enhancing their underlying search logic with a new awareness of practical quality and query costs.

Datasets and Evaluation

The study evaluated ARP using two primary sources:

  1. USPTO-50k: A standard benchmark dataset in the field, from which they selected 178 "hard" molecules for testing.
  2. Expert Dataset: A new, larger dataset introduced by the authors featuring 8,000 molecules with literature-referenced routes extracted by human chemists. This dataset reflects more strategically challenging and realistic synthesis scenarios.

Because it is impossible to call a human chemist for every training step, the researchers trained a Transformer-based surrogate model on high-quality literature data to provide "ground truth" yields during the simulation.

Key Insights and Results

The researchers compared ARP against several baselines, including HgSearch, Retro*, and GRASP, yielding impressive results:

  • The Power of Selective Ignorance: The "Active" part of ARP is its secret weapon. The model learns that it doesn't need to know the exact yield of every single reaction to find a good route. By only querying the most "informative" or "pivotal" reactions, it saves resources without sacrificing the final route's viability.
  • Higher Quality, Lower Cost: ARP improved route quality by 6.2% on the benchmark dataset and 4.9% on the expert dataset compared to the previous state-of-the-art. Remarkably, it achieved these quality gains while simultaneously reducing query costs by 12.8%.
  • Human Validation: In a double-blind test where human chemists rated the generated routes, ARP-enhanced planners consistently received higher scores. For example, ARP+GRASP scored an average of 9.1/10, compared to just 6.9/10 for standard GRASP.

Limitations and Future Work

While ARP represents a significant step toward practical AI chemistry, the authors acknowledge a few limitations. During training, the "expert" is still a surrogate model; while it correlates well with real yields, it isn't a perfect replacement for wet-lab experiments. Furthermore, "quality" in this study is largely synonymous with yield. Real-world quality also includes "green chemistry" factors like toxicity, atom economy, and work-up difficulty.

Future work will focus on multi-objective optimization, aiming to find synthetic routes that are simultaneously high-yield, eco-friendly, and cost-effective.

Summary updated

BibTeX
@inproceedings{yuan2024active,
  author = {Luotian Yuan and Yemin Yu and Ying Wei and Yongwei Wang and Zhihua Wang and Fei Wu},
  title = {{Active Retrosynthetic Planning Aware of Route Quality}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=h7DGnWGeos},
}
Figure