Scalable and Cost-Efficient de Novo Template-Based Molecular Generation

Piotr Gaiński, Oussama Boussif, Andrei Rekesh, Dmytro Shevchuk, Ali Parviz +3 more
6/10/2025
q-bio.BMcs.AIcs.LG

No official code found. Best implementation: koziarskilab/SCENT (11 stars, last commit 2026-04-29).

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.

View on arXivView PDF

Code Implementations(1)

koziarskilab/SCENTCommunity100%

Code for "Scalable and Cost-Efficient de Novo Template-Based Molecular Generation" (NeurIPS 2025)

114PythonJun 10, 20255 months agoNOASSERTION

Similar Papers

Cite this paper

@article{gaiski2025scalable,
  title  = {Scalable and Cost-Efficient de Novo Template-Based Molecular Generation},
  author = {Piotr Gaiński and Oussama Boussif and Andrei Rekesh and Dmytro Shevchuk and Ali Parviz and Mike Tyers and Robert A. Batey and Michał Koziarski},
  year   = {2025},
  eprint = {2506.19865},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.19865v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.19865.svg)](https://codeofpaper.com/paper/2506.19865)

Discussion