Improving drug-drug interaction prediction via in-context learning and judging with large language models
Open Access
- 2 June 2025
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Pharmacology
- Vol. 16, 1589788
Abstract
Introduction: Large Language Models (LLMs), recognized for their advanced capabilities in natural language processing, have been successfully employed across various domains. However, their effectiveness in addressing challenges related to drug discovery has yet to be fully elucidated.Methods: In this paper, we propose a novel LLM based method for drug-drug interaction (DDI) prediction, named DDI-JUDGE, achieved through the integration of judging and ICL prompts. The proposed method outperforms existing LLM approaches, demonstrating the potential of LLMs for predicting DDIs. We introduce a novel in-context learning (ICL) prompt paradigm that selects high-similarity samples as positive and negative prompts, enabling the model to effectively learn and generalize knowledge. Additionally, we present an ICL-based prompt template that structures inputs, prediction tasks, relevant factors, and examples, leveraging the pre-trained knowledge and contextual understanding of LLMs to enhance DDI prediction capabilities. To further refine predictions, we employ GPT-4 as a discriminator to assess the relevance of predictions generated by multiple LLMs.Results: DDI-JUDGE achieves the best performance among all models in both zero-shot and few-shot settings, with an AUC of 0.642/0.788 and AUPR of 0.629/0.801, respectively. These results demonstrate its superior predictive capability and robustness across different learning scenarios.Development: These findings highlight the potential of LLMs in advancing drug discovery through more effective DDI prediction. The modular prompt structure, combined with ensemble reasoning, offers a scalable framework for knowledge-intensive biomedical applications. The code for DDI-JUDGE is available at https://github.com/zcc1203/ddi-judge.Keywords
This publication has 61 references indexed in Scilit:
- 3DSMILES-GPT: 3D molecular pocket-based generation with token-only large language modelChemical Science, 2024
- Regulation-aware graph learning for drug repositioning over heterogeneous biological networkInformation Sciences, 2024
- A heterogeneous information network learning model with neighborhood-level structural representation for predicting lncRNA-miRNA interactionsComputational and Structural Biotechnology Journal, 2024
- SSI–DDI: substructure–substructure interactions for drug–drug interaction predictionBriefings in Bioinformatics, 2021
- Risk of QTc prolongation among cancer patients treated with tyrosine kinase inhibitorsInternational Journal of Cancer, 2020
- Thromboembolism Prophylaxis for Patients Discharged From the HospitalJACC, 2020
- Deep learning improves prediction of drug–drug and drug–food interactionsProceedings of the National Academy of Sciences of the United States of America, 2018
- A network integration approach for drug-target interaction prediction and computational drug repositioning from heterogeneous informationNature Communications, 2017
- Label Propagation Prediction of Drug-Drug Interactions Based on Clinical Side EffectsScientific Reports, 2015
- The Generation of a Unique Machine Description for Chemical Structures-A Technique Developed at Chemical Abstracts Service.Journal of Chemical Documentation, 1965