Scalable and Cost-Efficient de Novo Template-Based Molecular Generation
Piotr Gaiński, Oussama Boussif, Andrei Rekesh, Dmytro Shevchuk, Ali Parviz, Mike Tyers, Robert A. Batey, Michał Koziarski
TL;DR
SCENT addresses the synthesis bottleneck in template-based molecular generation by introducing Recursive Cost Guidance to steer backward transitions toward low-cost synthesis, complemented by Decomposability Guidance, an Exploitation Penalty, and a Dynamic Building Block Library. The backward policy is guided by a surrogate cost model $\hat{c}_B$, with specialized cost predictors $\hat{c}^S_B$ and $\hat{c}^D_B$ to reduce synthesis expense and enforce valid retrosynthesis. Dynamic Library augmentation expands reachable chemical space and improves credit assignment through trajectory compression, enabling full-tree synthesis. Empirical results across SMALL, MEDIUM, and LARGE libraries and multiple drug design proxies demonstrate substantial reductions in synthesis cost, enhanced diversity (scaffolds/modes), and higher high-reward molecule discovery relative to prior template-based GFlowNets. The work delivers a scalable, cost-aware framework with publicly available code for advancing synthesis-aware molecular generation.
Abstract
Template-based molecular generation offers a promising avenue for drug design by ensuring generated compounds are synthetically accessible through predefined reaction templates and building blocks. In this work, we tackle three core challenges in template-based GFlowNets: (1) minimizing synthesis cost, (2) scaling to large building block libraries, and (3) effectively utilizing small fragment sets. We propose Recursive Cost Guidance, a backward policy framework that employs auxiliary machine learning models to approximate synthesis cost and viability. This guidance steers generation toward low-cost synthesis pathways, significantly enhancing cost-efficiency, molecular diversity, and quality, especially when paired with an Exploitation Penalty that balances the trade-off between exploration and exploitation. To enhance performance in smaller building block libraries, we develop a Dynamic Library mechanism that reuses intermediate high-reward states to construct full synthesis trees. Our approach establishes state-of-the-art results in template-based molecular generation.
