Dockformer: A transformer-based molecular docking paradigm for large-scale virtual screening

Zhangfan Yang, Junkai Ji, Shan He, Jianqiang Li, Tiantian He, Ruibin Bai, Zexuan Zhu, Yew Soon OngarXiv 2024 · DOI

Abstract

Dockformer is a novel end-to-end transformer-based framework that revolutionizes molecular docking by simultaneously achieving state-of-the-art accuracy and massive computational speedups. By integrating multimodal data—including 2D topology and 3D geometry—and replacing iterative optimization with a direct coordinate-prediction module, it enables high-fidelity virtual screening of billion-molecule libraries in days rather than years. This paradigm shift addresses the long-standing "speed vs. accuracy" deadlock in drug discovery.

Introduction

In drug discovery, molecular docking predicts how a small molecule (ligand) binds to a target protein, a process essential for virtual screening. Current methodologies face significant hurdles: traditional physics-based methods are computationally expensive and often fail to find the true binding pose due to local optima. Conversely, many deep learning (DL) approaches struggle with physical plausibility or rely on limited data types, missing the rich information inherent in 2D molecular graphs. Dockformer aims to break this deadlock by creating a model that is both faster than traditional tools and more accurate than previous DL approaches.

Methodology

Dockformer’s architecture is inspired by the breakthroughs of AlphaFold2 and consists of three primary stacked blocks designed to process and fuse complex biological data.

The overall architecture of Dockformer, illustrating the flow from multimodal inputs to 3D coordinate prediction.
  • Multimodal Encoders: Unlike models that look only at 3D coordinates, Dockformer uses independent encoders to process the ligand and the protein pocket. It fuses 1D sequences, 2D graph topology (bond connections and shortest paths), and 3D spatial information (interatomic distances).
  • Binding Module: This block learns the "cross-talk" between the protein and the ligand, identifying intermolecular relationships to generate latent embeddings representing the complex.
  • End-to-End Structure Module: Instead of using slow iterative optimization, this module uses self-attention and cross-attention to directly predict the 3D coordinates of every atom in the ligand in a single forward pass.
  • Confidence Measures: The model outputs a confidence score for each pose, allowing researchers to rank results without a separate, computationally expensive scoring function.

Experimental Setup

The model was trained on PDBbind V2020, a dataset of ~19,443 protein-ligand complexes. Evaluation was conducted on the PDBbind Core Set (CASF-2016), a gold-standard set of 285 high-resolution complexes, and PoseBusters, an independent test set of 428 complexes designed to test generalization and physical validity. For real-world validation, the ChEMBL database (1.2 million+ compounds) was screened for inhibitors of the SARS-CoV-2 main protease ($M_{pro}$).

Results and Discussion

Dockformer demonstrates superior performance across multiple benchmarks. It achieved a success rate (RMSD < 2.0Å) of 90.53% on the PDBbind core set and 82.71% on PoseBusters, significantly outperforming state-of-the-art models like Uni-Mol and DiffDock, as well as traditional tools like Gold and Glide.

Comparison of success rates (RMSD < 2.0Å) between Dockformer and various optimization-based and DL-based docking methods.

Key insights from the results include:

  • Multimodal Advantage: Integrating 2D graph information provides essential topological constraints that improve the understanding of molecular flexibility.
  • Efficiency: Dockformer is over 100 times faster than traditional docking methods. It screened 1.2 million compounds against $M_{pro}$ in less than 48 hours—a task that would typically take over a year.
  • Reliability: The internal confidence score correlates strongly with the Root Mean Square Deviation (RMSD), providing a reliable proxy for binding affinity.

Conclusion

While Dockformer sets a new standard for speed and accuracy, limitations remain. Raw 3D outputs can occasionally exhibit minor geometric errors, which can be mitigated by a brief energy minimization post-processing step. Future work will focus on "blind docking" to identify binding pockets autonomously and expanding training data to further enhance robustness. Despite these challenges, Dockformer represents a significant leap forward for large-scale virtual screening in drug discovery.

Summary updated

BibTeX
@misc{yang2024dockformer,
  author = {Zhangfan Yang and Junkai Ji and Shan He and Jianqiang Li and Tiantian He and Ruibin Bai and Zexuan Zhu and Yew Soon Ong},
  title = {{Dockformer: A transformer-based molecular docking paradigm for large-scale virtual screening}},
  year = {2024},
  eprint = {2411.06740},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.06740},
}
Figure