Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

Evaluating Accuracy and Reproducibility of Large Language Model Performance in Pharmacy Education

Amoreena Most, Mengxuan Hu, Huibo Yang, Tianming Liu, Xianyan Chen, Sheng Li, Steven Xu, Zhengliang Liu, Andrea Sikora
doi: https://doi.org/10.1101/2024.03.21.24304667
Amoreena Most
1University of Georgia College of Pharmacy, Augusta, GA, USA
PharmD, BCCCP
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Mengxuan Hu
2School of Data Science, University of Virginia, Charlottesville, VA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Huibo Yang
2School of Data Science, University of Virginia, Charlottesville, VA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Tianming Liu
3Department of Computer Science, University of Georgia, Athens, GA
PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Xianyan Chen
4University of Georgia Statistical Consulting Center, Athens, GA
PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Sheng Li
2School of Data Science, University of Virginia, Charlottesville, VA
PhD
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Steven Xu
3Department of Computer Science, University of Georgia, Athens, GA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Zhengliang Liu
3Department of Computer Science, University of Georgia, Athens, GA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Andrea Sikora
5University of Georgia College of Pharmacy, Department of Clinical and Administrative Pharmacy, Augusta, GA, USA
PharmD, MSCR, BCCCP, FCCM
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • For correspondence: sikora{at}uga.edu
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

The purpose of this study was to compare performance of ChatGPT (GPT-3.5), ChatGPT (GPT-4), Claude2, Llama2-7b, and Llama2-13b on 219 multiple-choice questions focusing on critical care pharmacotherapy. To further assess the ability of engineering LLMs to improve reasoning abilities and performance, we examined responses with a zero-shot Chain-of-Thought (CoT) approach, CoT prompting, and a custom built GPT (PharmacyGPT). A 219 multiple-choice questions focused on critical care pharmacotherapy topics used in Doctor of Pharmacy curricula from two accredited colleges of pharmacy was compiled for this study. A total of five LLMs were evaluated: ChatGPT (GPT-3.5), ChatGPT (GPT-4), Claude2, Llama2-7b, and Llama2-13b. The primary outcome was response accuracy. Of the five LLMs tested, GPT-4 showed the highest average accuracy rate at 71.6%. A larger variance indicates lower consistency and reduced confidence in its answers. Llama2-13b had the lowest variance (0.070) of all the LLMs, but performed with an accuracy of 41.5%. Following analaysis of overall accuracy, performance on knowledge- vs. skill-based questions were assessed. All five LLMs demonstrated higher accuracy on knowledge-based questions compared to skill-based questions. GPT-4 had the highest accuracy for knowledge- and skill-based questions, with an accuracy of 87% and 67%, respectively. Response accuracy from LLMs in the domain of clinical pharmacy can be improved by using prompt engineering techniques.

Competing Interest Statement

The authors have declared no competing interest.

Funding Statement

Funding through Agency of Healthcare Research and Quality for Drs. Sikora, Li, and Liu was provided through R21HS028485 and R01HS029009.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Yes

Footnotes

  • Conflicts of Interest: The authors have no conflicts of interest.

  • Funding: Funding: Funding through Agency of Healthcare Research and Quality for Drs. Sikora, Most, Li, and Liu was provided through R21HS028485 and R01HS029009.

Data Availability

All data produced in the present study are available upon reasonable request to the authors

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-NC-ND 4.0 International license.
Back to top
PreviousNext
Posted March 24, 2024.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Evaluating Accuracy and Reproducibility of Large Language Model Performance in Pharmacy Education
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Evaluating Accuracy and Reproducibility of Large Language Model Performance in Pharmacy Education
Amoreena Most, Mengxuan Hu, Huibo Yang, Tianming Liu, Xianyan Chen, Sheng Li, Steven Xu, Zhengliang Liu, Andrea Sikora
medRxiv 2024.03.21.24304667; doi: https://doi.org/10.1101/2024.03.21.24304667
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
Evaluating Accuracy and Reproducibility of Large Language Model Performance in Pharmacy Education
Amoreena Most, Mengxuan Hu, Huibo Yang, Tianming Liu, Xianyan Chen, Sheng Li, Steven Xu, Zhengliang Liu, Andrea Sikora
medRxiv 2024.03.21.24304667; doi: https://doi.org/10.1101/2024.03.21.24304667

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Medical Education
Subject Areas
All Articles
  • Addiction Medicine (349)
  • Allergy and Immunology (668)
  • Allergy and Immunology (668)
  • Anesthesia (181)
  • Cardiovascular Medicine (2648)
  • Dentistry and Oral Medicine (316)
  • Dermatology (223)
  • Emergency Medicine (399)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (942)
  • Epidemiology (12228)
  • Forensic Medicine (10)
  • Gastroenterology (759)
  • Genetic and Genomic Medicine (4103)
  • Geriatric Medicine (387)
  • Health Economics (680)
  • Health Informatics (2657)
  • Health Policy (1005)
  • Health Systems and Quality Improvement (985)
  • Hematology (363)
  • HIV/AIDS (851)
  • Infectious Diseases (except HIV/AIDS) (13695)
  • Intensive Care and Critical Care Medicine (797)
  • Medical Education (399)
  • Medical Ethics (109)
  • Nephrology (436)
  • Neurology (3882)
  • Nursing (209)
  • Nutrition (577)
  • Obstetrics and Gynecology (739)
  • Occupational and Environmental Health (695)
  • Oncology (2030)
  • Ophthalmology (585)
  • Orthopedics (240)
  • Otolaryngology (306)
  • Pain Medicine (250)
  • Palliative Medicine (75)
  • Pathology (473)
  • Pediatrics (1115)
  • Pharmacology and Therapeutics (466)
  • Primary Care Research (452)
  • Psychiatry and Clinical Psychology (3432)
  • Public and Global Health (6527)
  • Radiology and Imaging (1403)
  • Rehabilitation Medicine and Physical Therapy (814)
  • Respiratory Medicine (871)
  • Rheumatology (409)
  • Sexual and Reproductive Health (410)
  • Sports Medicine (342)
  • Surgery (448)
  • Toxicology (53)
  • Transplantation (185)
  • Urology (165)