TAGMol: Target-Aware Gradient-guided Molecule Generation

Vineeth Dorna, D. Subhalingam, Keshav Kolluru, Shreshth Tuli, Mrityunjay Singh, Saurabh Singal, N M Anoop Krishnan, Sayan Ranu

TL;DR

TAGMOL (Target-Aware Gradient-guided Molecule Generation) introduces a modular framework that decouples 3D ligand generation from molecular property optimization. By using time-dependent, $\mathrm{SE}(3)$-invariant graph neural networks (GNNs) as property "guides," it steers the sampling phase of an equivariant diffusion model using gradient guidance—without retraining the underlying generative model—significantly boosting binding affinity, drug-likeness, and hit rate.

What Problem Does This Paper Address?

In structure-based drug design (SBDD), the goal is to generate 3D molecules (ligands) that bind effectively to specific pockets in target proteins. While conditional diffusion models generate realistic 3D geometries, they typically train directly on existing protein-ligand structural datasets (e.g., CrossDocked2020). These datasets contain many complexes with mediocre binding affinity or suboptimal pharmacological traits.

Because generative models maximize data likelihood, they inherit these suboptimal qualities. Furthermore, real-world drug discovery requires optimizing a Pareto front of conflicting properties—not just binding affinity, but also drug-likeness (QED) and synthetic accessibility (SA). Existing methods either ignore the 3D target pocket, operate purely on 1D/2D representations, or rely on heavy external preprocessing pipelines to force structural priors.

Methods

TAGMOL borrows the concept of classifier guidance from image diffusion (Dhariwal & Nichol, 2021) and adapts it to 3D molecular generation:

  • Decoupled Architecture:
  • Generative Backbone: An $\mathrm{SE}(3)$-equivariant graph diffusion model (TargetDiff) trained to denoise atom coordinates and categorical atom types conditioned on the protein pocket.
  • Property Guides: Separate 9-layer $\mathrm{SE}(3)$-invariant GNNs ($\phi_y$) trained across diffusion timesteps $t$ to predict scalar properties (Binding Affinity, QED, SA) on noisy molecular graphs $M_t$. For binding affinity, the graph includes surrounding protein pocket atoms ($k=32$ nearest neighbors); for target-independent properties (QED, SA), it uses only ligand atoms ($k=6$).
  • Single & Multi-Objective Gradient Guidance: During the reverse diffusion process, the spatial coordinates of ligand atoms $X_t^M$ are shifted by the weighted sum of guide gradients: $$\delta = \sum_{y \in \mathcal{Y}} s_y \tilde{\beta}_t \nabla_{X_t^M} \log p_{\phi_y}(y \mid M_t, P, t)$$
  • Implicit Guidance for Discrete Features: While gradients directly update 3D coordinates ($X_t^M$), discrete atom types ($V_t^M$) are guided implicitly because the generative model denoises categorical atom types conditioned on the updated, guide-shifted coordinates.

Datasets

  • CrossDocked2020: Used for training and evaluating both the backbone and the property guides (roughly 100,000 protein-ligand pairs with RMSD $< 1\text{Å}$ and $<30\%$ sequence identity).
  • Test Set: 100 diverse protein targets, generating 100 molecules per target. For evaluating the QED and SA guides, the authors removed 34 overlapping ligands between train and test splits to ensure fair, leakage-free evaluation.

Key Insights and Ideas

  • Turning Imperfect Data into an Advantage: While standard generative models degrade when trained on datasets containing mediocre molecules, property guides actually benefit from wide variance in property scores to learn robust regression landscapes.
  • Guidance without Retraining: TAGMOL achieves multi-property optimization entirely post-hoc at inference time. The base generative model remains frozen, avoiding expensive retraining whenever property objectives change.
  • Atomic Distance as the Bridge: Vina docking scores heavily depend on interatomic distances. Because the invariant GNN inherently encodes distance matrices ($L_2$-norms), its coordinate gradients provide strong, biologically meaningful forces that direct atoms toward optimal binding contacts.

Key Results

  • Binding Affinity: Achieved an average Vina Score of -7.02 (median -7.77), representing a 22% improvement over the previous best autoregressive baseline (AR).
  • High Affinity Rate: 69.8% of TAGMOL-generated molecules had better binding affinity than the reference crystal ligands (vs. 58.1% for TargetDiff and 64.8% for DecompDiff).
  • Hit Rate: Achieved a state-of-the-art multi-property hit rate ($\text{QED} \ge 0.4$, $\text{SA} \ge 0.5$, $\text{Vina Dock} \le -8.18 \text{ kcal/mol}$) of 27.7%, up from 20.5% on the TargetDiff baseline.
  • Pose Quality & Steric Clashes: Reduced steric clashes to 6.05 (compared to 9.19 for TargetDiff and 12.53 for DecompDiff) while closely preserving realistic bond distance distributions (Jensen-Shannon Divergence).

Limitations and Future Work

  • High Conformational Strain: The PoseCheck benchmark revealed elevated internal strain energy in generated poses (median 2143.03 vs. 118.17 for reference molecules). Small coordinate adjustments driven by guidance gradients can introduce non-ideal geometries.
  • Synthetic Accessibility (SA) Challenges: Diffusion models tend to generate overly large rings (e.g., 7- to 9-membered rings), which degrade SA scores. Gradient guidance on coordinates alone struggles to penalize complex topological ring artifacts.
  • Inference Latency: Guided sampling increases generation time to 1.87× relative to the backbone model (1,755s vs. 938s on an A100 GPU), largely driven by computing protein-ligand graph convolutions for binding affinity guidance.
  • Future Directions: Exploring explicit strain-energy guidance, integrating discrete attribute constraints (e.g., enforcing explicit hydrogen-bonding networks), and employing model pruning to speed up reverse sampling.

Summary updated

BibTeX
@inproceedings{dorna2024tagmol,
  author = {Vineeth Dorna and D. Subhalingam and Keshav Kolluru and Shreshth Tuli and Mrityunjay Singh and Saurabh Singal and N M Anoop Krishnan and Sayan Ranu},
  title = {{TAGMol: Target-Aware Gradient-guided Molecule Generation}},
  booktitle = {ML4LMS @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=tTtHBSGikn},
}
Figure