medRxiv · 2024 · 10 citations · 22 references
ComputingBiomedical InformaticsHealth InformaticsClinical Decision SupportClinical InformaticsNatural Language ProcessingClinical Natural Language ProcessingDiagnostic UncertaintyLanguage ModelingLanguage ModelsUncertainty EstimationUncertainty RepresentationCommunicating Medical UncertaintyConsistency MetricsDiagnostic Uncertainty AnalysisLarge Language ModelsMetricsModel Confidence EstimationUncertainty CalibrationUncertainty Metrics
Abstract Introduction The inability of Large Language Models (LLMs) to communicate uncertainty is a significant barrier to their use in medicine. Before LLMs can be integrated into patient care, the field must assess methods to measure uncertainty in ways that are useful to physician-users. Objective Evaluate the ability for uncertainty metrics to quantify LLM confidence when performing diagnosis and treatment selection tasks by assessing the properties of discrimination and calibration. Methods We examined Confidence Elicitation, Token Level Probability, and Sample Consistency metrics across GPT3.5, GPT4, Llama2 and Llama3. Uncertainty metrics were evaluated against three datasets of open-ended patient scenarios. Results Sample Consistency methods outperformed Token Level Probability and Confidence Elicitation methods. Sample Consistency by Sentence Embedding achieved the highest discrimination performance (ROC AUC 0.68–0.79) with poor calibration, while Sample Consistency by GPT Annotation achieved the second-best discrimination (ROC AUC 0.66-0.74) with more accurate calibration. Nearly all uncertainty metrics had better discriminative performance with diagnosis rather than treatment selection questions. Furthermore, verbalized confidence (Confidence Elicitation) was found to consistently over-estimate model confidence. Conclusions Sample Consistency is the most effective method for estimating LLM uncertainty of the metrics evaluated. Sample Consistency by Sentence Embedding can effectively estimate uncertainty if the user has a set of reference cases with which to re-calibrate their results, while Sample Consistency by GPT Annotation is more effective method if the user does not have reference cases and requires accurate raw calibration. Our results confirm LLMs are consistently over-confident when verbalizing their confidence through Confidence Elicitation.
22
Calibration: the Achilles heel of predictive analytics
Ben Van Calster, David J. McLernon, Maarten van Smeden et al. · BMC Medicine · 2019 · 1.9K citations · Full text
Discrimination and Calibration of Clinical Prediction Models
Ana Carolina Alba, Thomas Agoritsas, Michael Walsh et al. · JAMA · 2017 · 1.6K citations
Retrieval-Augmented Generation for Large Language Models: A Survey
Yunfan Gao, Yun Xiong, Xinyu Gao et al. · arXiv (Cornell University) · 2023 · 658 citations · Full text
Capabilities of GPT-4 on Medical Challenge Problems
Harsha Nori, Nicholas King, Scott Mayer McKinney et al. · arXiv (Cornell University) · 2023 · 510 citations · Full text