A Study of Calibration as a Measurement of Trustworthiness of Large Language Models in Biomedical Research
Rodrigo de OliveiraiD, Matthew GarberiD, James M. GwinnuttiD, Emaan RashidiiD, Jwu-Hsuan (Shantina) Hwang, William Gilmour, Jay NanavatiiD, Khaldoun Zine El AbidineiD, Christina DeFilippo MackiD
Abstract
ObjectivesTo assess the calibration of 9 large language models (LLMs) within biomedical natural language processing (BioNLP) tasks, furthering understanding of trustworthiness and reliability in real-world settings. Materials and MethodsFor each LLM, we collected responses and corresponding confidence scores for all 13 datasets (grouped into 6 tasks) of the Biomedical Language Understanding & Reasoning Benchmark (BLURB). Confidence scores were assigned using 3 strategies: Verbal, Self-consistency, Hybrid. For evaluation, we introduced Flex-ECE (Flexible Expected Calibration Error): a novel adaptation of ECE that accounts for partial correctness in model responses, allowing for a more realistic assessment of calibration in language-based settings. Two post-hoc calibration techniques--isotonic regression and histogram binning--were evaluated. ResultsAcross tasks, mean calibration ranged from 23.9% (Population-Intervention-Comparison-Outcome extraction) to 46.6% (Relation Extraction). Across LLMs, Medicine-Llama3-8B had the best mean overall calibration (29.8%); Flan-T5-XXL had the highest ranking on 5/13 datasets. Across strategies, self-consistency (mean: 27.3%) had better calibration than Verbal (mean: 42.0%) and Hybrid (mean: 44.2%). Post-hoc methods substantially improved calibration, with best mean calibrated Flex-ECEs ranging from 0.1% to 4.1%. DiscussionThe poor out-of-the-box calibration of LLMs poses a risk to trustworthy deployment of such models in real-world BioNLP applications. Calibration can be improved post-hoc and is a recommended practice. Non-binary metrics for LLM evaluation such as Flex-ECE provide a more realistic assessment of trustworthiness of LLMs, and indeed any model that can be partially right/wrong. ConclusionThis study shows that out-of-the-box calibration of LLMs is very poor, but traditional post-hoc calibration techniques are useful to calibrate LLMs.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 15
- FWCI
- 6.07
- Field percentile
- top 3%
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- MedMisBench: Measuring Epistemic Resilience of LLMs Under Misleading Medical Context
Hongjian Zhou, Xinyu Zou, … David A. Clifton·bioRxiv·Jun 10, 2026
- CARDBiomedBench: A Benchmark for Evaluating Large Language Model Performance in Biomedical Research
Owen Bianchi, Maya Willey, … Faraz Faghri·The Lancet Digital HealthPeer-reviewed·Jan 1, 2026
- BioLP-bench: Measuring understanding of biological lab protocols by large language models
Igor Ivanov·bioRxiv·Aug 21, 2024
- EYE-Llama, an in-domain large language model for ophthalmology
Tania Haghighi, Sina Gholami, … Minhaj Nur Alam·iSciencePeer-reviewed·Jun 23, 2025
- A benchmark for large language models in bioinformatics
Varuni Sarwal, Gaia Andreoletti, … Serghei Mangul·bioRxiv·Dec 19, 2023
- Illusions of Alignment Between Large Language Models and Brains Emerge From Fragile Methods and Overlooked Confounds
Nima Hadidi, Ebrahim Feghhi, … Jonathan C. Kao·bioRxiv·Mar 9, 2025