3D Equivariant Diffusion for Target-Aware Molecule Generation and Affinity Prediction

Jiaqi Guan, Wesley Wei Qian, Xingang Peng, Yufeng Su, Jian Peng, Jianzhu Ma

TL;DR

TargetDiff is a novel 3D equivariant diffusion model designed for "target-aware" molecule generation—creating drug candidates specifically tailored to fit into a protein's binding pocket. By generating all atoms simultaneously in a non-autoregressive fashion and maintaining SE(3)-equivariance, it produces molecules with more realistic geometries and higher binding affinities than previous state-of-the-art methods.

What Problem Does This Paper Address?

Rational drug design involves finding small molecules that bind effectively to specific protein targets. While recent deep learning models have moved into 3D space to capture atomic interactions, they generally fall into two flawed categories:

  1. Voxel-based models: These represent the 3D space as a grid. They are computationally expensive (scaling cubically with pocket size) and are not naturally "equivariant"—meaning if you rotate the protein, the model might generate a completely different, inconsistent molecule.
  2. Autoregressive models: These generate molecules atom-by-atom. This approach suffers from "exposure bias" (errors accumulate) and lacks global context; the model might struggle to place the first few atoms accurately because it doesn't yet "see" the rest of the molecule.

TargetDiff aims to bypass these issues by using a diffusion-based approach that treats molecule generation as a global denoising task, ensuring the resulting structures are physically plausible and rotationally invariant.

Methods

The authors propose TargetDiff, which operates on a protein-ligand complex represented as a set of points in 3D space.

  • Joint Diffusion Process: The model defines a diffusion process that gradually adds noise to two different properties: continuous 3D coordinates ($x$) and categorical atom types ($v$).
  • SE(3)-Equivariant Denoising: The core of the generative process is a specialized Graph Neural Network (GNN) that is SE(3)-equivariant. This ensures that the model's predictions are invariant to global translations and rotations of the protein-ligand system.
  • Non-Autoregressive Sampling: Unlike models that place atoms one-by-one, TargetDiff starts with a cloud of noise and refines the entire molecular structure simultaneously. This allows the model to consider the global context of the binding pocket throughout the generation process.
  • Affinity Prediction: Interestingly, the authors show that the model's internal representations (hidden embeddings) and the entropy of its atom-type predictions can serve as unsupervised features to estimate binding affinity, helping to rank potential drug candidates without additional training.
Figure 1: Overview of TargetDiff. The diffusion process gradually injects noise to the data, and the generative process learns to recover the data distribution from the noise distribution with a network parameterized by θ.

Datasets

  • CrossDocked2020: The primary dataset used for training and evaluation, containing ~100,000 protein-ligand complexes. The authors refined this set to include only high-quality poses.
  • PDBbind v2020: Used specifically to evaluate the model's ability to predict binding affinity ($pK_d/pK_i$).

Key Insights and Ideas

  • Global vs. Local Context: By denoising the whole molecule at once, TargetDiff avoids the "blind start" problem of autoregressive models. It can "feel" the boundaries of the entire binding pocket from the first step of generation.
  • Equivariance as a Physical Prior: Incorporating SE(3)-equivariance isn't just a mathematical trick; it reflects the physical reality that a molecule's binding potential shouldn't change just because you rotate the coordinate system.
  • Unsupervised Affinity Scoring: The discovery that a generative model's "confidence" (low entropy in atom type prediction) correlates with binding affinity suggests these models are learning deep structural physics, not just mimicking patterns.

Key Results

TargetDiff demonstrated significant improvements over baselines like liGAN, AR, and Pocket2Mol:

  • Structural Realism: The model captured bond distance distributions much more accurately than competitors. As shown in Figure 2, the Jensen-Shannon Divergence (JSD) for atom pair distances was significantly lower for TargetDiff (0.089) compared to AR (0.119) or liGAN (0.170).
  • Binding Affinity: In empirical tests, TargetDiff generated molecules with the best binding affinity (measured by Vina energy) in 57% of the targets, compared to only 26% for the next best baseline (Pocket2Mol).
  • Efficiency: Because it is non-autoregressive, TargetDiff's inference time scales much better with molecule size. While autoregressive models show a linear increase in time as molecules get larger, TargetDiff's wall time remains relatively flat (see Figure S3 in the paper).
Comparison of atom pair distance distributions. TargetDiff (green) closely matches the reference distribution (gray).

Limitations and Future Work

  • Bond Reconstruction: Currently, the model generates atom positions and types, but relies on external tools (like OpenBabel) to infer the chemical bonds between those atoms. The authors suggest that incorporating explicit bond generation into the diffusion process is a key next step.
  • Ring Structures: The model occasionally struggles with specific ring geometries (e.g., an over-representation of 7-member rings), which the authors attribute to limitations in the post-hoc bond reconstruction algorithm.
  • Synthesizability: While the molecules bind well, the authors note that future work could better incorporate "synthesizability" constraints to ensure the generated drugs can actually be made in a lab.

Summary updated

BibTeX
@inproceedings{guan2023d,
  author = {Jiaqi Guan and Wesley Wei Qian and Xingang Peng and Yufeng Su and Jian Peng and Jianzhu Ma},
  title = {{3D Equivariant Diffusion for Target-Aware Molecule Generation and Affinity Prediction}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=kJqXEPXMsE0},
}
Figure