Uncertainty Quantification and Confidence Calibration in Large Language Models: A Survey

Xiaoou Liu, Tiejin Chen, Longchao Da, Chacha Chen, Zhen Lin, Hua Wei

Abstract

Large Language Models (LLMs) have demonstrated remarkable capabilities across various domains but remain prone to hallucinations and overconfidence. This survey provides a comprehensive taxonomy for Uncertainty Quantification (UQ) in LLMs, addressing unique challenges such as prompt ambiguity and reasoning divergence. By evaluating current methods, benchmarks, and real-world applications, we highlight the critical need for reliable confidence estimation to ensure the safety of LLMs in high-stakes domains like healthcare and law.

Introduction

While Large Language Models (LLMs) like GPT-4 are incredibly capable, they are notorious for "hallucinations"—producing plausible-sounding but factually incorrect information. In high-stakes fields like medical diagnostics or legal analysis, an overconfident, incorrect answer can have life-threatening or catastrophic consequences.

Traditional Uncertainty Quantification (UQ) methods, designed for simpler classification tasks, struggle with the scale and complexity of LLMs. Trillion-parameter models make Bayesian approaches like Monte Carlo dropout computationally prohibitive. Furthermore, LLMs introduce new "flavors" of uncertainty, such as how a slightly different prompt can lead to a completely different answer (input ambiguity) or how a model might take different logical paths to reach a conclusion (reasoning divergence). This paper establishes a unified framework to categorize, evaluate, and improve how we measure an LLM's confidence in its own output.

Taxonomy of Uncertainty Quantification Methods

We introduce a novel taxonomy that categorizes UQ methods along two primary axes: computational efficiency (e.g., single-pass vs. multi-round sampling) and uncertainty dimensions. Uncertainty is broken down into four key areas:

  1. Input Uncertainty: Arises from ambiguous or underspecified prompts.
  2. Reasoning Uncertainty: Occurs during multi-step thought processes where one wrong step cascades.
  3. Parameter Uncertainty: Stems from gaps in the model's training data (epistemic uncertainty).
  4. Prediction Uncertainty: Variability in generated text across different sampling runs (aleatoric uncertainty).

The survey evaluates techniques ranging from simple log-probability scores to sophisticated "LLM-as-a-judge" approaches and semantic-based methods that cluster responses by meaning rather than just lexical similarity.

Overview of UQ methods categorized by dimension, efficiency, and model access.

Benchmarking and Datasets

Existing benchmarks used to test UQ are categorized into several functional groups, including Reading Comprehension, Reasoning & Math, Factuality, and General Knowledge. While many are borrowed from general NLP tasks, there is a growing trend toward specialized datasets like MAQA (for epistemic uncertainty) and AmbigQA (for input ambiguity).

Categorization of benchmarking datasets for UQ across different task types.

Key Insights

Uncertainty vs. Confidence

These are distinct concepts. Uncertainty is a property of the model's predictive distribution (the "spread" of possible answers), while confidence is the model's belief in a specific prediction. An LLM can be highly uncertain about a topic but still express high confidence in a single, wrong hallucination.

The Semantic Gap

Traditional metrics often fail because they look at lexical (word-level) overlap. Modern UQ must operate in "semantic space"—recognizing that "The capital is Paris" and "Paris is the capital" are identical responses despite using different words.

Efficiency-Performance Trade-offs

There is a significant "cost of certainty." Multi-sample methods provide much better reliability but can be computationally expensive. Hybrid approaches—using cheap proxies like attention variance to flag "hotspots" that require more expensive, deeper analysis—are a promising direction.

Results and Impact

  • Reliability Gap: Studies show that over 30% of answers in medical QA tasks contain factual errors, yet models often present them with high confidence.
  • Clinical Impact: Implementing uncertainty-aware frameworks in clinical settings can potentially reduce diagnostic errors by up to 41% by flagging low-confidence cases for human review.
  • Marginal Gains: While multi-sample methods are the gold standard, they sometimes yield only marginal gains (≤ 0.02 AUROC improvement) over simpler methods, highlighting the need for more efficient algorithmic breakthroughs.

Limitations and Future Work

Several frontiers remain for UQ research:

  • Cross-Modality: Vision-Language Models (VLMs) often have misaligned confidence; they might be sure about what they "see" but uncertain about how to describe it.
  • System-Level Propagation: In agentic workflows, we need to track how uncertainty in early steps (e.g., web search) propagates through complex plans.
  • Interpretability: Current UQ tells us that a model is uncertain, but rarely why (e.g., bad prompt vs. lack of data).
  • Evaluation Metrics: Standard binary metrics like AUROC don't fully capture the nuance of open-ended text generation with multiple valid answers.

Summary updated

BibTeX
@inproceedings{liu2025uncertainty,
  author = {Xiaoou Liu and Tiejin Chen and Longchao Da and Chacha Chen and Zhen Lin and Hua Wei},
  title = {{Uncertainty Quantification and Confidence Calibration in Large Language Models: A Survey}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
}
Figure