Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

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)

The final, peer-reviewed published version of this preprint can be found here:

Benchmarking the Confidence of Large Language Models in Answering Clinical Questions: Cross-Sectional Evaluation Study

Omar M, Agbareia R, Glicksberg BS, Nadkarni GN, Klang E

Benchmarking the Confidence of Large Language Models in Answering Clinical Questions: Cross-Sectional Evaluation Study

JMIR Med Inform 2025;13:e66917

DOI: 10.2196/66917

PMID: 40378406

PMCID: 12101789

Benchmarking the Confidence of Large Language Models in Clinical Questions

  • Mahmud Omar; 
  • Reem Agbareia; 
  • Benjamin S Glicksberg; 
  • Girish N Nadkarni; 
  • Eyal Klang

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

Please cite as:

Omar M, Agbareia R, Glicksberg BS, Nadkarni GN, Klang E

Benchmarking the Confidence of Large Language Models in Answering Clinical Questions: Cross-Sectional Evaluation Study

JMIR Med Inform 2025;13:e66917

DOI: 10.2196/66917

PMID: 40378406

PMCID: 12101789

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© 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.