Abstract
Accurate in-silico prediction of protein-ligand binding affinity is essential for efficient hit identification in large molecular libraries. Commonly used structure-based methods such as docking often fail to rank compounds effectively, and free energy-based approaches, while accurate, are too computationally intensive for large-scale screening. Existing deep learning models struggle to generalize to new targets or drugs, and current evaluation methods often do not accurately reflect real-world performance. We introduce BALM (Binding Affinity via Language Models), a deep learning framework that predicts binding affinity using pre-trained protein and ligand language models. We also propose improved evaluation strategies with diverse data sets and metrics to assess model performance to new targets better. Using the BindingDB dataset, BALM generalises unseen drugs, scaffolds, and targets. In few-shot scenarios for targets such as USP7 and $M^{pro}$, it outperforms traditional machine learning and docking methods, including AutoDock Vina. Adoption of our target-based evaluation methods will allow a more stringent evaluation of machine learning-based scoring tools. Our protein prediction framework shows good performance, is computationally efficient, and is highly adaptable within this evaluation setting, making it practical for early-stage drug discovery screening.
Introduction
In the early stages of drug discovery, identifying "hits" that bind strongly to a specific protein target requires screening massive molecular libraries. Researchers currently face a significant trade-off between speed and accuracy. Structure-based docking is fast but often fails to rank compounds correctly due to simplified physical assumptions. Conversely, alchemical free-energy methods provide high accuracy but are computationally prohibitive for large-scale use. Furthermore, many existing deep learning (DL) models suffer from "data leakage," where they appear to perform well by memorizing training data but fail when faced with novel targets or chemical scaffolds.
To bridge this gap, we present BALM (Binding Affinity via Language Models). BALM is designed to be both computationally efficient and robust, ensuring generalization to "cold" (unseen) targets and drugs.
Methodology
BALM treats protein-ligand binding as a metric learning problem rather than a standard regression task. The framework utilizes two powerful pretrained language models: ESM-2 for protein sequences and ChemBERTa-2 for ligand SMILES strings.
As shown in Figure 1, instead of simply concatenating features, BALM projects protein and ligand representations into a shared latent space. The model learns to maximize the cosine similarity between these embeddings for pairs with high binding affinity ($pK_d$). To adapt these large models without retraining them entirely, we employ Parameter-Efficient Fine-Tuning (PEFT) techniques like LoHa and LoKr. By updating less than 1% of the parameters, we prevent the "catastrophic forgetting" of general biological knowledge while specializing the model for binding affinity prediction.
Experimental Setup and Datasets
We evaluated BALM across several rigorous benchmarks to ensure its real-world utility:
- BindingDB: A large experimental dataset where we used specific "cold" splits (Cold Target, Cold Drug, and Scaffold) to test generalization.
- LP-PDBBind: A "leak-proof" dataset designed to minimize similarities between training and testing sets.
- Few-Shot Learning: We tested BALM's ability to adapt to challenging targets like USP7 and the SARS-CoV-2 main protease ($M^{pro}$) with minimal data.
Results and Discussion
BALM consistently outperformed baseline DL models across all evaluation splits. A key finding was the impact of fine-tuning; using PEFT yielded a 23.4% improvement in performance over the base model. In the challenging "Cold Drug" split, BALM showed a 79.8% improvement in Pearson correlation compared to the baseline.
As illustrated in Figure 5, BALM+PEFT (darkest bars) achieves superior scores in Concordance Index (CI), Pearson, and Spearman correlations while minimizing Root Mean Square Error (RMSE). The authors emphasize the importance of target-specific evaluations and Fisher-transformed correlations to provide a more accurate assessment of model performance in real-world laboratory settings. On the LP-PDBBind dataset, BALM achieved higher predictive accuracy than traditional docking tools like AutoDock Vina and rDock. Furthermore, BALM is highly efficient, capable of performing zero-shot predictions for 2,000 ligands in approximately 90 seconds on a standard GPU.
Limitations
While BALM is excellent for broad hit identification, it has a "resolution" limit. In congeneric series tests—where molecules differ by only a few atoms—BALM struggled to distinguish fine-grained variations that 3D-aware physics-based models can capture. This suggests that while sequence-based models are ideal for initial screening, they should be paired with 3D-aware models for final lead optimization.
Conclusion
BALM provides a scalable, efficient, and generalizable framework for predicting protein-ligand binding affinity. By leveraging pretrained language models and metric learning, it overcomes the limitations of traditional docking and existing DL models, offering a powerful tool for early-stage drug discovery.
Summary updated