Abstract
Generative molecular design often produces high-performing candidates that are synthetically inaccessible. We present TANGO (TANimoto Group Overlap), a novel dense reward function integrated into the Saturn framework. TANGO enables generative models to optimize for both biological activity and constrained synthesizability—ensuring that designed molecules can be synthesized from specific, pre-defined building blocks. By transforming the "all-or-nothing" challenge of chemical synthesis into a smooth, learnable signal, this framework enables the direct optimization of drug candidates that chemists can actually build. Our results demonstrate that TANGO successfully navigates the trade-off between chemical creativity and laboratory feasibility across various synthetic constraints, including starting-material, intermediate, and divergent synthesis scenarios.
Introduction
Generative molecular design has historically suffered from a "reality" problem. While AI models excel at proposing molecules with optimized docking scores or drug-likeness, these digital candidates often prove impossible or prohibitively expensive to synthesize in a laboratory setting. This gap is particularly acute in constrained synthesizability, where chemists must work with specific starting materials due to cost, sustainability, or availability.
Existing approaches typically either ignore these constraints or impose them so rigidly that the model's ability to optimize for biological efficacy is severely hampered. The fundamental difficulty lies in the "sparse reward" nature of synthesis: a proposed route is usually a binary "yes" or "no," providing little feedback to a reinforcement learning (RL) agent on how to improve.
Methodology: The Saturn Framework
To bridge this gap, we introduce Saturn, a comprehensive framework for constrained molecular design. Saturn integrates three core components: a Mamba-based generative model, a retrosynthesis oracle (MEGAN/Retro*), and the TANGO reward function.
The TANGO Reward Function
The TANimoto Group Overlap (TANGO) reward function addresses the sparse reward problem by providing a gradient of feedback. Instead of a binary success/failure metric, TANGO calculates a composite score based on:
- Tanimoto Similarity: A global measure of how much the generated molecule resembles the target building block.
- Fuzzy Matching Substructure (FMS): A local measure of how much of the building block's specific structural "skeleton" is preserved within the generated molecule.
By averaging these two metrics, the model receives a "dense" reward that guides the RL agent toward structures that effectively incorporate the required building blocks while maintaining the flexibility to optimize for biological activity.
Experimental Setup
The Saturn model was pre-trained on a cleaned subset of PubChem (approximately 88 million molecules). The pool of available reagents was drawn from the ZINC database, totaling over 17 million commercial compounds. The framework was evaluated on its ability to design inhibitors for the ClpP protease, a cancer-relevant target, using docking scores as the primary performance metric.
Key Results and Discussion
TANGO is the first generative approach capable of enforcing specific building blocks within a synthetic path. The framework successfully handled three distinct real-world scenarios: starting-material constraints, intermediate constraints (forcing synthesis through a "hub" molecule), and divergent synthesis (designing a library of candidates branching from a common intermediate).
The model generated molecules that hit the "sweet spot": they were synthesizable using the enforced blocks and achieved docking scores (< -10) comparable to or better than known reference ligands. Specifically, TANGO identified over 200 high-affinity candidates with high drug-likeness (QED ~ 0.77) while maintaining an average of 2.35 reaction steps. A key insight from this work is that incentives outperform rigid constraints; by allowing a general-purpose model to explore chemical space freely while incentivizing it with the TANGO reward, the system navigates complex multi-objective landscapes more effectively.
Conclusion
TANGO provides a robust solution for integrating laboratory constraints directly into the generative design process. By converting binary synthetic outcomes into a learnable landscape, it ensures that the next generation of AI-designed drugs can actually be built on the lab bench. Future work will explore curriculum learning to handle increasingly difficult building blocks and the integration of higher-fidelity molecular dynamics simulations.
Summary updated