Back to Authors

Gao, Yanjun

https://orcid.org/0000-0002-9341-7360

Mayo Clinic

University of Colorado Anschutz

Citations 5

Performance evaluation of a large language model for medication management tasks
Henry, Kelli , Xu, Steven, Blotske, Kaitlin , Cargile, Moriah , Barreto, Erin F, Murray, Brian, Smith, Susan, Bauer, Seth R, Tilley, Adeleine , Liu, Tianming, Sohn, Sunghwan , Gao, Yanjun , Sikora, Andrea , Smith, Susan E , Murray, Brian , Frazee, Erin N. , Murray, Brian , Smith, Susan , Bauer, Seth R , Zhao, Xingmeng , Gao, Yanjun , Liu, Tianming

American Journal of Health-System Pharmacy | September 10, 2026 | Volume: No volume available | Issue: No issue available | Pages: No page available

10.1093/ajhp/zxag282 Get It

Abstract Purpose Large language models (LLMs) have proven performance for certain diagnostic tasks; however, limited studies have evaluated their consistency in recommending appropriate medication regimens for a given diagnosis. Medication management is a complex task that requires synthesis of drug formulation and complete order instructions for safe use. Here, the performance of GPT-4o, an LLM available with OpenAI’s ChatGPT, was tested on 3 medication management tasks. Methods GPT-4o performance was tested on 3 medication tasks: identifying available formulations for a given generic drug name, identifying drug-drug interactions (DDIs) for a given medication regimen, and preparing a medication order for a given generic drug name. For each experiment, the model’s raw text response was captured exactly as returned and evaluated using clinician evaluation in addition to standard LLM metrics, including Term Frequency-Inverse Document Frequency (TF-IDF) vectors, normalized Levenshtein similarity, and Recall-Oriented Understudy for Gisting Evaluation (ROUGE-1/ROUGE-L) F1 score between each response and its reference string. Results For the first task of drug-formulation matching, GPT-4o had 49% accuracy for generic medications being matched to all available formulations, with an average of 1.23 omissions per medication and 1.14 hallucinations per medication. For the second task of drug-drug interaction identification, the accuracy was 54.7% for identifying the DDI pair. For the third task, GPT-4o generated order sentences containing no medication or abbreviation errors in 65.8% of the cases. Conclusion Model performance for basic medication tasks was consistently poor. This evaluation highlights the need for domain-specific training through clinician-annotated datasets and a comprehensive evaluation framework for benchmarking performance.
MedMatch: a first step for the automation of large language model performance benchmarking for medication-related tasks
Blotske, Kaitlin , Zhao, Xingmeng , Cargile, Moriah , Tilley, Adeleine , Murray, Brian, Gao, Yanjun, Henry, Kelli , Smith, Susan E, Barreto, Erin, Bauer, Seth R. , Sohn, Sunghwan , Liu, Tianming, Smith, Susan , Murray, Brian , Henry, Kelli , Gao, Yanjun , Murray, Brian , Gao, Yanjun , Smith, Susan E , Frazee, Erin N , Bauer, Seth R , Liu, Tianming , Sikora, Andrea , Frazee, Erin N.

No container title available | January 15, 2026 | Volume: No volume available | Issue: No issue available | Pages: No page available

10.64898/2026.01.13.26343949 Get It

Abstract Background The accuracy and safety of generating medication orders by large language models (LLMs) must be demonstrated. Without standardization, performance evaluation is limited to time and resource-intensive clinician grading. This evaluation aimed to develop a standardized medication format that supports automated performance evaluation (MedMatch). Methods First, a survey of 40 medication prompts was given to clinicians to assess agreement in medication order communication. Second, a clinician panel developed a standardized medication format (MedMatch) for oral and intravenous medications. Third, a clinician-annotated dataset of medication prompts and standardized answers in the MedMatch format was developed for LLM testing. Finally, LLMs were retested with the same dataset, adjusted to exclude route information, to evaluate the appropriate categorization of medication route. Results The formal medication orders consistently showed low omission rates and high overlap for all entities, compared to the verbal and brief written communication types. Lexical overlap results demonstrated pattern norms amongst clinicians with entities appearing most commonly in positions 1-5 in the order of drug name, dose, unit, route, and frequency. In the second survey, the formal written group performed the highest with 78.3% of prompts considered appropriate as a computer-generated response. LLM accuracy on MedMatch order standardization was highest in oral solid (64.2-72.5%), intravenous intermittent (72.5-84.3%), and intravenous push (62.7-74.5%) categories. LLMs performed the worst at categorizing medication orders accurately into intravenous push (18-61%) and intravenous intermittent (51-100%) routes. Conclusions Standardized format for computer-based outputs may support automated performance analysis and enhance the clarity of medication communication.
Drug or Pokémon? Large language model performance in identification of fabricated medications
Henry, Kelli , Murray, Brian, Zhao, Xingmeng , Blotske, Kaitlin , Gao, Yanjun, Smith, Brooke, Smith, Susan , Barreto, Erin, Bauer, Seth R. , Sohn, Sunghwan , Liu, Tianming , Cohen, Mitch, Abdulnour, Raja-Elie E, Le, Khoa , Zhou, Hongjian , Clifton, David A. , Murray, Brian , Henry, Kelli , Gao, Yanjun , Smith, Brooke , Murray, Brian , Gao, Yanjun , Smith, Susan E , Frazee, Erin N , Bauer, Seth R , Bennett, Tell , Cohen, Mitch , Abdulnour, Raja-Elie E , Sikora, Andrea , Sohn, Sunghwan , Frazee, Erin N. , Celi, Leo Anthony , Liu, Fenglin

No container title available | January 14, 2026 | Volume: No volume available | Issue: No issue available | Pages: No page available

10.64898/2026.01.12.26343930 Get It

Abstract Background Large language models (LLMs) are increasingly used in medication-related tasks despite limited evidence supporting their accuracy and safety. LLMs are vulnerable to adversarial attacks and may confabulate in response to fabricated information in the prompt. Given the substantial risk of harm from medication errors, the purpose of this study was to establish a benchmark task to evaluate LLM performance in distinguishing fabricated from real medications. Methods Two datasets (brand and generic), each consisting of 250 medication lists were developed, each including 4-6 medications and one fabricated medication (specifically a Pokémon character), with complete dosing information provided. Six LLMs were evaluated (GPT-5-Chat, GPT-4o-mini, DrugGPT, Gemma-3-27B-IT, Llama-3.3-70B-Instruct, and Qwen3-32B). For each medication list, models were queried for dosing information and disease indication across three experimental conditions: standard decoding, standard decoding with mitigation prompting, and deterministic decoding (temperature = 0). Each experiment was performed in triplicate. Outputs were deemed confabulations if the LLM failed to recognize and reject the fabricated medication. The primary outcome was the rate of confabulations. Exact paired-permutation tests were used to compare confabulation rates across LLMs and prompting approaches. Results Confabulation rates under standard conditions ranged from 2.7% to 99.6%. DrugGPT demonstrated the lowest baseline confabulation rates (2.7-6.4%), whereas other models demonstrated substantially higher rates (47.2-99.6%). Mitigation prompting significantly reduced confabulation rates compared to standard and deterministic decoding across all tasks and datasets (p < 0.001): GPT-5-Chat achieved confabulation rates of 0% with mitigation prompting from baseline rates of 66.4-88.5%. Deterministic decoding did not substantially impact confabulation rates. Conclusions LLMs performing medication-related tasks are susceptible to confabulation in response to invalid or fabricated inputs, raising important safety concerns for clinical use. While mitigation prompting reduced confabulation rates, this study underscores the importance of robust safeguards when deploying LLMs in medication-related decision-making.
Rx-LLM: a benchmarking suite to evaluate safe large language model performance for medication-related tasks
Zhao, Xingmeng , Blotske, Kaitlin , Cargile, Moriah , Tilley, Adeleine , Murray, Brian , Gao, Yanjun , Henry, Kelli , Smith, Susan , Frazee, Erin N. , Bauer, Seth R. , Sohn, Sunghwan , Liu, Tianming , Cohen, Mitch , Smith, Susan E , Frazee, Erin N , Bauer, Seth R , Bennett, Tell , Cohen, Mitch , Sikora, Andrea , Henry, Kelli , Murray, Brian , Gao, Yanjun

No container title available | December 9, 2025 | Volume: No volume available | Issue: No issue available | Pages: No page available

10.64898/2025.12.01.25341004 Get It

Abstract Background: For large language models (LLMs) to reach their potential as information technology tools that make medication use safer, clinically relevant benchmarks capable of automated grading and designed specifically to measure the performance of LLMs for medication tasks are required. The purpose of this study was to design a suite of benchmarking tests reflective of Comprehensive Medication Management (CMM; the standard of care for medication optimization) and quantify the baseline performance of the latest LLMs. Methods: We established six benchmarks representing critical stages of the CMM process: drug formulation matching, drug order (sig) generation, drug route matching, drug-drug interaction identification, renal dose identification, and drug-indication matching. For each benchmark, we curated a clinician-annotated dataset comprising 250 standardized input-output pairs including both inpatient and outpatient medications. We evaluated the clinical knowledge retrieval capabilities of three LLMs: GPT-4o-mini, MedGemma-27B, and LLaMA3-70B. We employed a zero-shot prompting strategy, excluding in-context examples, to assess the models’ internal clinical knowledge rather than their few-shot learning potential. To check reliability, each model was run three times using a temperature of 0.7 (a mid-range value of an LLM setting controlling text generation randomness). Performance was assessed using task-specific evaluation metrics including precision (positive predictive value), recall (sensitivity), F1-score, accuracy, and correctness consistency across trials. Results: Across six benchmarks, LLaMA3-70B demonstrated the highest performance in four tasks: drug-formulation matching (F1, 54.0% [95 CI: 50.1-58]), drug-order generation (accuracy, 88.0%), drug-route identification (F1, 74.3% [95 CI: 71-78]), and drug-indication identification (accuracy, 97.6% [95 CI: 95.6-99.2]). In the drug–drug interaction task, GPT-4o-mini achieved the highest overall accuracy (70.4% [95 CI: 64.8-75.7]). For renal dose–adjustment identification, GPT-4o-mini demonstrated the highest F1 score (83.3% [95 CI: 77.6-88]). Correctness-consistency scores ranged from 8.0% to 97.6% across benchmarks, with no model exhibiting uniformly superior consistency. Conclusions: Model performance varied substantially across medication-related tasks. LLaMA3-70B demonstrated promising baseline performance in tasks involving formulation, ordering, route, and indication. GPT-4o-mini showed potential advantages in drug–drug interaction detection and renal dose adjustment. These findings underscore the need for task-specific evaluation when deploying models for medication-focused clinical decision support.
Drug-drug interaction identification using large language models
Blotske, Kaitlin , Zhao, Xingmeng , Henry, Kelli , Gao, Yanjun , Tilley, Adeleine, Cargile, Moriah, Murray, Brian , Smith, Susan , Frazee, Erin N. , Bauer, Seth R. , Sohn, Sunghwan , Liu, Tianming , Cohen, Mitch , Zhou, Hongjian , Clifton, David A. , Smith, Susan E , Frazee, Erin N , Bauer, Seth R , Bennett, Tell , Cohen, Mitch , Sikora, Andrea , Henry, Kelli , Murray, Brian , Gao, Yanjun , Blotske, Kaitlin , Zhao, Xingmeng , Tilley, Adeleine, Cargile, Moriah, Sohn, Sunghwan , Liu, Tianming , Zhou, Hongjian , Liu, Fenglin , Clifton, David A.

No container title available | December 8, 2025 | Volume: No volume available | Issue: No issue available | Pages: No page available

10.64898/2025.12.03.25341549 Get It

Abstract Background The purpose of this study was to develop a series of benchmarks specifically for large language model (LLM) performance in the identification of drug-drug interactions (DDIs). Methods We evaluated six LLMs using a clinician-designed dataset of 750 DDI scenarios. Tasks included: (1) a pointwise two-drug classification task (2) a pairwise three-drug discrimination task and (3) a listwise 4–6 drug selection task. Zero-shot prompting was applied and performance was assessed using precision, recall, F1 score, accuracy, and self-consistency. Results Model performance varied by task structure and interaction severity. GPT-5-Chat demonstrated the highest recall and F1 score in the pointwise task (80.7% and 80.2%), whereas DrugGPT achieved superior accuracy in the pairwise (93.7%) and listwise task (92.6%). All models had improved performance with more severe compared to less severe DDIs (accuracy 72.0-99.2% vs. 58.3-86.7%). All models tended to have higher self-consistency in the pairwise and listwise experiments compared to the pointwise experiment (68.8-93.6% vs. 31.0-74.2%). No model exhibited uniformly high reliability across all tasks. Conclusions Current LLMs show inconsistent capabilities in identifying DDIs. Performance degrades as reasoning space expands with limited stability. These findings emphasize the need for multi-format evaluation frameworks and reliability-aware assessment when considering LLMs for medication-safety applications.