Effect of Uncertainty-Aware AI Models on Pharmacists' Reaction Time and Decision-Making in a Web-Based Mock Medication Verification Task: Randomized Controlled Trial
- PMID: 40249341
- PMCID: PMC12023801
- DOI: 10.2196/64902
Effect of Uncertainty-Aware AI Models on Pharmacists' Reaction Time and Decision-Making in a Web-Based Mock Medication Verification Task: Randomized Controlled Trial
Abstract
Background: Artificial intelligence (AI)-based clinical decision support systems are increasingly used in health care. Uncertainty-aware AI presents the model's confidence in its decision alongside its prediction, whereas black-box AI only provides a prediction. Little is known about how this type of AI affects health care providers' work performance and reaction time.
Objective: This study aimed to determine the effects of black-box and uncertainty-aware AI advice on pharmacist decision-making and reaction time.
Methods: Recruitment emails were sent to pharmacists through professional listservs describing a web-based, crossover, randomized controlled trial. Participants were randomized to the black-box AI or uncertainty-aware AI condition in a 1:1 manner. Participants completed 100 mock verification tasks with AI help and 100 without AI help. The order of no help and AI help was randomized. Participants were exposed to correct and incorrect prescription fills, where the correct decision was to "accept" or "reject," respectively. AI help provided correct (79%) or incorrect (21%) advice. Reaction times, participant decisions, AI advice, and AI help type were recorded for each verification. Likelihood ratio tests compared means across the three categories of AI type for each level of AI correctness.
Results: A total of 30 participants provided complete datasets. An equal number of participants were in each AI condition. Participants' decision-making performance and reaction times differed across the 3 conditions. Accurate AI recommendations resulted in the rejection of the incorrect drug 96.1% and 91.8% of the time for uncertainty-aware AI and black-box AI respectively, compared with 81.2% without AI help. Correctly dispensed medications were accepted at rates of 99.2% with black-box help, 94.1% with uncertainty-aware AI help, and 94.6% without AI help. Uncertainty-aware AI protected against bad AI advice to approve an incorrectly filled medication compared with black-box AI (83.3% vs 76.7%). When the AI recommended rejecting a correctly filled medication, pharmacists without AI help had a higher rate of correctly accepting the medication (94.6%) compared with uncertainty-aware AI help (86.2%) and black-box AI help (81.2%). Uncertainty-aware AI resulted in shorter reaction times than black-box AI and no AI help except in the scenario where "AI rejects the correct drug." Black-box AI did not lead to reduced reaction times compared with pharmacists acting alone.
Conclusions: Pharmacists' performance and reaction times varied by AI type and AI accuracy. Overall, uncertainty-aware AI resulted in faster decision-making and acted as a safeguard against bad AI advice to approve a misfilled medication. Conversely, black-box AI had the longest reaction times, and user performance degraded in the presence of bad AI advice. However, uncertainty-aware AI could result in unnecessary double-checks, but it is preferred over false negative advice, where patients receive the wrong medication. These results highlight the importance of well-designed AI that addresses users' needs, enhances performance, and avoids overreliance on AI.
Keywords: clinical decision support systems; AI; artificial intelligence; clinical decision support; decision-making; diagnosis; drug; drug development; human factors; human-computer interaction; pharmacist; prediction; randomized controlled trial; verification.
© Corey Lester, Brigid Rowell, Yifan Zheng, Zoe Co, Vincent Marshall, Jin Yong Kim, Qiyuan Chen, Raed Kontar, X Jessie Yang. Originally published in JMIR Medical Informatics (https://medinform.jmir.org).
Conflict of interest statement
Figures





Similar articles
-
Effect of Artificial Intelligence Helpfulness and Uncertainty on Cognitive Interactions with Pharmacists: Randomized Controlled Trial.J Med Internet Res. 2025 Jan 31;27:e59946. doi: 10.2196/59946. J Med Internet Res. 2025. PMID: 39888668 Free PMC article. Clinical Trial.
-
The Effects of Presenting AI Uncertainty Information on Pharmacists' Trust in Automated Pill Recognition Technology: Exploratory Mixed Subjects Study.JMIR Hum Factors. 2025 Feb 11;12:e60273. doi: 10.2196/60273. JMIR Hum Factors. 2025. PMID: 39932773 Free PMC article.
-
Designing Human-Centered AI to Prevent Medication Dispensing Errors: Focus Group Study With Pharmacists.JMIR Form Res. 2023 Dec 25;7:e51921. doi: 10.2196/51921. JMIR Form Res. 2023. PMID: 38145475 Free PMC article.
-
The Use of AI in Mental Health Services to Support Decision-Making: Scoping Review.J Med Internet Res. 2025 Jan 24;27:e63548. doi: 10.2196/63548. J Med Internet Res. 2025. PMID: 39854710 Free PMC article.
-
How Explainable Artificial Intelligence Can Increase or Decrease Clinicians' Trust in AI Applications in Health Care: Systematic Review.JMIR AI. 2024 Oct 30;3:e53207. doi: 10.2196/53207. JMIR AI. 2024. PMID: 39476365 Free PMC article. Review.
References
-
- Laves MH, Ihler S, Ortmaier T, Kahrs LA. Quantifying the uncertainty of deep learning-based computer-aided diagnosis for patient safety. Curr Dir Biomed Eng. 2019 Sep 1;5(1):223–226. doi: 10.1515/cdbme-2019-0057. doi. - DOI
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Research Materials