Generating 3D Binding Molecules Using Shape-Conditioned Diffusion Models with Guidance

Ziqi Chen, Bo Peng, Tianhua Zhai, Daniel Adu-Ampratwum, Xia Ning · DOI

Introduction

Drug discovery is a notoriously slow and expensive process, often spanning over a decade and incurring costs in the billions. Traditional computational approaches typically fall into two categories: Ligand-Based Drug Design (LBDD), which identifies molecules similar to known active compounds, and Structure-Based Drug Design (SBDD), which attempts to fit novel molecules into a specific protein binding pocket.

While generative AI has shown promise in designing de novo molecules, existing 3D models face significant hurdles in geometric realism and constraint satisfaction. Many models struggle to generate molecules with accurate bond lengths and angles without relying on rigid, pre-defined fragments. Furthermore, simultaneously respecting the "stencil" of a known ligand shape while avoiding steric clashes with complex protein geometries remains a difficult balancing act. To address these challenges, we present DiffSMol, a novel generative framework that utilizes shape-conditioned diffusion models with iterative guidance.

The DiffSMol Framework

DiffSMol bridges the gap between shape-matching and pocket-fitting through a two-stage architecture designed for SE(3)-equivariant generation. This ensures the model understands that a molecule's identity remains constant regardless of its rotation or translation in 3D space.

1. Equivariant Shape Embedding (SE)

This module encodes the 3D surface of a known ligand—represented as a point cloud—into a latent embedding. By utilizing an equivariant architecture, the model captures the essential geometric features of the target shape without being biased by its orientation.

2. Equivariant Molecule Diffusion (DIFF)

Unlike previous methods that assemble molecules from a library of fragments, DiffSMol builds molecules from the atom up. It employs a diffusion process to "denoise" a cloud of random points into a structured molecule, predicting atom types and 3D positions simultaneously. This allows for flexible bonding geometries and more realistic 3D structures.

Guidance-Induced Inference

The core innovation of DiffSMol lies in its "Guidance-Induced Inference" phase. During generation, the model does not simply guess a structure; it actively refines the molecule using two iterative mechanisms:

  • Shape Guidance (SG): This mechanism "pushes" atoms toward the target ligand shape during the denoising steps, ensuring the generated molecule adheres to the desired geometric prior.
  • Pocket Guidance (PG): When a protein pocket is available, the model adjusts atom positions to prevent steric clashes and optimize binding affinity, effectively sculpting the molecule to fit its biological target.

Experimental Results

DiffSMol was evaluated using the MOSES dataset for general chemical rules and the CrossDocked2020 benchmark for protein-ligand complexes. The results demonstrate a significant leap over previous state-of-the-art methods.

Superior Shape Matching

In Shape-Conditioned Molecule Generation (SMG) tasks, DiffSMol achieved a 61.4% success rate in creating desirable, novel molecules. This is a massive improvement over the previous best baseline, SQUID, which managed only an 11.2% success rate.

Enhanced Binding Affinity

When tasked with binding to protein pockets, DiffSMol outperformed the leading baseline (TargetDiff) in Vina scores by 13.2%. When shape and pocket guidance were combined, the improvement in binding affinity rose to 17.7%.

Biological Relevance

Case studies on major drug targets—CDK6 (associated with cancer) and NEP (associated with Alzheimer’s)—produced molecules that bound more strongly than known drugs. These generated molecules also passed rigorous "drug-likeness" filters (QED scores > 0.8) and showed favorable safety profiles in simulated ADMET tests.

Discussion and Future Work

DiffSMol demonstrates that using shape as a geometric prior allows AI to explore entirely new molecular skeletons that still occupy a functional space. By moving beyond fragment-based assembly and utilizing inference-time optimization, the model achieves unprecedented accuracy in 3D molecular design.

However, some limitations remain. Currently, DiffSMol relies on a known ligand to provide the initial shape condition. Future research could explore inferring these optimal shapes directly from the protein pocket geometry. Additionally, while the model excels at shape and binding, future iterations could explicitly optimize for synthetic accessibility and toxicity during the diffusion process. Finally, moving these in silico results into wet-lab validation remains the critical next step for realizing the potential of DiffSMol in clinical drug discovery.

Summary updated

BibTeX
@inproceedings{chen2025generating,
  author = {Ziqi Chen and Bo Peng and Tianhua Zhai and Daniel Adu-Ampratwum and Xia Ning},
  title = {{Generating 3D Binding Molecules Using Shape-Conditioned Diffusion Models with Guidance}},
  booktitle = {Nature Machine Intelligence},
  year = {2025},
  doi = {10.1038/s42256-025-01030-w},
}
Figure