MedSAGE: Bridging Generative AI and Medicinal Chemistry for Structure-Based Design of Small Molecule Drugs

Alexander S. Powers, Tianyu Lu, Rohan V. Koodli, Minkai Xu, Siyi Gu, M. Yu. Karelina, Ron O. DrorbioRxiv 2025

Abstract

While generative AI is transforming the de novo design of proteins, its effectiveness for structure-based design of small molecules remains limited. Current methods, including diffusion models, often produce small molecules with difficult-to-synthesize structures, poor medicinal chemistry properties, and limited target selectivity. To address these limitations, we introduce MedSAGE, a novel generative AI framework that adapts diffusion models specifically for de novo small-molecule design. Rather than using atoms or strings, we develop a novel representation for generating molecules using fragments relevant for medicinal chemistry. Chemical and geometric information characterizing these fragments is embedded in a smooth and interpretable latent space. We also develop an algorithm to optimize the connectivity between generated fragments while preserving chemical validity and synthesizability. In a benchmark of multiple methods across 25 therapeutically relevant protein targets, MedSAGE achieved state-of-the-art performance, producing synthesizable, drug-like molecules with predicted affinity and selectivity closely matching known drugs and drug candidates. Compared to large-scale virtual screening, MedSAGE produced molecules with high predicted affinity over 100 times more efficiently. Our results demonstrate that MedSAGE is already practically useful and paves the way for next-generation tools in structure-guided drug design.

Introduction: The Challenge of De Novo Small-Molecule Design

While generative AI has revolutionized protein design, its application to small-molecule drugs has faced significant hurdles. Most current "de novo" models treat molecules as collections of individual atoms or character strings. This atomistic approach often results in "Frankenstein" molecules: structures that may mathematically fit a protein pocket but are chemically unstable, impossible to synthesize, or lack the selectivity required for clinical use.

Molecules generated by conventional diffusion models often lack chemical validity and synthesizability.

Medicinal chemists typically design drugs using functional groups and ring systems—the "fragments" of drug design. MedSAGE addresses this gap by bridging the raw power of diffusion-based AI with the practical, intuitive rules of medicinal chemistry.

Methods: The MedSAGE Framework

The core innovation of MedSAGE is its fragment-based molecular representation. Instead of predicting the position of every individual atom, the model operates on a curated library of approximately 3,700 chemical fragments, such as benzene rings or urea groups.

Fragment Encoding and Latent Space

The researchers mapped these fragments into a smooth, low-dimensional "latent space." This space encodes critical chemical properties including charge, polarity, and hydrogen bond capacity. This allows the AI to "morph" between chemically similar fragments during the generation process, ensuring that the resulting molecules maintain chemical relevance.

Two-Phase Workflow

MedSAGE employs a two-phase generation process:

  1. Phase 1 (Diffusion): A Denoising Diffusion Probabilistic Model (DDPM) combined with an Equivariant Graph Neural Network (EGNN) places and types fragments within a 3D protein binding pocket. By working with fragments rather than atoms, the model reduces the degrees of freedom it must manage by over 10-fold.
  2. Phase 2 (Connectivity): A custom search algorithm identifies the optimal way to bond these fragments together. This step ensures the final molecule obeys chemical validity rules (e.g., proper valency) and maximizes predicted binding affinity using physics-based scoring.
The MedSAGE workflow: (1) Encoding into fragments, (2) Denoising-Diffusion to generate fragments, (3) Decoding, and (4) Precise positioning and connecting.

Datasets and Benchmarking

The model was trained on a curated dataset of ~35,000 protein-ligand complexes from the Protein Data Bank (PDB). To evaluate performance, the authors introduced a rigorous benchmark of 25 therapeutically relevant protein targets, including kinases, GPCRs, and viral proteins. MedSAGE was compared against state-of-the-art all-atom diffusion models (DiffSBDD, IPDiff, and PMDM) and traditional large-scale Virtual Screening (VS) using the Enamine REALSpace library of 400 million molecules.

Key Results and Insights

MedSAGE achieved state-of-the-art performance across several critical dimensions:

  • Affinity and Selectivity: Generated molecules achieved median docking scores (-9.2) nearly matching high-affinity reference drugs (-9.5), significantly outperforming other AI methods. Furthermore, MedSAGE molecules demonstrated superior target selectivity compared to previous models.
  • Synthesizability: Synthetic complexity scores for MedSAGE molecules (3.5) were nearly identical to real drugs (3.2), whereas all-atom models produced much more complex, "un-synthesizable" structures (up to 5.3).
  • Efficiency: MedSAGE produced high-affinity "hits" over 100 times more efficiently than traditional virtual screening. Generating just 2,000 molecules with MedSAGE yielded better results than docking hundreds of millions of compounds.

In case studies, MedSAGE "rediscovered" scaffolds strikingly similar to known clinical-stage drugs, such as the Aurora kinase inhibitor AK1, despite these molecules not being present in the training set.

Limitations and Future Work

Despite its success, several areas for improvement remain. The current model treats protein pockets as rigid structures, neglecting the "induced fit" phenomenon where proteins change shape upon binding. Additionally, while the generated molecules are drug-like, some exhibited a higher number of hydrogen bond donors than reference drugs, which could impact ADME (Absorption, Distribution, Metabolism, and Excretion) properties. Future iterations may focus on specialized modalities like macrocycles or covalent inhibitors and incorporate protein flexibility.

Summary updated

BibTeX
@misc{powers2025medsage,
  author = {Alexander S. Powers and Tianyu Lu and Rohan V. Koodli and Minkai Xu and Siyi Gu and M. Yu. Karelina and Ron O. Dror},
  title = {{MedSAGE: Bridging Generative AI and Medicinal Chemistry for Structure-Based Design of Small Molecule Drugs}},
  year = {2025},
  doi = {10.1101/2025.05.10.653107},
  howpublished = {bioRxiv},
}
Figure