Abstract: Machine learning offers great promise for fast and accurate binding affinity predictions. However, current models lack robust evaluation and fail on tasks encountered in (hit-to-) lead optimisation, such as ranking the binding affinity of a congeneric series of ligands, thereby limiting their application in drug discovery. Here, we address these issues by first introducing a novel attention-based graph neural network model called AEV-PLIG (atomic environment vector-protein ligand interaction graph). Second, we introduce a new and more realistic out-of-distribution test set called the OOD Test. We benchmark our model on this set, CASF-2016, and a test set used for free energy perturbation (FEP) calculations, that not only highlights the competitive performance of AEV-PLIG, but provides a realistic assessment of machine learning models with rigorous physics-based approaches. Moreover, we demonstrate how leveraging augmented data (generated using template-based modelling or molecular docking) can significantly improve binding affinity prediction correlation and ranking on the FEP benchmark (weighted mean PCC and Kendall's τ increases from 0.41 and 0.26 to 0.59 and 0.42). These strategies together are closing the performance gap with FEP calculations (FEP+ achieves weighted mean PCC and Kendall's τ of 0.68 and 0.49 on the FEP benchmark) while being ~400,000 times faster.
Introduction: The Speed-Accuracy Tradeoff in Drug Discovery
In the hit-to-lead phase of drug discovery, accurately predicting the binding affinity of a congeneric series—a group of similar molecules with small chemical variations—is essential. Traditionally, researchers rely on physics-based methods like Free Energy Perturbation (FEP). While highly accurate, FEP is computationally expensive and requires significant manual setup. Machine learning (ML) scoring functions offer a much faster alternative but often suffer from poor generalization, frequently "memorizing" training data rather than learning physical interactions. This paper introduces AEV-PLIG, a novel graph neural network, and demonstrates how augmented data can bridge the performance gap between ML and physics-based simulations.
The AEV-PLIG Architecture
To improve how protein-ligand complexes are represented, the authors developed AEV-PLIG (Atomic Environment Vector–Protein Ligand Interaction Graph). This model combines graph-based representations of ligands with a rich description of the protein environment.
The ligand is treated as a graph of heavy atoms and covalent bonds. The protein environment around each ligand atom is encoded using radial AEVs, which classify protein atoms into 22 distinct types based on Extended Connectivity Interaction Features (ECIF). This distance-aware representation is then processed through five layers of GATv2, allowing the model to dynamically weight the importance of different atomic interactions before outputting a final affinity prediction.
Benchmarking and the Generalization Gap
A major issue in ML for drug discovery is the reliance on benchmarks like CASF-2016, which often share significant structural similarities with training sets. To test true generalization, the authors introduced the OOD Test, a strictly filtered dataset with minimal similarity to the training data.
As shown in the figure above, while AEV-PLIG achieves a high Pearson Correlation Coefficient (PCC) of 0.86 on CASF-2016, performance drops to 0.73 on the OOD Test. This discrepancy highlights the tendency of models to over-perform on "leaky" benchmarks and underscores the need for more realistic evaluation metrics.
Leveraging Augmented Data for Real-World Performance
To address the scarcity of diverse 3D training data, the authors incorporated over 78,000 computationally modeled and docked structures (BindingNet and BindingDB-DCS) into the training process. While this augmentation did not significantly boost scores on standard benchmarks, it proved transformative for the FEP Benchmark—a dataset representing real-world congeneric series.
By training on these augmented datasets, AEV-PLIG's ranking ability (Kendall’s $\tau$) on the FEP benchmark increased from 0.26 to 0.42, and its weighted mean PCC rose from 0.41 to 0.59. This suggests that exposure to dense local chemical spaces helps the model learn the subtle structural nuances required for lead optimization.
Results: Closing the Gap with Physics
AEV-PLIG demonstrates that ML is becoming a viable competitor to rigorous physics-based approaches. While the gold-standard FEP+ still maintains a slight edge (PCC 0.68, $\tau$ 0.49), AEV-PLIG achieves comparable results on several targets. Crucially, AEV-PLIG is approximately 400,000 times faster than FEP+, generating predictions in milliseconds rather than hours or days.
Conclusion
The combination of the AEV-PLIG architecture, rigorous OOD testing, and large-scale data augmentation represents a significant step forward for ML in drug discovery. By narrowing the accuracy gap with FEP while maintaining a massive speed advantage, these methods provide a powerful tool for accelerating the identification and optimization of new drug candidates. Future improvements in structure prediction models like AlphaFold 3 could further enhance the quality of augmented data, potentially making ML scoring functions the primary choice for binding affinity prediction.
Summary updated