Motivation: 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 involved, and therapeutic effects of drugs, which can enhance DTI prediction performance. Results: We introduce DrugLM , a unified framework that integrates embeddings derived from large language models (LLMs) into DTI-specific model architectures. DrugLM leverages textual descriptions of drugs and targets to generate semantic embeddings using a range of pretrained LLMs. These embeddings can be seamlessly incorporated into existing DTI models. We systematically evaluate multiple LLMs on benchmark DTI datasets and demonstrate strong performance even without fine-tuning. Moreover, supervised parameter-efficient fine-tuning of the LLMs 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. Our findings highlight the practical value of integrating LLMs into DTI pipelines and offer a straightforward recipe for improved drug discovery: LLM embeddings of drugs and targets are both effective and easy to use. Availability: Our code and dataset are available at https://github.com/ShPhoebus/DrugLM
Accurate prediction of drug–target interactions (DTIs) is a cornerstone of computational drug discovery, with the potential to reduce experimental costs and accelerate therapeutic development. Although deep learning methods such as graph neural networks and Transformers have achieved notable success in predicting DTIs, they often fail to fully exploit the rich semantic information contained in textual descriptions of drugs and targets. We developed DrugLM, a unified framework that integrates embeddings from large language models (LLMs) into DTI prediction architectures. Textual descriptions of drugs and targets were encoded using pre-trained LLMs, with optional selective upper-layer fine-tuning for task adaptation. The resulting embeddings were incorporated into six representative backbone models and evaluated on a curated DrugBank-derived dataset. Incorporating LLM-derived embeddings improved prediction performance across the evaluated architectures. Even without task-specific adaptation, pre-trained embeddings outperformed random or conventional initialization, while selective fine-tuning yielded additional gains in many settings. A simple multilayer perceptron using only LLM-derived embeddings also surpassed several established DTI methods, highlighting the predictive value of semantic representations. DrugLM provides an architecture-flexible strategy for incorporating semantic information from textual descriptions into the evaluated DTI prediction pipelines. These findings motivate further evaluation on additional datasets and protocols.