NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Path-Aware and Structure-Preserving Generation of Synthetically Accessible Molecules

Juhwan Noh, Dae-Woong Jeong, Kiyoung Kim, Sehui Han, Moontae Lee, Honglak Lee, Yousung JungICML 2022

In the rapidly evolving field of computational drug discovery, researchers face a persistent hurdle known as the "synthesizability gap." While modern generative AI models—such as Variational Autoencoders (VAEs) and Generative Adversarial Networks (GANs)—excel at navigating vast chemical spaces to propose molecules with high predicted biological activity, these designs often exist only in theory. When chemists attempt to synthesize these "optimized" molecules in the lab, they frequently discover that the structures are either impossible to make or require prohibitively expensive and complex starting materials.

Historically, computational chemists have relied on two main workarounds. The first involves using heuristic scores (like the SAscore) to estimate synthetic difficulty, but these often fail to account for actual chemical reaction mechanisms. The second is post-hoc retrosynthesis, where an AI designs a molecule first and a separate algorithm attempts to find a "recipe" later. This sequential approach is notoriously slow and frequently fails because the initial design phase was entirely blind to the synthetic pathway.

To overcome this bottleneck, researchers have introduced the Conditional Reaction Sequence Variational Autoencoder (C-RSVAE). This novel framework operates on a crucial premise: to create truly useful molecules, an AI must understand the synthesis path and the target structure simultaneously.

Conceptual overview of the C-RSVAE framework

The C-RSVAE Methodology

The C-RSVAE model departs from traditional approaches by jointly learning molecular structures and their specific chemical reaction routes. Instead of merely encoding the final target molecule, the model's latent space encodes the entire reaction sequence. This includes the main reactants, partner reactants, and the reaction templates (the chemical "rules" governing the transformation).

A key innovation of C-RSVAE is seed conditioning. The model is conditioned on a "seed" molecule—typically a known active compound. This forces the generator to explore chemical variations within a structurally similar neighborhood, rather than wandering aimlessly through infinite chemical space.

Architecture of C-RSVAE and reaction sequence representation

During the generation phase, C-RSVAE employs a path-aware sampling method. It doesn't just select starting materials that look similar to the target; it balances structural similarity with the "chemical logic" of learned reaction paths. Architecturally, the system utilizes a Bidirectional Gated Recurrent Unit (Bi-GRU) to manage the sequential, multi-step nature of chemical reactions, paired with an MLP-based encoder to process the seed molecule.

Training Data and Evaluation

To train this complex model, the researchers constructed a massive Synthetic Reaction Database containing 3 million multi-step reactions (up to three steps). This was generated combinatorically by applying 58 established Hartenfeller reaction templates to roughly 150,000 commercially available starting molecules.

To ensure the model could generalize beyond its training data, it was evaluated against the USPTO 2016 dataset, which features diverse, out-of-domain chemical reactions. The ZINC database was also utilized to sample molecules for testing docking scores against real biological targets.

Key Insights and Performance

The results of the C-RSVAE framework highlight the synergy between structural design and synthetic planning:

  • The Path Defines the Product: A major insight from the study is that structural similarity of starting materials is insufficient for successful generation. By learning the path, C-RSVAE preserves main structural motifs much more effectively than baseline models. Ablation studies confirmed that models focusing solely on structure or solely on the reaction path performed significantly worse.
  • High Fidelity and Superior Similarity: The model achieved an impressive 98% reconstruction accuracy for reaction sequences in the test set. In head-to-head comparisons with state-of-the-art baselines like DINGOS, C-RSVAE consistently generated molecules with higher structural similarity to target seeds across both in-domain and out-of-domain tests.
  • Property Optimization: C-RSVAE successfully improved the properties of seed molecules. In one test, it evolved a seed's penalized logP (a metric for solubility and drug-likeness) from 5.30 to a highly optimized 7.37.
  • Biological Relevance: When evaluated against actual protein targets—specifically DRD3 and the SARS-CoV-2 main protease (Mpro)—the generated molecules exhibited significantly better docking scores (lower binding energy) than the original seed compounds. Crucially, every proposed molecule came with a clear, valid multi-step synthesis route.

Limitations and Future Directions

While C-RSVAE represents a significant leap forward, it has current limitations. The model is presently restricted to three-step linear reactions, whereas real-world organic synthesis often involves longer, convergent pathways. Additionally, its reliance on a fixed set of 58 reaction templates, while covering many common transformations, does not capture the full breadth of modern synthetic chemistry. Finally, the use of MACCS keys (binary fingerprints) for molecular representation is computationally efficient but may miss subtle 3D structural nuances.

Future iterations of the model aim to incorporate more advanced, graph-based molecular embeddings and expand the library of reaction templates, paving the way for even more complex and synthetically accessible AI-driven drug discovery.

Summary updated

BibTeX
@inproceedings{noh2022path,
  author = {Juhwan Noh and Dae-Woong Jeong and Kiyoung Kim and Sehui Han and Moontae Lee and Honglak Lee and Yousung Jung},
  title = {{Path-Aware and Structure-Preserving Generation of Synthetically Accessible Molecules}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=NR149CEY8I},
}
Figure