pocketz.doi.bio/2026-05-15_182237_academicoupcom_8199366

FlowDock: Geometric flow matching for generative protein–ligand docking and affinity prediction | Bioinformatics | Oxford Academic

URL: https://academic.oup.com/bioinformatics/article/41/Supplement_1/i198/8199366

Saved: 2026-05-15T01:22:42.602Z


Abstract Motivation

Powerful generative AI models of protein–ligand structure have recently been proposed, but few of these methods support both flexible protein–ligand docking and affinity estimation. Of those that do, none can directly model multiple binding ligands concurrently or have been rigorously benchmarked on pharmacologically relevant drug targets, hindering their widespread adoption in drug discovery efforts.

Results

In this work, we propose FLOWDOCK, the first deep geometric generative model based on conditional flow matching (CFM) that learns to directly map unbound (apo) structures to their bound (holo) counterparts for an arbitrary number of binding ligands. Furthermore, FLOWDOCK provides predicted structural confidence scores and binding affinity values with each of its generated protein–ligand complex structures, enabling fast virtual screening of new (multi-ligand) drug targets. For the well-known PoseBusters Benchmark dataset, FLOWDOCK outperforms single-sequence AlphaFold 3 (AF3) with a 51% blind docking success rate using unbound (apo) protein input structures and without any information derived from multiple sequence alignments, and for the challenging new DockGen-E dataset, FLOWDOCK outperforms single-sequence AF3 and matches single-sequence Chai-1 for binding pocket generalization. Additionally, in the ligand category of the 16th community-wide Critical Assessment of Techniques for Structure Prediction, FLOWDOCK ranked among the top-5 methods for pharmacological binding affinity estimation across 140 protein–ligand complexes, demonstrating the efficacy of its learned representations in virtual screening.

Availability and implementation

Source code, data, and pre-trained models are available at https://github.com/BioinfoMachineLearning/FlowDock

Issue Section: General computational biology Collection: Bioinformatics Journals 1 Introduction

Interactions between proteins and small molecules (ligands) drive many of life’s fundamental processes and, as such, are of great interest to biochemists, biologists, and drug discoverers. Historically, elucidating the structure, and therefore the function, of such interactions has required that considerable intellectual and financial resources be dedicated to determining the interactions of a single biomolecular complex. For example, techniques such as X-ray diffraction and cryo-electron microscopy have traditionally been effective in biomolecular structure determination, however, resolving even a single biomolecule’s crystal structure can be extremely time and resource-intensive. Recently, new machine learning (ML) methods such as AlphaFold 3 (AF3) (Abramson et al. 2024) have been proposed for directly predicting the structure of an arbitrary biomolecule from its primary sequence, offering the potential to expand our understanding of life’s molecules and their implications in disease, energy research, and beyond.

Although powerful models of general biomolecular structure are compelling, they currently do not provide one with an estimate of the binding affinity of a predicted protein–ligand complex, which may indicate whether a pair of molecules truly bind to each other in vivo. It is desirable to predict both the structure of a protein–ligand complex and the binding affinity between them via one single ML system (Dhakal et al. 2022). Moreover, recent generative models of biomolecular structure are primarily based on noise schedules following Gaussian diffusion model methodology which, albeit a powerful modeling framework, lacks interpretability in the context of biological studies of molecular interactions. In this work, we aim to address these concerns with a new state-of-the-art hybrid (structure and affinity prediction) generative model called FLOWDOCK for FM-based protein–ligand structure prediction and binding affinity estimation, which allows one to interpretably inspect the model’s structure prediction trajectories to interrogate its common molecular interactions and to screen drug candidates quickly using its predicted binding affinities.

2 Related work 2.1 Molecular docking with deep learning

Over the last few years, deep learning (DL) algorithms (in particular geometric variants) have emerged as a popular methodology for performing end-to-end differentiable molecular docking. Models such as EquiBind (Stärk et al. 2022) and TankBind (Lu et al. 2022) initiated a wave of interest in researching graph-based approaches to modeling protein–ligand interactions, leading to many follow-up works. Important to note is that most of such DL-based docking models were designed to supplement conventional modeling methods for protein–ligand docking such as AutoDock Vina (Eberhardt et al. 2021) which are traditionally slow and computationally expensive to run for many protein–ligand complexes yet can achieve high accuracy with crystal input structures and ground-truth binding pocket annotations.

2.2 Generative biomolecular modeling

The potential of generative modeling in capturing intricate molecular details in structural biology such as protein–ligand interactions during molecular docking (Corso et al. 2023) has recently become a research focus of ambitious biomolecular modeling efforts such as AF3 (Abramson et al. 2024), with several open-source spin-offs of this algorithm emerging (Discovery et al. 2024, Wohlwend et al. 2024).

2.3 Flow matching

In the ML community, generative modeling with FM (Chen and Lipman 2024, Tong et al. 2024) has recently become an appealing generalization of diffusion generative models (Ho et al. 2020, Karras et al. 2022), enabling one to transport samples between arbitrary distributions for compelling applications in computer vision (Esser et al. 2024), computational biology (Klein et al. 2024), and beyond. As a closely related concurrent work [as our method was developed for the Critical Assessment of Techniques for Structure Prediction (CASP16) competition starting in May 2024 (CASP16-Organizers 2024)], Corso et al. (2024b) recently introduced and evaluated an unbalanced FM procedure for pocket-based flexible docking. However, the authors’ proposed approach mixes diffusion and FM noise schedules with geometric product spaces in an unintuitive manner, and neither source code nor data for this work are publicly available for benchmarking comparisons. In Section 3.3, we describe FM in detail.

2.4 Contributions

In light of such prior works, our contributions in this manuscript are as follows:

We introduce the first simple yet state-of-the-art hybrid generative FM model capable of quickly and accurately predicting protein–ligand complex structures and their binding affinities, with source code and model weights freely available.

We rigorously validate our proposed methodology using standardized benchmarking data for protein–ligand complexes, with our method ranking as a more accurate and generalizable structure predictor than (single-sequence) AF3.

Our method ranked as a top-5 binding affinity predictor for the 140 pharmaceutically relevant drug targets available in the 2024 community-wide CASP16 ligand prediction competition.

We release one of the largest ML-ready datasets of apo-to-holo protein structure mappings based on high-accuracy predicted protein structures, which enables training new models on comprehensive biological data for distributional biomolecular structure modeling.

3 Methods and materials

The goal of this work is to jointly predict protein–ligand complex structures and their binding affinities with minimal computational overhead to facilitate drug discovery. In Sections 3.1 and 3.2, we briefly outline how FLOWDOCK achieves this and how its key notation is defined. We then describe FLOWDOCK’s training and sampling procedures in Sections 3.3–3.6.

3.1 Overview

Figure 1 illustrates how FLOWDOCK uses geometric FM to predict flexible protein–ligand structures and binding affinities. At a high level, FLOWDOCK accepts both (multi-chain) protein sequences and (multi-fragment) ligand SMILES strings as its primary inputs, which it uses to predict an unbound (apo) state of the protein sequences using ESMFold (Lin et al. 2023) and to sample from a harmonic ligand prior distribution (Jing et al. 2024) to initialize the ligand structures using biophysical constraints based on their specified bond graphs. Notably, users can also specify the initial protein structure using one produced by another bespoke method (e.g. AF3 which we use in certain experiments). With these initial structures representing the complex’s state at time

𝑡

0 ⁠, FLOWDOCK employs conditional FM to produce fast structure generation trajectories. After running a small number of integration timesteps (e.g. 40 in our experiments), the complex’s state arrives at time

𝑡

1 ⁠, i.e. the model’s estimate of the bound (holo) protein–ligand heavy-atom structure. At this point, FLOWDOCK runs confidence and binding affinity heads to predict structural confidence scores (i.e. plDDT) and binding affinities of the predicted complex structure, to rank-order the model’s generated samples.

Figure 1.

An overview of biomolecular distribution modeling with FLOWDOCK.

Open in new tabDownload slide 3.2 Notation

Let 𝑥 0 denote the unbound (apo) state of a protein–ligand complex structure, representing the heavy atoms of the protein and ligand structures as 𝑥 0 𝑃 ∈ 𝑅 𝑁 𝑃 × 3 and 𝑥 0 𝐿 ∈ 𝑅 𝑁 𝐿 × 3 ⁠, respectively, where 𝑁 𝑃 and 𝑁 𝐿 are the numbers of protein and ligand heavy atoms. Similarly, we denote the corresponding bound (holo) state of the complex as 𝑥 1 ⁠. Further, let 𝑠 𝑃 ∈ { 1 , … , 20 } 𝑆 𝑃 denote the type of each amino acid residue in the protein structure, where 𝑆 𝑃 represents the protein’s sequence length. To generate bound (holo) structures, we define a flow model 𝑣 𝜃 that integrates the ordinary differential equation (ODE) it defines from time

𝑡

0 to

𝑡

1 ⁠.

3.3 Riemannian manifolds and conditional flow matching

In manifold theory, an 𝑛 -dimensional manifold 𝑀 represents a topological space equivalent to 𝑅 𝑛 ⁠. In the context of Riemannian manifold theory, each point 𝑥 ∈ 𝑀 on a Riemannian manifold is associated with a tangent space 𝑇 𝑥 ⁠. Conveniently, a Riemannian manifold is equipped with a metric 𝑔 𝑥 : 𝑇 𝑥 𝑀 × 𝑇 𝑥 𝑀 → 𝑅 that permits the definition of geometric quantities on the manifold such as distances and geodesics (i.e. shortest paths between two points on the manifold). Subsequently, Riemannian manifolds allow one to define on them probability densities ∫ 𝑀 𝜌 ( 𝑥 ) 𝑑

𝑥

1 where 𝜌 : 𝑀 → 𝑅 + are continuous, non-negative functions. Such probability densities give rise to interpolative probability paths 𝜌 𝑡 : [ 0 , 1 ] → 𝑃 ( 𝑀 ) between probability distributions 𝜌 0 , 𝜌 1 ∈ 𝑃 ( 𝑀 ) ⁠, where 𝑃 ( 𝑀 ) is defined as the space of probability distributions on 𝑀 and the interpolation in probability space between distributions is indexed by the continuous parameter 𝑡 ⁠.

Here, we refer to 𝜓 𝑡 : 𝑀 → 𝑀 as a flow on 𝑀 ⁠. Such a flow serves as a solution to the ODE: 𝑑 𝑑 𝑡 𝜓 𝑡 ( 𝑥

)

𝑢 𝑡 ( 𝜓 𝑡 ( 𝑥 ) ) (Mathieu and Nickel 2020) which allows one to push forward the probability trajectory 𝜌 0 → 𝜌 1 to 𝜌 𝑡 using 𝜓 𝑡 as 𝜌

𝑡

[ 𝜓 𝑡 ] # ( 𝜌 0 ) ⁠, with 𝜓 0 ( 𝑥

)

𝑥 for 𝑢 : [ 0 , 1 ] × 𝑀 → 𝑀 [i.e. a smooth time-dependent vector field (Bose et al. 2024)]. This insight allows one to perform FM (Chen and Lipman 2024) between 𝜌 0 and 𝜌 1 by learning a continuous normalizing flow (Papamakarios et al. 2021) to approximate the vector field 𝑢 𝑡 with the parametric 𝑣 𝜃 ⁠. With 𝜌

0

𝜌 prior and 𝜌

1

𝜌 data ⁠, we have that 𝜌 𝑡 advantageously permits simulation-free training. Although it is not possible to derive a closed form for 𝑢 𝑡 (which generates 𝜌 𝑡 ⁠) with the traditional FM training objective, a conditional flow matching (CFM) training objective remains tractable by marginalizing conditional vector fields as 𝑢 𝑡 ( 𝑥 )

:

∫ 𝑀 𝑢 𝑡 ( 𝑥 | 𝑧 ) 𝜌 𝑡 ( 𝑥 𝑡 | 𝑧 ) 𝑞 ( 𝑧 ) 𝜌 𝑡 ( 𝑥 ) 𝑑 𝑧 ⁠, where 𝑞 ( 𝑧 ) represents one’s chosen coupling distribution (by default the independent coupling 𝑞 ( 𝑧

)

𝑞 ( 𝑥 0 ) 𝑞 ( 𝑥 1 ) ⁠) between 𝑥 0 and 𝑥 1 via the conditioning variable 𝑧 ⁠. For Riemannian CFM (Chen and Lipman 2024), the corresponding training objective, with 𝑡 ∼ 𝑈 ( 0 , 1 ) ⁠, is:

𝐿 RCFM ( 𝜃

)

𝐸 𝑡 , 𝑞 ( 𝑧 ) , 𝜌 𝑡 ( 𝑥 𝑡 | 𝑧 ) | | 𝑣 𝜃 ( 𝑥 𝑡 , 𝑡 ) − 𝑢 𝑡 ( 𝑥 𝑡 | 𝑧 ) | | 𝑔 2 , (1)

where Tong et al. (2024) have fortuitously shown that the gradients of FM and CFM are identical. As such, to transport samples of the prior distribution 𝜌 0 to the target (data) distribution 𝜌 1 ⁠, one can sample from 𝜌 0 and use 𝑣 𝜃 to run the corresponding ODE forward in time. In the remainder of this work, we will focus specifically on the 3-manifold 𝑅 3 ⁠.

3.4 Prior distributions

With FM defined, in this section, we describe how we use a bespoke mixture of prior distributions (⁠ 𝜌 0 𝑃 and 𝜌 0 𝐿 ⁠) to sample initial (unbound) protein and ligand structures for binding (holo) structure generation targeting our data distribution of crystal protein–ligand complex structures 𝜌 1 ⁠. In Section 4.1, we ablate this mixture to understand its empirical strengths.

3.4.1 ESMFold protein prior

To our best knowledge, FLOWDOCK is among the first methods-concurrently with Corso et al. (2024b)-to explore using structure prediction models with FM to represent the unbound state of an arbitrary protein sequence. In contrast to Corso et al. (2024b), we formally define a distribution of unbound (apo) protein structures using the single-sequence ESMFold model as 𝜌 0 𝑃 ( 𝑥 0 𝑃 ) ∝ ESMFold ( 𝑠 𝑃 ) + 𝜖 , 𝜖 ∼ 𝑁 ( 0 , 𝜎 ) ⁠, which encourages our model to learn more than a strict mapping between protein apo and holo point masses. Based on previous works developing protein generative models (Dauparas et al. 2022), during training we apply 𝜖 ∼ 𝑁 ( 0 ,

𝜎

1 𝑒 − 4 ) to both 𝑥 0 𝑃 and 𝑥 1 𝑃 to discourage our model from overfitting to computational or experimental noise in its training data. It is important to note that this additive noise for protein structures is not a general substitute for generating a full conformational ensemble of each protein, but to avoid the excessively high computational resource requirements of running protein dynamics methods such as AlphaFlow (Jing et al. 2024) for each protein, we empirically find noised ESMFold structures to be a suitable surrogate.

3.4.2 Harmonic ligand prior

Inspired by the FlowSite model for multi-ligand binding site design (Stark et al. 2024), FLOWDOCK samples initial ligand conformations using a harmonic prior distribution constrained by the bond graph defined by one’s specified ligand SMILES strings. This prior can be sampled as a modified Gaussian distribution via 𝜌 0 𝐿 ( 𝑥 0 𝐿 ) ∝   exp ( − 1 2 𝑥 0 𝐿 𝑇 𝐿 𝑥 0 𝐿 ) where 𝐿 denotes a ligand bond graph’s Laplacian matrix defined as

𝐿

𝐷 − 𝐴 ⁠, with 𝐴 being the graph’s adjacency matrix and 𝐷 being its degree matrix. Similarly to our ESMFold protein prior, we subsequently apply 𝜖 ∼ 𝑁 ( 0 ,

𝜎

1 𝑒 − 4 ) to 𝑥 1 𝐿 during training.

3.5 Training

We describe FLOWDOCK’S structure parametrization, optimization procedure, and the curation and composition of its new training dataset in the following sections. Further, we provide training and inference pseudocode in Supplementary Appendix S1.

3.5.1 Parametrizing protein–ligand complexes with geometric flows

Based on our experimental observations of the difficulty of scaling up intrinsic generative models (Corso 2023) that operate on geometric product spaces, FLOWDOCK instead parametrizes 3D protein–ligand complex structures as attributed geometric graphs (Joshi et al. 2023) representing the heavy atoms of each complex’s protein and ligand structures. The main benefit of a heavy atom parametrization is that it can considerably simplify the optimization of a flow model 𝑣 𝜃 by allowing one to define its primary loss function as simply as a CondOT path (Pooladian et al. 2023, Jing et al. 2024):

𝐿 𝑅 3 ( 𝜃

)

𝐸 𝑡 , 𝑞 ( 𝑧 ) , 𝜌 𝑡 ( 𝑥 𝑡 | 𝑧 ) | | 𝑣 𝜃 ( 𝑥 𝑡 , 𝑡 ) − 𝑥 1 ) | | 2 , (2)

with the conditional probability path 𝜌 𝑡 chosen as

𝜌 𝑡 ( 𝑥 | 𝑧

)

𝜌 𝑡 ( 𝑥 | 𝑥 0 , 𝑥 1

)

( 1 − 𝑡 ) · 𝑥 0 + 𝑡 · 𝑥 1 , 𝑥 0 ∼ 𝜌 0 ( 𝑥 0 ) (3)

The challenge introduced by this atomic parametrization is that it necessitates the development of an efficient neural architecture that can scalably process all-atom input structures without the exhaustive computational overhead of generative models such as AF3. Fortunately, one such architecture satisfies this requirement, namely, one recently introduced by Qiao et al. (2024) with the NeuralPLexer model which encodes protein language model (PLM) sequence embeddings and ligand SMILES strings to iteratively decode block diagonal contact maps to condition a flow ODE for equivariant coordinates and auxiliary predictions. As such, inspired by how the AlphaFlow model was fine-tuned from the base AlphaFold 2 (AF2) architecture using FM, to train FLOWDOCK we explored fine-tuning the NeuralPLexer architecture to represent our vector field estimate 𝑣 𝜃 as illustrated in Fig. 1. Uniquely, we empirically found this idea to work best by fine-tuning the architecture’s score head, which was originally trained with a denoising score matching objective for diffusion-based structure sampling, instead using Eqs. 2 and 3. Moreover, we fine-tune all of NeuralPLexer’s remaining intermediate weights and prediction heads including a dedicated confidence head redesigned to predict binding affinities, with the exception of its original confidence head which remains frozen at all points during training.

3.5.2 PDBBind-E data curation

To train FLOWDOCK with resolved protein–ligand structures and binding affinities, we prepared PDBBind-E, an enhanced version of the PDBBind 2020-based training dataset proposed by Corso et al. (2024a) for training recent DL docking methods such as DiffDock-L. To curate PDBBind-E, we collected 17 743 crystal complex structures contained in the PDBBind 2020 dataset and 47 183 structures of the Binding MOAD (Hu et al. 2005) dataset splits introduced by Corso et al. (2024a) (n.b., which maintain the validity of our benchmarking results in Section 4 according to time and ligand-based similarity cutoffs) and predicted the structure of these (multi-chain) protein sequences in each dataset split using ESMFold. To optimally align each predicted protein structure with its corresponding crystal structure, we performed a weighted structural alignment optimizing for the distances of the predicted protein residues’ C 𝛼 atoms to the crystal heavy atom positions of the complex’s binding ligand, similar to (Corso et al. 2024a). After dropping complexes for which the crystal structure contained protein sequence gaps caused by unresolved residues, the total number of PDBBind and Binding MOAD predicted complex structures remaining was 17 743 and 46 567, respectively.

3.5.3 Generalized unbalanced flow matching

We empirically observed the challenges of naively training flexible docking models like FLOWDOCK without any adjustments to the sampling of their training data. Accordingly, we concurrently developed a generalized version of unbalanced FM (Corso et al. 2024b) by defining our coupling distribution 𝑞 ( 𝑧 ) as

𝑞 ( 𝑥 0 , 𝑥 1 ) ∝ 𝑞 0 ( 𝑥 0 ) 𝑞 1 ( 𝑥 1 ) 𝐼 𝑐 ( 𝑥 0 , 𝑥 1 ) ∈ 𝑐 𝐴 , (4)

where 𝑐 𝐴 is defined as a set of apo-to-holo assessment filters measuring the structural similarity of the unbound (apo) and bound (holo) protein structures (n.b., not simply their binding pockets) in terms of their root mean square deviation (RMSD) and TM-score (Zhang and Skolnick 2004) following optimal structural alignment (as used in constructing PDBBind-E). Effectively, we sample independent examples from 𝑞 0 and 𝑞 1 and reject these paired examples if 𝑐 ( 𝑥 0 , 𝑥 1 ) < 𝑐 𝐴 TM or 𝑐 ( 𝑥 0 , 𝑥 1 ) ≥ 𝑐 𝐴 RMSD (n.b., we use 𝑐 𝐴

TM

0.7 and 𝑐 𝐴

RMSD

5 Å as well as other length-based criteria in our experiments, please see our code for full details).

3.6 Sampling

By default, we apply

𝑖

40 timesteps of an Euler solver to integrate FLOWDOCK’s learned ODE 𝑣 𝜃 forward in time for binding (holo) structure generation. Specifically, to generate structures, we propose to integrate a Variance Diminishing ODE (VD-ODE) that uses 𝑣 𝜃 as

𝑥 𝑛 +

1

clamp ( 1 − 𝑠 1 − 𝑡 · 𝜂 ) · 𝑥 𝑛 + clamp ( ( 1 − 1 − 𝑠 1 − 𝑡 ) · 𝜂 ) · 𝑣 𝜃 ( 𝑥 𝑛 , 𝑡 ) , (5)

where 𝑛 represents the current integer timestep, allowing us to define

𝑡

𝑛 𝑖 and

𝑠

𝑛 + 1 𝑖 ⁠;

𝜂

1.0 in our experiments; and clamp ensures both the LHS and RHS of Eq. 5 are lower and upper bounded by 1 𝑒 − 6 and 1 − 1 𝑒 − 6 ⁠, respectively. We experimented with different values of 𝜂 yet ultimately settled on 1.0 since this yielded FLOWDOCK’s best performance for structure and affinity prediction. Intuitively, this VD-ODE solver limits the high levels of variance present in the model’s predictions 𝑣 𝜃 during early timesteps by sharply interpolating towards 𝑣 𝜃 in later timesteps.

4 Results 4.1 PoseBench protein–ligand docking 4.1.1 PoseBusters Benchmark set

In Figs 2 and 3, we illustrate the performance of each baseline method for protein–ligand docking and protein conformational modification with the commonly used PoseBusters Benchmark set (Buttenschoen et al. 2024), provided by version 0.6.0 of the PoseBench protein–ligand benchmarking suite (Morehead et al. 2024), which consists of 308 distinct protein–ligand complexes released after 2020. It is important to note that this benchmarking set can be considered a moderately difficult challenge for methods trained on recent collections of data derived from the Protein Data Bank (PDB) (Bank 1971) such as PDBBind 2020 (Liu et al. 2015), as all of these 308 protein–ligand complexes are not contained in the most common training splits of such PDB-based data collections (Buttenschoen et al. 2024) (with the exception of AF3 which uses a cutoff date of 30 September 2021). Moreover, as described by Buttenschoen et al. (2024), a subset of these complexes also have very low protein sequence similarity to such training splits.

Figure 2.

Protein–ligand docking success rates of each baseline method on the PoseBusters Benchmark set (n = 308). Error bars: 3 runs.

Open in new tabDownload slide Figure 3.

Comparison of each flexible docking method’s protein conformational changes made for the PoseBusters Benchmark set (n = 308).

Open in new tabDownload slide

Figure 2 shows that FLOWDOCK consistently improves over the original NeuralPLexer model’s docking success rate in terms of its structural and chemical accuracy [as measured by the RMSD ≤ 2 Å & PB-Valid metric (Buttenschoen et al. 2024)] and inter-run stability (as measured by the error bars listed). Notably, FLOWDOCK achieves a 10% higher docking success rate than NeuralPLexer without any structural energy minimization driven by molecular dynamics software (Eastman et al. 2017), and with energy minimization its docking success rate increases to 51%, outperforming single-sequence AF3 and achieving second-best performance on this dataset compared to single-sequence Chai-1 (Discovery et al. 2024). Important to note is that Chai-1, like AF3, is a 10× larger model trained for one month using 128 NVIDIA A100 80GB GPUs on more than twice as much data in the PDB deposited up to 2021, whereas FLOWDOCK is trained using only 4 80GB H100 GPUs for 1 week, representing a 32× reduction in GPU hours required for training. Additionally, FLOWDOCK outperforms the hybrid flexible docking method DynamicBind (Lu et al. 2024) by more than 16%, which is a comparable model in terms of its size, training, and downstream capabilities for drug discovery. Our results with ablated versions of FLOWDOCK trained instead with a protein harmonic prior (FLOWDOCK-HP) or with affinity prediction frozen until a fine-tuning phase (FLOWDOCK-AFT) highlight that the protein ESMFold prior the base FLOWDOCK model employs has imbued it with meaningful structural representations for accurate ligand binding structure prediction that are robust to changes in the source method of FLOWDOCK’s predicted protein input structures (e.g. FLOWDOCK-ESMFOLD versus FLOWDOCK-CHAI-1 versus FLOWDOCK-AF3), providing users with multiple structure prediction options (e.g. ESMFold for faster and commercially available prediction inputs).

A surprising finding illustrated in Fig. 3 is that no method can consistently improve the binding pocket RMSD of AF3’s initial protein structural conformations, which contrasts with the results originally reported for flexible docking methods such as DynamicBind which used structures predicted by AF2 (Jumper et al. 2021) in its experiments. From this figure, we observe that DynamicBind and NeuralPLexer both infrequently modify AF3’s initial binding pocket structure, whereas FLOWDOCK often modifies the pocket structure during ligand binding. The former two methods occasionally improve largely-correct initial pocket conformations by ∼ 1Å, whereas FLOWDOCK primarily does so for mostly-incorrect initial pockets.

4.1.2 DockGen-E set

To assess the generalization capabilities of each baseline method, in Figs 4 and 5, we report each method’s protein–ligand docking and protein conformational modification performance for the novel (i.e. naturally rare) protein binding pockets found in the new DockGen-E dataset from PoseBench. Each of DockGen-E’s protein–ligand complexes represents a distinct binding pocket that facilitates a unique biological function described by its associated ECOD domain identifier (Corso et al. 2024a). As our results for the DockGen-E dataset show in Fig. 4, most DL-based docking or structure prediction methods have likely not been trained or overfitted to these binding pockets, as this dataset’s best docking success rate achieved by any method is ∼33%, much lower than the 68% best docking success rate achieved for the PoseBusters Benchmark set. We find further support for this phenomenon in Fig. 5, where we see that all DL-based flexible docking methods find it challenging to avoid degrading the initial binding pocket state predicted by AF3 yet all methods can restore a handful of AF3 binding pockets to their bound (holo) form. This suggests that all DL methods (some more so than others) struggle to generalize to novel binding pockets, yet FLOWDOCK achieves top performance in this regard by tying with single-sequence Chai-1. Further, to address this generalization issue, our preliminary results fine-tuning FLOWDOCK for 48 hours using the new, diverse PLINDER (Durairaj et al. 2024) dataset (i.e. FLOWDOCK-PFT), where we use the dataset’s crystal apo-to-holo mapped protein–ligand complex structures contained within its default PL50 training split and deposited in the PDB before 2018, suggest that comprehensively training new DL methods on diverse protein–ligand binding structures is a promising direction towards generalizable docking.

Figure 4.

Protein–ligand docking success rates of each baseline method on the DockGen-E set (n = 14). Error bars: 3 runs.

Open in new tabDownload slide Figure 5.

Comparison of each flexible docking method’s protein conformational changes made for the DockGen-E set (n = 122).

Open in new tabDownload slide 4.1.3 Computational resources

To formally measure the computational resources required to run each baseline method, in Table 1 we list the average runtime (in seconds) and peak CPU (GPU) memory usage (in GB) consumed by each method when running them on a 25% subset of the Astex Diverse dataset (Hartshorn et al. 2007) [baseline results taken from Morehead et al. (2024)]. Here, we notably find that FLOWDOCK provides the second lowest computational runtime and GPU memory usage compared to all other DL methods, enabling one to use commodity computing hardware to quickly screen new drug candidates using combinations of FLOWDOCK’s predicted heavy-atom structures, confidence scores, and binding affinities.

Table 1. Open in new tab

Computational resource requirements.

Method Runtime (s) CPU memory usage (GB) GPU memory usage (GB) P2Rank-Vina 1 283.70 9.62 0.00 DiffDock-L 88.33 8.99 70.42 DynamicBind 146.99 5.26 18.91 RoseTTAFold-All-Atom 3 443.63 55.75 72.79 AF3 3 049.41 – – AF3-Single-Seq 58.72 – – Chai-1-Single-Seq 114.86 58.49 56.21 NeuralPLexer 29.10 11.19 31.00 FlowDock 39.34 11.98 25.61

The average structure prediction runtime (in seconds) and peak memory usage (in GB) of baseline methods on a 25% subset of the Astex Diverse dataset (Hartshorn et al. 2007) using an NVIDIA 80GB A100 GPU for benchmarking [with baselines taken from (Morehead et al. 2024)]. The symbol—denotes a result that could not be estimated.

4.2 PDBBind binding affinity estimation

In this section, we explore binding affinity estimation with FLOWDOCK using the PDBBind 2020 test dataset (n = 363) originally curated by (Stärk et al. 2022), with benchmarking results shown in Table 2. Popular affinity prediction baselines listed in Table 2 such as TankBind (Lu et al. 2022) and DynamicBind (Lu et al. 2024) demonstrate that accurate affinity estimations are possible using hybrid DL models of protein–ligand structures and affinities. Here, we find that, as a hybrid deep generative model, FLOWDOCK provides the best Pearson and Spearman’s correlations compared to all other baselines including FLOWDOCK-HP (a fully harmonic variant of FLOWDOCK) and FLOWDOCK-AFT (an ESMFold prior variant trained first for structure prediction and then with affinity fine-tuning) and produces compelling root mean squared error (RMSE) and mean absolute error (MAE) rates compared to the previous state-of-the-art method DynamicBind. Referencing Table 1, we further note that FLOWDOCK’s average computational runtime per protein–ligand complex is more than 3 times lower than that of DynamicBind, demonstrating that FLOWDOCK, to our best knowledge, is currently the fastest binding affinity estimation method to match or exceed DynamicBind’s level of accuracy for predicting binding affinities using the PDBBind 2020 dataset.

Table 2. Open in new tab

Binding affinity estimation using PDBBind test set.

Method Pearson (⁠ ↑ ⁠) Spearman (⁠ ↑ ⁠) RMSE (⁠ ↓ ⁠) MAE (⁠ ↓ ⁠) GIGN 0.286 0.318 1.736 1.330 TransformerCPI 0.470 0.480 1.643 1.317 MONN 0.545 0.535 1.371 1.103 TankBind 0.597 0.610 1.436 1.119 DynamicBind (one-shot) 0.665 0.634 1.301 1.060 FlowDock-HP
0.577 ± 0.001

0.560 ± 0.001

1.516 ± 0.001

1.196 ± 0.002

FlowDock-AFT
0.663 ± 0.003

0.624 ± 0.003

1.392 ± 0.005

1.113 ± 0.003

FlowDock 0.705 ± 0.001 0.674 ± 0.002 1.363 ± 0.003 1.067 ± 0.003

For all methods, binding affinities were predicted in one shot using the commonly-used 363 PDBBind (ligand and time-split) test complexes [with splits and baselines from Lu et al. (2024)]. Results for FLOWDOCK are reported as the mean and standard error of measurement (⁠

𝑛

3 ⁠) of each metric over three independent runs. Note that, for historical reasons, the results for each version of FLOWDOCK were obtained using ESMFold-predicted protein input structures.

In Fig. 6, we provide an illustrative example of a protein–ligand complex in the PDBBind test set (6I67) for which FLOWDOCK predicts notably more accurate complex structural motions and binding affinity values than the hybrid DL method DynamicBind, importantly recognizing that the right-most protein loop domain should be moved further to the right to facilitate ligand binding (see Supplementary Appendix S2 for an example of one of FLOWDOCK’s interpretable structure generation trajectories). One should note that, for historical reasons, our experiments with this PDBBind-based test set employed protein structures predicted by ESMFold (not AF3). In the next section, we explore an even more practical application of FLOWDOCK’s fast and accurate structure and binding affinity predictions in the CASP16 ligand prediction competition.

Figure 6.

Comparison of DYNAMICBIND and FLOWDOCK’s predicted structures (w/o hydrogens) and crystal PDBBind test example 6I67.

Open in new tabDownload slide 4.3 CASP16 protein–ligand binding affinity prediction

In Fig. 7, we illustrate the performance of each predictor group for blind protein–ligand binding affinity prediction in the ligand category of the CASP16 competition held in summer 2024, in which pharmaceutically relevant binding ligands were the primary focus of this competition. Notably, FLOWDOCK is the only hybrid (structure & affinity prediction) ML method represented among the top-5 predictors, demonstrating the robustness of its knowledge of protein–ligand interactions. Namely, all other top prediction methods were trained specifically for binding affinity estimation assuming a predicted or crystal complex structure is provided. In contrast, in CASP16, we demonstrated the potential of using FLOWDOCK to predict both protein–ligand structures and binding affinities and using its top-5 predicted structures’ structural confidence scores to rank-order its top-5 binding affinity predictions (see Supplementary Appendices S3 and S4 for FLOWDOCK’s, e.g. CASP16 structure prediction results). Ranked 5th for binding affinity estimation, these results of the CASP16 competition demonstrate that this dual approach of predicting protein–ligand structures and binding affinities with a single DL model (FLOWDOCK) yields compelling performance for virtual screening of pharmaceutically interesting molecular compounds.

Figure 7.

Protein–ligand binding affinity prediction rankings for the CASP16 ligand prediction category (n = 140).

Open in new tabDownload slide 5 Conclusion

In this work, we have presented FLOWDOCK, a novel, state-of-the-art deep generative flow model for fast and accurate (hybrid) protein–ligand binding structure and affinity prediction. Benchmarking results suggest that FLOWDOCK achieves structure prediction results better than single-sequence AF3 and comparable to single-sequence Chai-1 and outperforms existing hybrid models like DynamicBind across a range of binding ligands. Lastly, we have demonstrated the pharmaceutical virtual screening potential of FLOWDOCK in the CASP16 ligand prediction competition, where it achieved top-5 performance. Future work could include retraining the model on larger and more diverse clusters of protein–ligand complexes, experimenting with new ODE solvers, or scaling up its parameter count to see if it displays any scaling law behavior for structure or affinity prediction. As a deep generative model for structural biology made available under an MIT license, we believe FLOWDOCK takes a notable step forward towards fast, accurate, and broadly applicable modeling of protein–ligand interactions.

Author contributions

Alex Morehead: Methodology; investigation; writing—original draft; writing—reviewing and editing; software. Jianlin Cheng: Conceptualization; methodology; investigation; writing—reviewing and editing.

Supplementary data

Supplementary data are available at Bioinformatics online.

Conflict of interest: No conflicts of interest are declared.

Funding

The authors thank the anonymous reviewers for their valuable suggestions. This work was supported by a U.S. NSF grant (DBI2308699) and a U.S. NIH grant (R01GM093123) awarded to J.C. Additionally, this work was performed using computing infrastructure provided by Research Support Services at the University of Missouri-Columbia (DOI: 10.32469/10355/97710).

Data availability

The data underlying this article are available in the Zenodo record available at https://doi.org/10.5281/zenodo.15066450.

References

Abramson J, Adler J, Dunger J  et al.  Accurate structure prediction of biomolecular interactions with alphafold 3. Nature  2024;630:493–500.

Google Scholar

CrossrefPubMed

WorldCat

Bank PD.  Protein data bank. Nature New Biol  1971;233:10–1038.

Google Scholar

WorldCat

Bose J, Akhound-Sadegh T, Huguet G  et al. Se(3)-stochastic flow matching for protein backbone generation. In: The Twelfth International Conference on Learning Representations. Vienna, Austria. 2024.

Buttenschoen M, Morris GM, Deane CM.  Posebusters: AI-based docking methods fail to generate physically valid poses or generalise to novel sequences. Chem Sci  2024;15:3130–9.

Google Scholar

CrossrefPubMed

WorldCat

CASP16-Organizers. Casp16 abstracts. CASP16. 2024. (14 December 2024, date last accessed).

Chen RT, Lipman Y. Flow matching on general geometries. In: The Twelfth International Conference on Learning Representations. Vienna, Austria. 2024.

Corso, G. Modeling Molecular Structures with Intrinsic Diffusion Models. Cambridge, Massachusetts, USA: Massachusetts Institute of Technology, 2023.

Google Scholar

Google Preview

WorldCat

COPAC 

Corso G, Stärk H, Jing B  et al. DiffDock: Diffusion Steps, Twists, and Turns for Molecular Docking. In: The Eleventh International Conference on Learning Representations. Kigali, Rwanda. 2023.

Corso G, Deng A, Polizzi N  et al. Deep confident steps to new pockets: strategies for docking generalization. In: The Twelfth International Conference on Learning Representations. Vienna, Austria. 2024a.

Corso G, Somnath VR, Getz N  et al.  Flexible docking via unbalanced flow matching. In: ICML Workshop ML for Life and Material Science: From Theory to Industry Applications. Vienna, Austria. 2024b.

Dauparas J, Anishchenko I, Bennett N  et al.  Robust deep learning–based protein sequence design using proteinmpnn. Science  2022;378:49–56.

Google Scholar

CrossrefPubMed

WorldCat

Dhakal A, McKay C, Tanner JJ  et al.  Artificial intelligence in the prediction of protein–ligand interactions: recent advances and future directions. Brief Bioinform  2022;23:bbab476.

Google Scholar

CrossrefPubMed

WorldCat

Discovery C, Boitreaud J, Dent J  et al.  Chai-1: decoding the molecular interactions of life. bioRxiv  2024:2024–10.

Google Scholar

WorldCat

Durairaj J, Adeshina Y, Cao Z  et al.  PLINDER: the protein-ligand interactions dataset and evaluation resource. In: ICML Workshop ML for Life and Material Science: From Theory to Industry Applications. Vienna, Austria. 2024.

Eastman P, Swails J, Chodera JD  et al.  Openmm 7: rapid development of high performance algorithms for molecular dynamics. PLoS Comput Biol  2017;13:e1005659.

Google Scholar

CrossrefPubMed

WorldCat

Eberhardt J, Santos-Martins D, Tillack AF  et al.  Autodock vina 1.2. 0: new docking methods, expanded force field, and python bindings. J Chem Inf Model  2021;61:3891–8.

Google Scholar

CrossrefPubMed

WorldCat

Esser P, Kulal S, Blattmann A  et al. Scaling rectified flow transformers for high-resolution image synthesis. In: Forty-First International Conference on Machine Learning. Vienna, Austria. 2024.

Hartshorn MJ, Verdonk ML, Chessari G  et al.  Diverse, high-quality test set for the validation of protein- ligand docking performance. J Med Chem  2007;50:726–41.

Google Scholar

CrossrefPubMed

WorldCat

Ho J, Jain A, Abbeel P.  Denoising diffusion probabilistic models. Adv Neural Inf Process Syst  2020;33:6840–51.

Google Scholar

WorldCat

Hu L, Benson ML, Smith RD  et al.  Binding moad (mother of all databases). Proteins  2005;60:333–40.

Google Scholar

CrossrefPubMed

WorldCat

Jing B, Berger B, Jaakkola T. Alphafold meets flow matching for generating protein ensembles. In: Forty-First International Conference on Machine Learning. Vienna, Austria. 2024.

Joshi CK, Bodnar C, Mathis SV  et al. On the expressive power of geometric graph neural networks. In: International Conference on Machine Learning. Honolulu, HI, USA. PMLR, 2023, 15330–55.

Jumper J, Evans R, Pritzel A  et al.  Highly accurate protein structure prediction with alphafold. Nature  2021;596:583–9.

Google Scholar

CrossrefPubMed

WorldCat

Karras T, Aittala M, Aila T  et al.  Elucidating the design space of diffusion-based generative models. Adv Neural Inf Process Syst  2022;35:26565–77.

Google Scholar

WorldCat

Klein L, Krämer A, Noé F.  Equivariant flow matching. Adv Neural Inf Process Syst  2024;59886–910.

Google Scholar

WorldCat

Lin Z, Akin H, Rao R  et al.  Evolutionary-scale prediction of atomic-level protein structure with a language model. Science  2023;379:1123–30.

Google Scholar

CrossrefPubMed

WorldCat

Liu Z, Li Y, Han L  et al.  Pdb-wide collection of binding data: current status of the pdbbind database. Bioinformatics  2015;31:405–12.

Google Scholar

CrossrefPubMed

WorldCat

Lu W, Wu Q, Zhang J  et al.  Tankbind: trigonometry-aware neural networks for drug-protein binding structure prediction. Adv Neural Inf Process Syst  2022;35:7236–49.

Google Scholar

WorldCat

Lu W, Zhang J, Huang W  et al.  Dynamicbind: predicting ligand-specific protein-ligand complex structure with a deep equivariant generative model. Nat Commun  2024;15:1071.

Google Scholar

CrossrefPubMed

WorldCat

Mathieu E, Nickel M.  Riemannian continuous normalizing flows. Adv Neural Inf Process Syst  2020;33:2503–15.

Google Scholar

WorldCat

Morehead A, Giri N, Liu J  et al.  Deep learning for protein-ligand docking: are we there yet? In: ICML AI4Science Workshop. Vienna, Austria. 2024.

WorldCat

Papamakarios G, Nalisnick E, Rezende D  et al.  Normalizing flows for probabilistic modeling and inference. J Machine Learning Res. Norfolk, Massachusetts, USA.  2021;22:1–64.

Google Scholar

WorldCat

Pooladian A-A, Ben-Hamu H, Domingo-Enrich C  et al. Multisample flow matching: straightening flows with minibatch couplings. In: International Conference on Machine Learning. PMLR. Honolulu, HI, USA. 2023, 28100–28127.

Qiao Z, Nie W, Vahdat A  et al.  State-specific protein–ligand complex structure prediction with a multiscale deep generative model. Nat Machine Intell  2024;6:195–208.

Google Scholar

Crossref

WorldCat

Stärk H, Ganea O, Pattanaik L  et al. EquiBind: Geometric deep learning for drug binding structure prediction. In: International Conference on Machine Learning. PMLR. Baltimore, MD, USA. 2022, 20503–21.

Stärk H, Jing B, Barzilay R  et al. Harmonic self-conditioned flow matching for joint multi-ligand docking and binding site design. In: Forty-First International Conference on Machine Learning. Vienna, Austria. 2024.

Tong A, Fatras K, Malkin N  et al. Improving and generalizing flow-based generative models with minibatch optimal transport. Trans Machine Learning Res. ISSN 2835-8856. Expert Certification. New York, NY, USA. 2024.

Wohlwend J, Corso G, Passaro S  et al.  Boltz-1: Democratizing Biomolecular Interaction Modeling. bioRxiv  2024; 11.

Google Scholar

WorldCat

Zhang Y, Skolnick J.  Scoring function for automated assessment of protein structure template quality. Proteins  2004;57:702–10.

Google Scholar

CrossrefPubMed

WorldCat

© The Author(s) 2025. Published by Oxford University Press. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted reuse, distribution, and reproduction in any medium, provided the original work is properly cited. Supplementary data btaf187SupplementaryData - zip file