Accepted for/Published in: JMIR Medical Informatics
Date Submitted: Sep 26, 2024
Open Peer Review Period: Sep 26, 2024 - Nov 21, 2024
Date Accepted: Jan 31, 2025
(closed for review but you can still tweet)
Benchmarking the Confidence of Large Language Models in Clinical Questions
ABSTRACT
Background:
The capabilities of large language models (LLMs) to self-assess their own confidence in answering questions in the biomedical realm remain underexplored.
Objective:
This study evaluates the confidence levels of 12 LLMs across five medical specialties to assess their ability to accurately judge their responses
Methods:
We used 1,965 multiple-choice questions assessing clinical knowledge from internal medicine, obstetrics and gynecology, psychiatry, pediatrics, and general surgery areas. Models were prompted to provide answers and to also provide their confidence for the correct answer (0-100). The confidence rates and the correlation between accuracy and confidence were analyzed
Results:
There was an inverse correlation (r=-0.40, p=0.001) between confidence and accuracy, where worse performing models showed paradoxically higher confidence. For instance, a top performing model, GPT4o had a mean accuracy of 74% with a mean confidence of 63%, compared to a least performant model, Qwen-2-7B, which showed mean accuracy 46% but mean confidence 76%. The mean difference in confidence between correct and incorrect responses was low for all models, ranging from 0.6% to 5.4%, with GPT4o having the highest differentiation of 5.4%.
Conclusions:
Better performing LLMs show more aligned overall confidence levels. However, even the most accurate models still show minimal variation in confidence between right and wrong answers. This underscores an important limitation in current LLMs' self-assessment mechanisms, highlighting the need for further research before integration into clinical settings
Citation
Request queued. Please wait while the file is being generated. It may take some time.
Copyright
© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.