Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
Randomized Controlled Trial
. 2025 Apr 18:13:e64902.
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

Affiliations
Randomized Controlled Trial

Effect of Uncertainty-Aware AI Models on Pharmacists' Reaction Time and Decision-Making in a Web-Based Mock Medication Verification Task: Randomized Controlled Trial

Corey Lester et al. JMIR Med Inform. .

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.

PubMed Disclaimer

Conflict of interest statement

Conflicts of Interest: None declared.

Figures

Figure 1.
Figure 1.. An example of the interface.
Figure 2.
Figure 2.. Presentations of 2 artificial intelligence (AI) models. The left-hand graphs are “black-box AI,” which displays “yes” or “no” for 4 pill characteristics: imprint, color, shape, and score. The right-hand graphs are “uncertainty-aware AI,” which illustrates the predicted probability of each set of predictions summarized in a histogram.
Figure 3.
Figure 3.. Participant flow of the randomized controlled trial for effect of AI models on medication dispensing in pharmacists. AI: artificial intelligence.
Figure 4.
Figure 4.. Plot of pharmacists’ decision-making performance (% of correct decisions; higher is better). AI: artificial intelligence.
Figure 5.
Figure 5.. Plot of reaction time (in seconds; higher is worse) of included pharmacists. AI: artificial intelligence.

Similar articles

References

    1. Sahu A, Mishra J, Kushwaha N. Artificial intelligence (AI) in drugs and pharmaceuticals. Comb Chem High Throughput Screen. 2022;25(11):1818–1837. doi: 10.2174/1386207325666211207153943. doi. Medline. - DOI - PubMed
    1. Sechopoulos I, Teuwen J, Mann R. Artificial intelligence for breast cancer detection in mammography and digital breast tomosynthesis: state of the art. Semin Cancer Biol. 2021 Jul;72:214–225. doi: 10.1016/j.semcancer.2020.06.002. doi. Medline. - DOI - PubMed
    1. 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
    1. Khosravi M, Zare Z, Mojtabaeian SM, Izadi R. Artificial intelligence and decision-making in healthcare: a thematic analysis of a systematic review of reviews. Health Serv Res Manag Epidemiol. 2024;11:23333928241234863. doi: 10.1177/23333928241234863. doi. Medline. - DOI - PMC - PubMed
    1. Curtain C, Peterson GM. Review of computerized clinical decision support in community pharmacy. J Clin Pharm Ther. 2014 Aug;39(4):343–348. doi: 10.1111/jcpt.12168. doi. Medline. - DOI - PubMed

Publication types

LinkOut - more resources