BAPULM: Binding Affinity Prediction using Language Models

Radheesh Sharma Meda, Amir Barati FarimaniarXiv 2024

Abstract

Identifying drug-target interactions is essential for developing effective therapeutics. Binding affinity quantifies these interactions, and traditional approaches rely on computationally intensive 3D structural data. In contrast, language models can efficiently process sequential data, offering an alternative approach to molecular representation. In the current study, we introduce BAPULM, an innovative sequence-based framework that leverages the chemical latent representations of proteins via ProtT5-XL-U50 and ligands through MolFormer, eliminating reliance on complex 3D configurations. Our approach was validated extensively on benchmark datasets, achieving scoring power (R) values of 0.925 ± 0.043, 0.914 ± 0.004, and 0.8132 ± 0.001 on benchmark1k2101, Test2016_290, and CSAR-HiQ_36, respectively. These findings indicate the robustness and accuracy of BAPULM across diverse datasets and underscore the potential of sequence-based models in-silico drug discovery, offering a scalable alternative to 3D-centric methods for screening potential ligands.

Introduction

In drug discovery, "binding affinity" is a critical metric that quantifies how tightly a drug candidate (ligand) interacts with its target protein. Traditionally, calculating this value requires high-resolution 3D structural data obtained via X-ray crystallography, followed by computationally heavy Molecular Dynamics simulations or docking.

The scarcity of 3D data and the slow pace of simulations create a massive bottleneck for screening millions of potential drugs. While deep learning on 1D sequences offers a faster alternative, earlier models often lacked the "chemical intuition" to match the accuracy of 3D-centric methods. BAPULM (Binding Affinity Prediction using Language Models) aims to bridge this gap by demonstrating that sophisticated language models can capture sufficient latent chemical information from 1D strings to predict binding strength accurately and efficiently.

Methods

BAPULM treats biology and chemistry as languages to be decoded. The framework utilizes a dual-branch architecture to process protein and ligand sequences independently before integration:

  1. Protein Encoding: The model employs ProtT5-XL-U50, a transformer pre-trained on billions of amino acids. It converts protein sequences into fixed 1024-dimensional embeddings that capture essential biophysical features. Preprocessing includes replacing non-standard amino acids (e.g., 'Z' or 'B') with 'X'.
  2. Ligand Encoding: Ligands are processed using MolFormer, a state-of-the-art transformer for SMILES strings. MolFormer utilizes rotary positional embeddings to help the model understand spatial relationships between atoms within a linear string.
  3. Predictive Network: These high-dimensional embeddings are projected into a shared 512-dimensional latent space, concatenated, and fed into a feed-forward network consisting of four ReLU-activated linear layers to output the final binding affinity ($pK_d$).
BAPULM Workflow and Architecture

Datasets

The model was trained on a curated subset of 100,000 protein-ligand complexes from the Binding Affinity Dataset (Hugging Face). To evaluate robustness, BAPULM was tested on three independent, widely recognized benchmarks: Benchmark1k2101, Test2016_290, and CSAR-HiQ_36. The authors ensured no overlap between the training and benchmark sets to prevent data leakage.

Distribution of Protein and Ligand Sequence Lengths

Key Results and Insights

BAPULM demonstrated significant performance gains across all metrics, proving that 1D sequence data can be as effective as 3D structural data:

  • State-of-the-Art Accuracy: BAPULM achieved a Pearson correlation (R) of 0.925 on Benchmark1k2101 and 0.914 on Test2016_290. On the Test2016_290 dataset, it outperformed the previous leading multimodal model (MFE), which relies on 3D structures, by 7.4% in correlation and reduced the Root Mean Square Error (RMSE) by over 21%.
  • Latent Space Organization: t-SNE visualizations revealed that BAPULM clusters protein-ligand complexes in a smooth gradient based on affinity, indicating a superior internal "map" of molecular interactions compared to other sequence-based combinations like ProtBERT and ChemBerta.
  • Computational Efficiency: By bypassing 3D modeling, the training process is remarkably fast, completing in approximately four minutes on a single Nvidia RTX 2080 Ti.

Conclusion and Future Work

BAPULM proves that the latent representations learned by large language models are powerful enough to reconstruct necessary spatial context for binding without explicit 3D coordinates. While the current study utilized 100k samples, scaling to the full 1.9M sample dataset is expected to further enhance accuracy. This framework is a prime candidate for rapid virtual screening, enabling researchers to filter billions of compounds down to viable leads before proceeding to expensive laboratory experiments.

Summary updated

BibTeX
@misc{meda2024bapulm,
  author = {Radheesh Sharma Meda and Amir Barati Farimani},
  title = {{BAPULM: Binding Affinity Prediction using Language Models}},
  year = {2024},
  eprint = {2411.04150},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.04150},
}
Figure