Comparing Uncertainty Measurement and Mitigation Methods for Large Language Models: A Systematic Review

Toghrul Abbasli, Kentaroh Toyoda, Yuan Wang, Leon Witt, Muhammad Asif Ali, Yukai Miao, Dan Li, Qingsong Wei · OpenReview

Abstract

Large Language Models (LLMs) have been transformative across many domains. However, hallucination—confidently outputting incorrect information—remains one of the leading challenges for LLMs. This raises the question of how to accurately assess and quantify the uncertainty of LLMs. Extensive literature on traditional models has explored Uncertainty Quantification (UQ) to measure uncertainty and employed calibration techniques to address the misalignment between uncertainty and accuracy. While some of these methods have been adapted for LLMs, the literature lacks an in-depth analysis of their effectiveness and does not offer a comprehensive benchmark to enable insightful comparison among existing solutions. In this work, we fill this gap via a systematic survey of representative prior works on UQ and calibration for LLMs and introduce a rigorous benchmark. Using two widely used reliability datasets, we empirically evaluate six related methods, which justify the significant findings of our review. Finally, we provide outlooks for key future directions and outline open challenges. To the best of our knowledge, this survey is the first dedicated study to review the calibration methods and relevant metrics for LLMs.

Introduction: The Reliability Hurdle

The "black box" nature of Large Language Models (LLMs) presents a significant hurdle for deployment in high-stakes fields like healthcare or finance. The primary issue is "hallucination": LLMs often generate incorrect information with high confidence, a phenomenon known as miscalibration. For these models to be truly reliable, they must possess the ability to "know what they do not know."

While uncertainty measurement is well-established in traditional deep learning, LLMs introduce unique complexities. Many state-of-the-art models are closed-box (accessed via APIs), preventing access to internal probability scores (logits). Furthermore, quantifying uncertainty in long-form generative text is fundamentally more difficult than in simple classification tasks. This review provides a standardized comparison of current methods to address these challenges.

A Taxonomy of Uncertainty Methods

The landscape of uncertainty management in LLMs is divided into two primary pillars: Uncertainty Quantification (UQ) and Calibration. UQ focuses on detecting how "sure" a model is about a specific output, while Calibration involves adjusting those confidence levels to align with actual accuracy.

A comprehensive taxonomy tree of uncertainty quantification and calibration methods for LLMs.

Uncertainty Quantification (UQ)

UQ methods are generally categorized by the level of model access required:

  • Open-box methods: These utilize internal model data, such as logits or hidden states, to calculate entropy or variance.
  • Closed-box methods: These rely solely on generated text. Techniques include prompting the model to express its own uncertainty (verbalized uncertainty) or using ensembling to see if multiple generations agree on an answer.

Calibration Strategies

Calibration techniques aim to reduce the gap between a model's predicted probability and its actual success rate. These can be further divided into bias reduction and correctness alignment.

Detailed breakdown of calibration methods, including their mathematical formulas, complexity, and cost-effectiveness.

Key calibration approaches include:

  • Parametric Scaling: Methods like Temperature Scaling (TS) and Platt Scaling use a small validation set to learn how to adjust the model's output distribution.
  • Linguistic Calibration: This involves prompting the model to provide a verbal confidence score (e.g., "I am 80% sure").
  • Reasoning-based Calibration: Utilizing Chain-of-Thought (CoT) allows the model to break down problems, which often naturally aligns its final confidence with the task's actual difficulty.

Benchmarking and Datasets

To evaluate these methods, the researchers utilized three primary datasets designed to test different aspects of model reliability:

  1. TriviaQA: A large-scale reading comprehension dataset for general knowledge.
  2. TruthfulQA: Designed to provoke models into mimicking human misconceptions or falsehoods.
  3. Natural Questions (NQ): Real-world Google search queries used to test performance on ambiguous or out-of-distribution questions.

Performance was measured using metrics such as Expected Calibration Error (ECE), which quantifies the difference between confidence and accuracy, and AUROC, which measures the model's ability to distinguish correct from incorrect answers.

Key Insights and Results

The systematic review and empirical benchmarking yielded several critical findings:

  • The Reasoning Advantage: Models using Chain-of-Thought (CoT) reasoning, such as DeepSeek-R1, demonstrated significantly lower ECE. The process of "thinking through" a problem helps the model better calibrate its final output.
  • Size vs. Calibration: Larger models are not inherently better calibrated. Smaller models like Mistral-7B-Instruct-v0.3 achieved remarkable reliability when paired with simple scaling techniques like Platt Scaling.
  • The Closed-Box Gap: While verbalized uncertainty scores are improving in models like GPT-4o, they still lag behind logit-based (open-box) methods in terms of precision.
  • Domain Sensitivity: Miscalibration spikes significantly on the Natural Questions (NQ) dataset, suggesting that internal confidence meters often fail when models encounter distribution shifts or unfamiliar question styles.

Future Directions and Open Challenges

Despite progress, several "open frontiers" remain in the field of LLM uncertainty:

  • Metric Inadequacy: Standard metrics like BLEU fail to capture semantic nuances; a model might be semantically correct but unconfident, or vice versa.
  • Computational Cost: Many high-performing UQ methods require multiple inference passes (ensembling), which is often too expensive for real-time use. Developing efficient "one-pass" estimates is a priority.
  • Real-time Mitigation: Most calibration is currently post-hoc. There is a growing need for "uncertainty-aware" loss functions that teach models humility during the initial training phase.

Summary updated

BibTeX
@misc{abbasli2025comparing,
  author = {Toghrul Abbasli and Kentaroh Toyoda and Yuan Wang and Leon Witt and Muhammad Asif Ali and Yukai Miao and Dan Li and Qingsong Wei},
  title = {{Comparing Uncertainty Measurement and Mitigation Methods for Large Language Models: A Systematic Review}},
  year = {2025},
  eprint = {2504.18346},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.18346},
}
Figure