DiffDock: Diffusion Steps, Twists, and Turns for Molecular Docking

Gabriele Corso, Hannes Stärk, Bowen Jing, Regina Barzilay, Tommi Jaakkola

TL;DR

DiffDock introduces a paradigm shift in molecular docking by framing it as a generative modeling problem rather than a regression task. By applying a novel diffusion process over the specific degrees of freedom of a ligand—translation, rotation, and torsion—it achieves a new state-of-the-art accuracy on standard benchmarks and demonstrates remarkable robustness when docking against computationally predicted protein structures.

What Problem Does This Paper Address?

Molecular docking is the "holy grail" of computational drug design: predicting exactly how a small molecule (ligand) binds to a target protein. Traditionally, this involves a grueling search through a vast space of possible poses, scored by complex physics-based functions. While recent deep learning (DL) methods have sped this up by treating it as a regression problem—directly predicting atomic coordinates—they often hit a wall in accuracy.

The authors argue that regression is fundamentally ill-suited for docking. Because there can be multiple valid binding pockets or orientations (aleatoric uncertainty), regression models tend to predict the "mean" of these possibilities. This often results in physically impossible poses, such as the ligand being stuck inside the protein's "walls" or having its own atoms overlapping (steric clashes).

Methods

The core innovation is DiffDock, a diffusion generative model (DGM) that operates on the non-Euclidean manifold of ligand poses.

Instead of diffusing all $3n$ atomic coordinates (which would break chemical bonds), DiffDock only diffuses the degrees of freedom that actually change during docking:

  1. Translation: Where the ligand is in 3D space ($T(3)$).
  2. Rotation: How the ligand is oriented ($SO(3)$).
  3. Torsion: The internal flexibility of the ligand's rotatable bonds ($SO(2)^m$).
Overview of the DiffDock process: from random noise to a ranked set of high-confidence binding poses.

The model uses a two-step architecture:

  • Score Model: An $SE(3)$-equivariant convolutional network that learns to "denoise" random poses by predicting the score (gradient of the log-likelihood) on this product space.
  • Confidence Model: A separate model that ranks the generated samples, allowing the system to provide not just a pose, but a measure of how likely that pose is to be correct.

Datasets

  • PDBBind: The standard benchmark for molecular docking, using a time-based split (training on data up to 2018, testing on 2019) to ensure no data leakage.
  • ESMFold Benchmark: A new, more challenging test set introduced by the authors. Instead of using the "perfect" experimental protein structure (holo-structure), they use structures predicted by ESMFold. This simulates real-world drug discovery where the bound structure of the protein is often unknown.

Key Insights and Ideas

  • Generative vs. Regression: The "aha moment" is that generative models populate the modes of a distribution rather than the mean. As shown in Figure 2, while regression models like EquiBind might place a molecule in a physically impossible central position due to symmetry, DiffDock samples the actual valid pockets.
  • Manifold Constraints: By restricting diffusion to translations, rotations, and torsions, the model implicitly respects bond lengths and angles. This significantly reduces the dimensionality of the search space and ensures the ligand remains chemically sensible throughout the process.
  • Robustness to "Apo" Structures: Traditional search-based methods are extremely sensitive to small errors in the protein structure. DiffDock’s score model uses a coarse-grained representation (alpha-carbons only), which makes it much more robust to the slight inaccuracies found in computationally folded proteins.
Figure 2: “DIFFDOCK top-1” refers to the sample with the highest confidence. “DIFFDOCK sam- ples” to the other diffusion model samples. Left: Visual diagram of the advantage of generative models over regression models. Given uncertainty in the correct pose (represented by the orange distribution), regression models tend to predict the mean of the distribution, which may lie in a region of low density. Center: when there is a global symmetry in the protein (aleatoric uncer- tainty), EquiBind places the molecule in the center while DIFFDOCK is able to sample all the true poses. Right: even in the absence of strong aleatoric uncertainty, the epistemic uncertainty causes EquiBind’s prediction to have steric clashes and TANKBind’s to have many self-intersections.

Key Results

  • State-of-the-Art Accuracy: On PDBBind, DiffDock achieved a 38.2% top-1 success rate (RMSD < 2Å), nearly doubling the performance of the previous best DL model (TANKBind, 20.4%) and significantly outperforming traditional search-based methods like GNINA (22.9%).
  • Superiority on Predicted Structures: When docking against ESMFold-generated proteins, DiffDock maintained a 21.7% success rate, while all other methods plummeted to below 10.4%.
  • Efficiency: Despite being a diffusion model (which requires multiple steps), DiffDock is 3 to 12 times faster than the best search-based methods on a GPU, taking roughly 10-40 seconds per complex.
  • Confidence Reliability: The confidence model is highly effective; for the top one-third of complexes where the model was most confident, the success rate jumped to 83%.

Limitations and Future Work

  • Rigid Backbone: Currently, DiffDock assumes the protein backbone is rigid. While it handles side-chain flexibility implicitly, it does not yet model large-scale protein conformational changes during binding.
  • Coarse-Graining: The score model's reliance on alpha-carbons, while providing robustness, might miss fine-grained atomic interactions that could further improve precision.
  • Future Directions: The authors suggest extending this framework to protein-protein and protein-nucleic acid docking, as well as integrating downstream tasks like affinity prediction directly into the generative loop.

Summary updated

BibTeX
@inproceedings{corso2023diffdock,
  author = {Gabriele Corso and Hannes Stärk and Bowen Jing and Regina Barzilay and Tommi Jaakkola},
  title = {{DiffDock: Diffusion Steps, Twists, and Turns for Molecular Docking}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=kKF8_K-mBbS},
}
Figure