Reconsidering LLM Uncertainty Estimation Methods in the Wild
Authors:
Preprint
Abstract
Large Language Model (LLM) Uncertainty Estimation (UE) methods have become a crucial tool for detecting hallucinations in recent years. While numerous UE methods have been proposed, most existing studies evaluate them in isolated short-form QA settings using threshold-independent metrics such as AUROC or PRR. However, real-world deployment of UE methods introduces several challenges. In this work, we systematically examine four key aspects of deploying UE methods in practical settings. Specifically, we assess (1) the sensitivity of UE methods to decision threshold selection, (2) their robustness to query transformations such as typos, adversarial prompts, and prior chat history, (3) their applicability to long-form generation, and (4) strategies for handling multiple UE scores for a single query. Our evaluations on 19 UE methods reveal that most of them are highly sensitive to threshold selection when there is a distribution shift in the calibration dataset. While these methods generally exhibit robustness against previous chat history and typos, they are significantly vulnerable to adversarial prompts. Additionally, while existing UE methods can be adapted for long-form generation through various strategies, there remains considerable room for improvement. Lastly, ensembling multiple UE scores at test time provides a notable performance boost, which highlights its potential as a practical improvement strategy. Code is available at: https://github.com/duygunuryldz/uncertainty_in_the_wild.Keywords
All Related Versions
This publication has 22 references indexed in Scilit:
- Trust Dynamics in AI-Assisted Development: Definitions, Factors, and Implications2025
- Benchmarking Uncertainty Quantification Methods for Large Language Models with LM-PolygraphTransactions of the Association for Computational Linguistics, 2025
- Detecting hallucinations in large language models using semantic entropyNature, 2024
- Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedback2023
- The Internal State of an LLM Knows When It’s Lying2023
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models2023
- FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation2023
- Hybrid Uncertainty Quantification for Selective Text Classification in Ambiguous Tasks2023
- Natural Questions: A Benchmark for Question Answering ResearchTransactions of the Association for Computational Linguistics, 2019
- Isotonic regression in general dimensionsThe Annals of Statistics, 2019