Skip to content
Open access

Navigating uncertainty matters: Evaluating large language models for drug-drug interaction identification.

Sep 2026 · Journal of Managed Care & Specialty Pharmacy · Vol 32 9, pp. 1076-1089 · 0 citations · 44 references
Medicine

TL;DR

Substantial variability exists in both DDI identification performance and uncertainty calibration across large language models, and prompt design alone was insufficient to consistently improve knowledge-aware uncertainty expression.

Abstract

Background

Accurate detection of drug-drug interactions (DDIs) is a fundamental component of safe medication management. Traditional rule-based clinical decision support systems for DDI identification lack higher-order reasoning and contribute to alert fatigue. Large language models (LLMs) have potential for DDI identification but may hallucinate, inconsistently identify interactions, and provide overly confident responses despite uncertainty. Prior studies have emphasized accuracy, but few have examined whether LLM uncertainty expression aligns with error risk.

Objective

To evaluate LLM performance in DDI identification using a clinician-validated dataset and to assess whether prompt-based mitigation strategies improve knowledge-aware uncertainty expression, defined as alignment between refusal behavior and likelihood of error.

Methods

We developed a clinician-curated DDI identification task consisting of 250 medication lists, each containing 1 clinically relevant interacting drug pair, to evaluate 5 LLMs: GPT-5-Chat, GPT-4o-mini, Gemma-27B, LLaMA3-70B, and Qwen3-32B. Models were evaluated using 3 prompt formats and a zero-shot approach, with no task-specific training or examples provided. Prompts were designed to encourage uncertainty acknowledgment, including a patient safety-focused mitigation prompt to support clinically appropriate and cautious responses. Each case was run 9 times per prompt condition. The primary outcome was the Refusal Index (RI), which quantifies alignment between model refusal behavior and likelihood of error. Secondary outcomes included overall accuracy, accuracy given attempted, refusal rate, self-consistency, F score, weighted score, and entropy.

Results

Across models, overall DDI identification accuracy ranged from 54.1% to 83.7%. GPT-5-Chat demonstrated the highest overall accuracy and self-consistency, whereas Quen3-32B demonstrated the lowest accuracy but the highest refusal rates. Alignment between refusal behavior and likelihood of error was weak to moderate (RI range 0.104-0.574) and varied by model. Prompt-based mitigation strategies produced inconsistent effects on RI and did not reliably recalibrate uncertainty behavior. Notably, higher overall accuracy and response stability did not consistently correspond to stronger knowledge-aware uncertainty expression. Qwen3-32B and GPT-4o-mini increased refusal rates under mitigation prompting but not in situations where responses were more likely to be incorrect.

Conclusions

Substantial variability exists in both DDI identification performance and uncertainty calibration across LLMs. Prompt design alone was insufficient to consistently improve knowledge-aware uncertainty expression. Because safe deployment of LLMs in medication management depends not only on accuracy but also on appropriate deferral when error risk is elevated, multidimensional evaluation frameworks are essential before clinical use.

Read PDF

Similar papers

Sep 2026

Performance evaluation of a large language model for medication management tasks.

Model performance for basic medication tasks was consistently poor, highlighting the need for domain-specific training through clinician-annotated datasets and a comprehensive evaluation framework for benchmarking performance.

Kelli R. Henry, Steven Xu, Kaitlin Blotske et al. · 0 citations
Review Open access Sep 2026

Drug–Drug Interaction Prediction: Aligning Evidence, Models, Validation, and Clinical Use

A claim-centered framework is introduced that clarifies which claims current DDI benchmarks can support and what additional evidence is needed before predictions can guide prescribing or monitoring and shows that useful explanations require evidence alignment and actionability in addition to visual plausibility.

Jing-Xiang Yang · 0 citations
Sep 2026

Performance of large language models on narrow therapeutic index drug monitoring: Implications for clinical pharmacy practice.

BACKGROUND Large language models are increasingly investigated as clinical decision support tools, but their reliability for therapeutic drug monitoring interpretation remains poorly explored. Phenytoin and digoxin, two narrow therapeutic index drugs, represent clinically challenging test cases. OBJECTIVES To evaluat...

H. Azmakan, Tahmour Azamakan · 0 citations
Review Sep 2026

Methods of predicting clinically significant DRUG-DRUG interactions beyond validated interaction checkers.

INTRODUCTION Drug-drug interactions (DDIs) are an important determinant of the safety of pharmacotherapy, yet only a fraction carry clinically significant consequences. Validated, database-driven interaction checkers detect potential interactions quickly and with high sensitivity, but their low specificity generates nu...

Slobodan M. Janković, Milijana T. Jovanović, Gorana Nedin Ranković · 0 citations
#machine learning Preprint Oct 2026

ColdDDI: Evaluating Knowledge Utilization in Cold-Start Drug-Drug Interaction Prediction

Cold-start drug-drug interaction (DDI) prediction tests whether models can identify clinically significant interactions for drugs without training-time interaction history. Existing benchmarks mostly report aggregate edge-prediction scores, leaving a key evaluation question unanswered: when models receive molecular, te...

Ji-Heng Liang, Chen Zhao, Di Wu et al. · 0 citations
Open access Aug 2026

Benchmarking large language models for HIV medical decision support

HIVMedQA is developed, a clinician-curated benchmark of HIV-related open-ended medical question-answer pairs spanning basic knowledge, clinical reasoning, complex patient vignettes, and bias-modified scenarios that provides a structured benchmark for evaluating LLMs in HIV clinical decision support.

Gonzalo Cardenal-Antolin, J. Fellay, Bashkim Jaha et al. · 1 citation

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.