Matcha: Multi-Stage Riemannian Flow Matching for Accurate and Physically Valid Molecular Docking

Daria Frolova, Talgat Daulbaev, Egor Sevriugov, Nikolenko Sergei, Dmitry N. Ivankov, Ivan Oseledets, Marina A. PakSubmission to ICLR 2026 · Rejected

TL;DR

MATCHA is a multi-stage molecular docking pipeline that reformulates rigid-protein ligand docking as Riemannian flow matching across translation ($\mathbb{R}^3$), rotation ($\mathrm{SO}(3)$), and internal torsion ($\mathrm{SO}(2)$) manifolds. By combining progressive geometric refinement with unsupervised physical validity filters and learned scoring, MATCHA achieves state-of-the-art physically valid docking accuracy while running roughly 25× faster than leading co-folding models like AlphaFold 3.

What Problem Does This Paper Address?

Structure-based virtual screening requires predicting how a small-molecule drug candidate (ligand) binds inside the pocket of a target protein. Existing tools face a tricky trilemma between speed, geometric accuracy, and physical plausibility:

  1. Classical docking tools (e.g., AutoDock Vina, GNINA) rely on heuristic search and external pocket-finding tools, which often fail during blind docking.
  2. Deep learning co-folding models (e.g., AlphaFold 3, Chai-1, Boltz-2) jointly fold proteins and ligands with high accuracy, but are computationally massive, requiring minutes per complex.
  3. Generative rigid-docking models (e.g., DiffDock) are faster, but frequently output chemically unrealistic poses (e.g., steric clashes, distorted bonds) and suffer from optimization difficulties in complex non-Euclidean spaces.

Methods

MATCHA treats docking as a conditional generative process over a semi-flexible ligand's degrees of freedom: 3D translation ($\mathbb{R}^3$), global rotation ($\mathrm{SO}(3)$), and rotatable bond torsions ($\mathrm{SO}(2)^m$).

[ Random Noise ] 
       │
       ▼
[ Stage 1: Coarse Translation ] ──▶ (Discards initial angles)
       │
       ▼
[ Stage 2: Medium Refinement ]  ──▶ (Refines translation + updates SO(3)/SO(2))
       │
       ▼
[ Stage 3: Fine Sharpening ]    ──▶ (Low-noise polish of all DOF)
       │
       ▼
[ Validity Filtering & Scoring] ──▶ Best Physically Valid Pose

Key technical components include:

  • Riemannian Flow Matching: Unlike Riemannian diffusion models that need complex approximations and semi-flexible alignment, MATCHA adopts Riemannian flow matching with spherical linear interpolation (SLERP) for angular domains, providing tractable closed-form training losses.
  • Three-Stage Coarse-to-Fine Pipeline: Instead of a single model doing everything, MATCHA uses three independently trained, DiT-style (Diffusion Transformer) velocity models. Stage 1 solves coarse translation; Stage 2 refines translation and begins orienting the ligand; Stage 3 executes fine-grained adjustments across all degrees of freedom.
  • Spatial Transformer Architecture: Uses ESM-2 (35M) protein embeddings, RDKit ligand features, and UNIMOL/AlphaFold-inspired distance- and direction-aware attention biases.
  • Filter-First Pose Selection: Generates 40 candidate poses using a 10-step Riemannian Euler solver per stage. Poses are first filtered using fast, unsupervised PoseBusters criteria (clashes, volume overlap, minimum/maximum protein distance), and the survivors are ranked using a learned pairwise ranking scoring network.

Datasets

  • Training: PDBbind and Binding MOAD (filtered to complexes $\le 2000$ residues, ligands with 6–150 heavy atoms). MOAD complexes are sampled with a protein-level balancing scheme.
  • Evaluation: Evaluated on four standard docking benchmarks:
  • Astex Diverse Set (85 complexes)
  • PDBbind Test Set (time-split, 363 complexes)
  • PoseBusters V2 (308 complexes, plus an unseen post-September 2021 subset of 130 complexes)
  • DockGen (330 hard complexes with binding pockets dissimilar to training data)

Key Insights and Ideas

  • Flow Matching Simplifies Non-Euclidean Docking: Operating explicitly on $\mathbb{R}^3 \times \mathrm{SO}(3) \times \mathrm{SO}(2)^m$ avoids conformational distortion of the ligand's core 2D topology while eliminating the need for expensive structural alignment optimization.
  • Staging Matters: Discarding rotation and torsion predictions during the large-variance translation phase (Stage 1) prevents the network from wasting capacity optimizing fine details in the wrong global pocket location.
  • Validity Filters Bridge the "Scoring Gap": Learned scoring alone is prone to picking geometrically close but physically clashing poses. Filtering out invalid geometries before learned scoring jumps the success rate on PDBbind from 27% to 44%.
  • Evaluation Discrepancies in Literature: The authors demonstrate that "pocket-based" RMSD evaluation (aligning only the pocket rather than the whole protein) artificially inflates success rates by 10–20% by hiding multi-chain mislocalization errors.

Key Results

  • Astex Diverse Set: MATCHA achieves 68.2% success at $\text{RMSD} \le 2\text{ \AA}$ and 65.9% on the combined $\text{RMSD} \le 2\text{ \AA}$ & PoseBusters-valid metric, outperforming AlphaFold 3 (55.3% PB-valid) and DiffDock (48.2% PB-valid).
  • PDBbind Test Set: Achieves 43.8% valid docking success ($\le 2\text{ \AA}$ & PB-valid), outperforming both AlphaFold 3 (39.9%) and DiffDock-L (22.9%). Among docked poses under $2\text{ \AA}$, 85.9% of MATCHA's predictions are physically valid (vs. 68.9% for AF3 and 50.7% for DiffDock-L).
  • Speed & Efficiency:
  • Inference: Averages 15 seconds per complex on a single NVIDIA A100 GPU—roughly 25× faster than AlphaFold 3 (392s), and roughly 100× faster than Chai-1 (1638s) and Boltz-2 (1488s).
  • Training: Requires only 38 GPU-days on an H100 (vs. 120 GPU-days for DiffDock-L and 3,840 GPU-days for Chai-1).

Limitations and Future Work

  • Rigid-Receptor Assumption: MATCHA holds the protein backbone and side chains fixed. It cannot model induced-fit effects where protein pockets shift upon ligand binding.
  • Out-of-Distribution Generalization: On benchmarks with pocket geometries unseen in training (such as DockGen and PoseBusters V2), massive co-folding models trained on broad protein sequence/structure datasets still hold an edge in raw binding pocket localization.
  • Future Directions: Incorporating side-chain and backbone flexibility into the flow matching formulation, alongside scaling up training across wider structural distributions.

Summary updated

Abstract

Accurate prediction of protein-ligand binding poses is crucial for structure-based drug design, yet existing methods struggle to balance speed, accuracy, and physical plausibility. We introduce Matcha, a novel molecular docking pipeline that combines multi-stage flow matching with learned scoring and physical validity filtering. Our approach consists of three sequential stages applied consecutively to progressively refine docking predictions, each implemented as a flow matching model operating on appropriate geometric spaces ($\mathbb{R}^3$, $\mathrm{SO}(3)$, and $\mathrm{SO}(2)$). We enhance the prediction quality through a dedicated scoring model and apply unsupervised physical validity filters to eliminate unrealistic poses. Compared to various approaches, Matcha demonstrates superior performance on Astex and PDBbind test sets in terms of docking success rate and physical plausibility. Moreover, our method works approximately $25 \times$ faster than modern large-scale co-folding models.
BibTeX
@misc{frolova2025matcha,
  author = {Daria Frolova and Talgat Daulbaev and Egor Sevriugov and Nikolenko Sergei and Dmitry N. Ivankov and Ivan Oseledets and Marina A. Pak},
  title = {{Matcha: Multi-Stage Riemannian Flow Matching for Accurate and Physically Valid Molecular Docking}},
  year = {2025},
  eprint = {2510.14586},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.14586},
}
Figure