Abstract
Accurate prediction of drug–target interactions (DTIs) is central to computational drug discovery, offering the potential to reduce experimental costs and accelerate development timelines. While existing deep learning approaches such as Graph Neural Networks and Transformers have shown promise, they often overlook the rich semantic information embedded in textual descriptions of drugs and targets. These descriptions encode critical biomedical knowledge, including mechanisms of action, biological pathways, and therapeutic effects, which can enhance DTI prediction performance. We introduce DrugLM, a unified framework that integrates embeddings derived from large language models (LLMs) into DTI-specific model architectures. DrugLM leverages textual descriptions to generate semantic embeddings using a range of pretrained LLMs. We demonstrate that these embeddings can be seamlessly incorporated into existing DTI models, showing strong performance even without fine-tuning. Supervised parameter-efficient fine-tuning further improves embedding quality, leading to enhanced prediction accuracy. Notably, a simple multilayer perceptron (MLP) using only LLM-derived embeddings surpasses several established DTI methods, underscoring the power of semantic features.
Introduction
Predicting how a drug will interact with a target protein is a cornerstone of drug discovery, but it is notoriously difficult and expensive. Most current deep learning models focus on structural data: the 1D string representation of a chemical (SMILES) or the amino acid sequence of a protein. While powerful, these structural views often ignore a goldmine of information: textual descriptions. Scientific databases contain detailed prose about a drug’s mechanism of action and the biological pathways a protein inhabits. This semantic information captures high-level biomedical context that isn't always obvious from a chemical formula alone. The DrugLM framework bridges this gap by integrating LLM-derived text embeddings into the DTI prediction pipeline.
The DrugLM Framework
The researchers developed a three-stage framework to incorporate textual knowledge into predictive models:
- Data Acquisition & Preprocessing: Textual descriptions for drugs (from DrugBank) and targets (from UniProt) are extracted. Non-natural language elements like SMILES strings are removed to ensure the LLMs learn from semantic prose.
- Stage 1: Embedding Generation & Fine-tuning: Pre-trained LLMs—such as BGE, GTE, and E5—convert text into high-dimensional vectors. A Parameter-Efficient Fine-Tuning (PEFT) strategy using contrastive learning is employed to align interacting drug-target pairs closer in the embedding space.
- Stage 2: Integration: These textual embeddings are plugged into established DTI model architectures (e.g., DeepConv-DTI, GraphDTA, BACPI) or used as standalone inputs for a simple Multilayer Perceptron (MLP).
Key Results and Insights
The study utilized a curated dataset of 13,924 validated interactions from DrugBank. The results highlight several critical advantages of using textual embeddings:
- Text as a Powerhouse: Surprisingly, a simple MLP using only LLM-derived text embeddings outperformed several complex, established DTI models, suggesting that semantic features are incredibly dense with predictive power.
- Fine-Tuning Impact: While pre-trained LLMs performed well, supervised fine-tuning led to significant accuracy jumps. For example, fine-tuning the E5 model for GraphDTA resulted in a ~9% performance gain.
- Biological Clustering: Visual analysis via t-SNE shows that LLM embeddings naturally cluster biotech drugs and small-molecule drugs separately, proving the models capture fundamental biological categories from text.
- Model Performance: Incorporating LLM embeddings into the BACPI framework resulted in a 38.48% improvement over its baseline. The fine-tuned BGE model (BGE-FT) combined with LightGCN achieved the top performance with an AUC of 0.9098.
Conclusion
DrugLM provides a straightforward recipe for improved drug discovery: if textual descriptions of drugs and targets are available, LLM embeddings are both effective and easy to use. While some "knowledge conflict" was noted in specific architectures where structural and semantic features might overlap, the framework showed consistent improvements across diverse models. Future work will explore larger models and expand the scope to predicting binding affinity and potential side effects.
Summary updated