A systematic evaluation of the association between uncertainty estimation methods and LLM hallucinationEvaluating the Relevance of Uncertainty Estimators for LLM Hallucination
Evaluating 46 uncertainty estimators on 4 hallucination datasets and 3 open-source models; the authors state that the association varies with task and is often weak.
- Hallucination is separated from factuality: intrinsic hallucination is an answer not supported by the given evidence at inference time, and extrinsic hallucination is an answer not supported by expected knowledge in pretraining. Uncertainty estimates are often used as failure proxies, but their association with these hallucination definitions has not been directly tested.
- The authors use LM-Polygraph to compute 46 white-box or black-box estimators on RAGTruth and the three HalluLens tasks, compare them against answer-level quality targets using AUROC, PRR, and RCE to assess discrimination, rejection gain, and rank calibration, and check whether estimators are redundant.
- The authors state that the association varies with the dataset: on short QA, most estimators are highly discriminative; on long text, they are more uniformly moderate; and contextual faithfulness and abstention are more concentrated and vary with the model. When fixing the model and changing the dataset, the Kendall τ of the ranking is 0.10 to 0.15; no estimator remains leading across all datasets.
- The authors note that LongWiki's F1 is not a pure hallucination label, class imbalance may affect panel comparisons, and models do not cover larger frontier systems. The evaluation is on 3 open-source instruction models; HalluLens uses Llama-3.1-70B-AWQ as the judge, and the paper does not report its agreement with humans.
- Evaluated models
- Mistral-7B-Instruct-v0.2Llama-2-7b-chat-hfLlama-2-13b-chat-hf
- Benchmarks
- RAGTruthHalluLensPreciseWikiQALongWikiNonExistentRefusal
- Metrics
- AUROCPRRRCE
The research team conducted a systematic empirical study of the association between uncertainty estimation methods and hallucination in LLMs, without presupposing that they are related, but directly testing when and to what extent the association holds. The study covers various uncertainty estimation methods, including information-theoretic, sampling-based, and reflexive types, and examines their performance in two scenarios: intrinsic hallucination (violating input faithfulness) and extrinsic hallucination (claims unsupported relative to training data), using four complementary benchmarks including RAGTruth and HalluLens. The results show that the association is highly variable and often weak, depending on the hallucination type and the LLM being evaluated. The authors argue that this result questions the direct use of uncertainty as a hallucination signal, while clarifying under what conditions it can provide actionable information. The paper is 35 pages, with 7 figures and 9 tables.
Paper analysis
What problem does this paper attempt to solve?
Uncertainty is often used as a proxy for hallucination, but its association with hallucination definitions has not been directly tested.
The association between uncertainty estimates and hallucination (inconsistency with expected evidence) — on which tasks and models it holds — has not been directly tested by hallucination definition.
- Scenario: The authors state that hallucination is statements not supported by input or training data, hindering deployment in medical, legal, and financial domains. The authors separate hallucination from factuality and distinguish intrinsic hallucination (explicit evidence does not support at inference time) from extrinsic hallucination (expected knowledge in pretraining does not support); the mechanisms and available signals may differ.
- Existing usage and gap: Uncertainty scores are commonly used for abstention, selective prediction, self-correction, in-context learning, or adaptive retrieval. The authors state that these methods are not designed to detect hallucination, existing evaluations mostly target broader errors, correctness, robustness, or calibration, and many scores are heuristic proxies lacking a rigorous probabilistic basis.
- What this paper does: Without presupposing the association holds, it compares 46 estimators on explicit hallucination targets, 4 datasets, and 3 open-source instruction-tuned models, covering retrieval-context faithfulness, and abstention in short QA, long text, and when facing non-existent entities.
- Authors' judgment: The authors state that the association is highly variable and often weak, depending on hallucination type and evaluated model, and therefore argue against treating uncertainty scores as a general hallucination detector.
What related research exists?
Related work covers uncertainty evaluation frameworks, protocol critiques, and hallucination definitions and benchmarks.
The authors use related work to show that estimators can already be compared in a unified framework, but evaluation goals are rarely hallucination-specific signals.
Evaluation Frameworks for Uncertainty Estimation
- LM-Polygraph (Fadeeva et al., 2023; Vashurin et al., 2025a): Uses the same pipeline to compute greedy answers, token probabilities, sampling, and semantic relation matrices, then reused by each estimator. The authors believe such frameworks provide comparability; whether evaluation is meaningful still depends on the correctness goal.
- Adjacent tools: UQLM (Bouchard et al., 2026), UncertaintyZoo (Wu et al., 2025), and UBench (Wang et al., 2025) provide complementary coverage or normalize estimator outputs to a common confidence range.
Protocols and Deployment Conditions
- Bakman et al. (2025): Evaluates 19 methods under threshold drift, prompt perturbation, long-text adaptation, and ensembling. The paper states it finds most methods are sensitive to thresholds and vulnerable to adversarial prompts, patterns invisible under standard evaluation conditions.
- Santilli et al. (2025) and Ielanskyi et al. (2025): The former notes that confounders like length can bias both uncertainty scores and correctness functions, and length baselines can compete with principled methods under length-biased metrics; the latter notes that approximate correctness functions like ROUGE, BLEURT, and LLM-as-judge reorder method rankings.
- Other critiques: The paper also mentions critiques of limited ecological validity in QA-style evaluations (Devic et al., 2025), achievable benchmarks making it hard to test calibration on variable outcomes (Cruz et al., 2024; Tomov et al., 2026), and incomparable estimator scales (Huang et al., 2024b). The authors summarize that single "A beats B" comparisons are often confounded by length, correctness functions, thresholds, or scales.
Hallucination Definitions and Benchmarks
- Ji et al. (2023): Distinguishes intrinsic hallucination (contradicting the input source) and extrinsic hallucination (unverifiable from that source) in input-conditioned generation.
- Huang et al. (2024a) and Augenstein et al. (2024): The former uses factuality against the world and faithfulness against context; the latter argues factuality requires an external oracle, while hallucination can be defined internally by whether the answer matches the evidence the model should have used. The paper writes they overlap but differ: one can be factually correct but unfaithful, or faithful to a misleading source but factually wrong.
- HalluLens and RAGTruth: Bang et al. (2025) change intrinsic/extrinsic to adjudicable evidence sources, use Wikipedia as a proxy for pretraining knowledge, and generate questions on the fly to reduce test leakage. The paper writes this proxy is imperfect for long texts (citing Fan et al., 2026) but is the most operational proxy currently. Niu et al. (2024)'s RAGTruth provides word-level annotations for retrieval-augmented generation. TriviaQA, Natural Questions, and SimpleQA test aspects of factuality; the paper writes that if treated as extrinsic mechanism benchmarks, all questions would need to be answerable from pretraining data, which is generally not established.
Baselines and Benchmarks
- Baselines: Comparisons are information/logit, white-box sampling, internal state, training density, reflexive, and black-box estimators in LM-Polygraph. AlignScore is a comparison using reference text, not an uncertainty estimator; unless otherwise noted, rankings exclude its variants.
- This paper's benchmarks: RAGTruth, and HalluLens's PreciseWikiQA, LongWiki, NonExistentRefusal. The paper does not rerun on benchmarks like TriviaQA.
The authors position this paper on the above gaps: retaining the LM-Polygraph catalog and adopting caution about protocols, but replacing lexical/semantic overlap or multiple-choice answers with evidence-unsupported targets derived from operationalized hallucination definitions.
How does the paper address this problem?
Using LM-Polygraph on intrinsic and extrinsic hallucination tasks, compare the association of 46 estimators with quality targets.
The authors do not propose new estimators, but use LM-Polygraph to compute existing estimators on the same intermediate quantities, and then compare them against each dataset's own hallucination quality target.
Problem Setting
- Generation model: Autoregressive model denoted pθ(y|x), where x is the query and optional context, and y is the answer of length T. Uncertainty is not defined as a unique form.
- Query-level target: By default, uncertainty is a property of the predictive distribution, U⋆(x)=Φ(pθ(·|x)). U(x) directly targets this quantity; U(x,y) is treated as a proxy for a single answer, not as another answer-level concept.
- Hallucination target: Each dataset provides an answer-level quality Q(x,y). The test is whether higher uncertainty corresponds to lower hallucination-specific quality, not general correctness.
How Estimators Are Grouped
- Access regime: First split into white-box and black-box, then grouped by the inputs needed to compute uncertainty. The implementation follows LM-Polygraph; the authors state they did not modify the estimator implementations; full definitions are in Appendix B.
- Five white-box categories: Information/logit-based ones aggregate token distributions from a single forward pass, such as MSP, average token entropy, PMI, TokenSAR, CCP. White-box sampling-based ones use multiple samples from the same query and use semantic equivalence, similarity, or NLI to distinguish surface variation from semantic variation, such as Semantic Entropy, SentenceSAR, Cocoa. Internal state ones use attention or hidden representations, such as AttentionScore, RAUQ, EigenScore. Training-based ones fit a reference distribution in representation space, such as Mahalanobis distance. Reflexive ones let the model judge its own answer, such as P(True).
- Black-box: Only use generated text, usually building lexical or semantic similarity over sampled answers, then aggregating into graph or category statistics, such as Eccentricity, DegMat, LUQ, NumSet; also ROUGE-L, BLEU surface baselines, and P(True) Empirical which uses sampling frequency instead of the "True" token probability.
- Implementation conventions: Use default configurations except for the values listed in Table 2. When sampling is needed, S=10, temperature=1, seed=42, and the same sampling pool is shared across sampling estimators. NLI is microsoft/deberta-large-mnli, sentence similarity uses cross-encoder/stsb-roberta-large. Scores are always oriented in the uncertainty direction: larger means more uncertain; Rényi and Fisher–Rao are negated before analysis. The implemented scores for MSP and Perplexity are the sequence negative log-likelihood and its length-normalized form, respectively, not the literal probability or perplexity of the name.
Data, Labels, and Score Recovery
- Intrinsic: RAGTruth uses human span annotations. If the retrieved context does not support or conflicts with the answer, it is considered hallucination, even if factually correct under external knowledge. If the answer contains at least one hallucinated span, h=1, Q=1-h. Scoring must be done on the annotated answers; regenerating would break the correspondence with the annotations. Logits are recovered by teacher forcing on the concatenated sequence.
- Extrinsic: HalluLens three tasks are constructed following Bang et al.'s procedure. Wikipedia proxies widely visible pretraining data; synthetic nonexistent entities probe information expected to be outside pretraining. PreciseWikiQA's Q is binary correctness relative to the gold answer. LongWiki has reviewers split gold and answers into atomic claims; precision is the proportion of answer claims supported by gold, recall is the proportion of gold claims covered by the answer, and Q is their harmonic mean; the number of claims is capped at K=32, i.e., F1@K. NonExistentRefusal is judged by the same reviewer for correct abstention; the paper does not give a Q formula at the same level as the previous two.
- Splits: Training-based estimators need fitting data. The main text says RAGTruth is split by query into 1000 training queries and 2000 evaluation queries, and all estimators are compared on the same evaluation set; Table 1 says RAGTruth is 1000+1960. HalluLens is split by the same ratio from 3000 pairs into 1000/2000, consistent with Table 1. The training split is given only to estimators that need fitting or training-set statistics.
- Reference comparison: AlignScore compares answers against gold, Wikipedia pages, or abstention templates; it is not an uncertainty estimator. The authors use it to see whether the quality target is closer to support, recall, or a mix, and explicitly note it uses references that estimators cannot see. The abstention template is in Section C.1.
Four Evaluation Axes
- Discrimination: For binary targets, AUROC with hallucination or lower quality as the positive class. LongWiki only binarizes F1@K at 0.5 in the discrimination analysis; selective prediction still uses continuous F1@K.
- Selective prediction: Keep answers in order of increasing uncertainty and plot quality–retention curve. PRR=(AUCU−AUCrandom)/(AUCoracle−AUCrandom). The oracle rejects by quality from low to high. Higher PRR means the quality gain from rejecting high uncertainty is larger relative to random rejection.
- Rank calibration: RCE checks whether the uncertainty ranking aligns monotonically with quality, is comparable across scales, and does not temporarily binarize the continuous target. Lower RCE is better.
- Redundancy: Each dataset-model pair is called a panel. Within a panel, Spearman correlation and hierarchical clustering show how estimators rank instances; across panels, Kendall τ of AUROC and PRR curves show whether performance patterns are similar. Each metric also does 1000 bootstraps and reports standard deviation.
What experiments did the paper conduct?
The authors state that the association varies across datasets, and no estimator consistently leads across tasks.
Experimental Setup
- Tested models: Mistral-7B-Instruct-v0.2, Llama-2-7b-chat-hf, Llama-2-13b-chat-hf. In tables, abbreviated as Mistral-7B-Instruct, Llama-2-7B-Chat, Llama-2-13B-Chat. All three are open-source models in RAGTruth with human hallucination annotations and accessible token logits.
- Data: Four tasks, 12 panels. Table 1's train+eval queries: PreciseWikiQA, LongWiki, NonExistentRefusal are all 1000+2000; RAGTruth is 1000+1960. The text says RAGTruth evaluation queries are 2000, inconsistent with the table. Token counts use Llama-2 tokenizer: PreciseWikiQA average target length 5.8, LongWiki 235.0, RAGTruth average generated answer length 194.4, NonExistentRefusal has no reference answer.
- Labels: RAGTruth uses human spans. HalluLens's three tasks are judged by hugging-quants/Meta-Llama-3.1-70B-Instruct-AWQ-INT4: the first two tasks compare against gold, NonExistentRefusal judges whether abstention is correct.
- Estimators: The authors state 46, computed via LM-Polygraph, including white-box and black-box. Sampling S=10, temperature 1, seed 42. Rankings default to excluding AlignScore.
- Metrics: AUROC, PRR, RCE. The text states the three rank estimators similarly, so AUROC is primary, citing PRR or RCE only when they provide additional information.
- Variability: 1000 bootstraps per dataset-model pair with standard deviations reported, corresponding to ± in Tables 4–6. Table 3 is cross-model aggregation; the paper does not explain the algorithm for its ±.
Main Results
The table below only lists AUROC for CCP and Attention Score, ± are bootstrap standard deviations from Tables 4–6. Other estimators are in those tables.
Swipe horizontally to read the table
Model RT·CCP RT·Attn PWQA·CCP LW·CCP NR·Attn Mistral-7B-Instruct 0.76±0.01 0.73±0.01 0.74±0.02 0.59±0.02 0.70±0.03 Llama-2-7B-Chat 0.49±0.01 0.65±0.01 0.72±0.02 0.63±0.01 0.60±0.04 Llama-2-13B-Chat 0.58±0.01 0.69±0.01 0.70±0.02 0.64±0.02 0.87±0.01 - Task differences: The authors state that on short QA, most estimators are highly discriminative; long text AUROC is more uniformly moderate with smaller gaps between estimators; context faithfulness and abstention are also moderate but concentrated in fewer estimators and vary more across models. In Table 4, Mistral's MSP on RAGTruth is also 0.76±0.01, CocoaMSP is 0.75±0.01; in Table 5, Llama-2-7B-Chat's CCP on RAGTruth is 0.49±0.01.
- No consistent winner: The authors state that an estimator leading on one dataset does not reliably lead on another; rankings within a dataset across models are more stable than within a model across datasets. In Figure 1, the authors state CCP and CocoaMSP have a good trade-off between average AUROC and ranking stability; MSP and AttentionScore have comparable or higher average AUROC but more ranking variability.
- Cells not fully consistent with text: The authors state that on Llama-2-13B's RAGTruth, reflexive estimators are best and uninformative on other models. In Table 6, P(True) Empirical is 0.67±0.01, P(True) and P(True) Sampling are 0.63±0.01, while Attention Score is 0.69±0.01. In Table 4, Mistral's P(True) on four tasks is 0.48±0.01, 0.48±0.02, 0.48±0.02, 0.26±0.03.
Ranking Stability
- What was measured: Figures 5 and 6 use AUROC-induced estimator rankings to compute Kendall τ between models or tasks.
- Results: Fixing the model and changing datasets, average agreement is τ=0.10 to 0.15. Fixing the dataset and changing models, LongWiki is 0.71, PreciseWikiQA is 0.62, RAGTruth is 0.35, NonExistentRefusal is 0.30.
- Authors' interpretation: Datasets are the main source of ranking heterogeneity; models still change which signal is most informative on the same dataset. The authors consider this pattern post-hoc reasonable but not trivially predictable.
Are Leading Estimators Complementary
- Correlation: Figure 3 takes the 7 estimators with highest average AUROC. MSP, CCP, CocoaMSP have Spearman ρ≥0.78, MSP and CocoaMSP are 0.90; the two Eccentricities have ρ=0.36; AttentionScore has low correlation with the rest.
- Three clusters: The authors describe a logit/sampling cluster, an Eccentricity cluster on black-box graphs, and AttentionScore using only internal states. The authors believe taking a few representatives from different correlation groups is better than using one estimator or full partial scores.
- Access: The authors believe black-box Eccentricity is a candidate without logits; with white-box, MSP, CCP, and related methods are the default family, MSP is cheaper to compute; AttentionScore is more useful for context faithfulness and abstention. In Tables 4–6, Attention Score's LongWiki AUROC is 0.48±0.02, 0.45±0.01, 0.47±0.02.
AlignScore and Label Proportions
- Comparison used references: AlignScore uses gold, Wikipedia pages, or abstention templates; estimators do not have this information. In Table 3, AS-Recall(gold_answer) on PreciseWikiQA has AUROC 0.90±0.00, AS-Precision(gold_answer) is 0.82±0.06; on RAGTruth, AS-Precision(gold_answer) is 0.70±0.03. Wikipedia variants are "–" in RAGTruth and NonExistentRefusal cells.
- Rankings: In Table 7, AS-Precision(wikipage) has average AUROC rank 2.7±1.7, AS-Precision(gold_answer) is 5.3±6.1, AS-Recall(gold_answer) is 7.4±7.4; parentheses are the number of panels in the top 3. Among uncertainty estimators, CCP is 8.9±6.1.
- Label proportions: Table 9's hallucination proportions: RAGTruth (human) is Llama-2-7B-Chat 61.6%, Llama-2-13B-Chat 56.7%, Mistral 66.8%; PreciseWikiQA (judge) is 93.5%, 87.5%, 86.6%. NonExistentRefusal reports Non-refusal: 96.4%, 83.2%, 93.8%. LongWiki's F1@32 is 0.38±0.19, 0.31±0.16, 0.29±0.16.
Other Ablations and Analyses
- Metric correlations: median Spearman for AUROC–PRR is +0.97, AUROC–RCE is −0.96 (Section 5; Table 8). In Table 8, the lowest AUROC–PRR is PreciseWikiQA, Llama-2-7B-Chat's .82.
- Aggregate weaknesses: In Table 3, PMI four-task AUROC is 0.33±0.01, 0.47±0.00, 0.51±0.02, 0.44±0.02. The authors state density estimators are in the bottom five on almost every panel, with PMI/CPMI following; in Table 6, Llama-2-13B, NonExistentRefusal's CPMI is 0.75±0.02, not a low score for that panel.
- Family curves: The authors state that on PreciseWikiQA, all six families are above 0.5, with information-based and white-box sample-based families having the highest aggregated AUROC; RAGTruth is closer to 0.5 (Figure 2). LongWiki and NonExistentRefusal are in Figure 7. Values are labeled next to the figure; text transcription cannot reliably map to families, so no item-by-item assignment is made here.
- Missing cells: P(True) Sampling is "–" for LongWiki and NonExistentRefusal (Tables 3–6), unexplained in the text.
- On Mistral's NonExistentRefusal, Sentence SAR has AUROC 0.72±0.03, CCP is 0.71±0.03 (Table 4).
- The authors' explanation for density estimators is that hallucinated answers are still sampled from the generator, so they need not be atypical in representation space; performance may also depend on training data, background corpus, representation layers, and dimensionality reduction. This is a possible explanation given by the authors, not an additional experiment.
What are some points that can be further explored?
The authors point out inconsistent label protocols, LongWiki's F1 is not a pure hallucination label, and larger frontier models are not covered.
Limitations and Future Directions Noted by the Authors
- Inconsistent labeling protocols: Each dataset determines whether an answer is hallucinated according to its own annotation or reference protocol (Limitations and future work).
- LongWiki is not a pure hallucination label: Its F1 is a long-text quality signal, not a pure hallucination label (same section).
- Class imbalance: The proportion of answers labeled as hallucinated varies across models, which may affect panel comparisons; bootstrap intervals partially quantify sampling variation (same section).
- Model scope: The model set is controlled and reproducible, but does not cover larger frontier systems, nor all post-training regimes (same section).
- Training stage: The influence of factors such as different stages of the training paradigm is also worth studying (same section).
- Future directions: The authors write that it can be extended in three directions, and explicitly list two: hallucination targets should be more fine-grained and hierarchical; and RAGTruth's span annotations should be used for localization analysis, testing whether uncertainty points to where hallucination occurs, not just whether the answer is unreliable (same section). The third is not written.
Experimental Coverage
- Generation models: Mistral-7B-Instruct-v0.2, Llama-2-7b-chat-hf, Llama-2-13b-chat-hf, a total of 3 open-source instruction-tuned models (Section 3.2).
- Tasks and scale: RAGTruth, and HalluLens's PreciseWikiQA, LongWiki, NonExistentRefusal. Table 1's evaluation queries are 1960, 2000, 2000, 2000; the main text also says RAGTruth evaluation queries are 2000, and all estimators are compared on the same evaluation set.
- Estimators and sampling: The authors say 46, both white-box and black-box, computed via LM-Polygraph. Sampling S=10, temperature 1, seed 42; training-based estimators are fitted only on the 1000 training split (Appendix B, Table 2, Section 3.2).
- Judgment: RAGTruth uses human span annotations and recovers logits on the original annotated answers via teacher forcing. HalluLens reviewer is hugging-quants/Meta-Llama-3.1-70B-Instruct-AWQ-INT4. The paper does not report agreement between this reviewer and human annotation.
- Statistics and repetition: Each dataset-model pair does 1000 bootstraps and reports standard deviation (Section 4). The paper does not report additional repetition of the generation process.
Summarize the main content of the paper
The authors state that uncertainty is discriminative only on specific tasks, and estimators need to be selected based on task, access, and validation.
This work examines whether off-the-shelf uncertainty estimators can serve as hallucination signals, rather than proposing a new detector.
- Problem: Hallucination is defined by expected evidence: at inference time, unsupported by context is intrinsic; at pretraining, unsupported by expected knowledge is extrinsic. Uncertainty scores are commonly used for abstention and routing, but the authors state they are not designed for hallucination, and existing evaluations rarely target this goal.
- Approach: On RAGTruth and HalluLens's PreciseWikiQA, LongWiki, NonExistentRefusal, compute 46 white-box or black-box estimators with LM-Polygraph, against answer-level quality of three open-source instruction models. RAGTruth uses human spans and teacher forcing to recover logits; HalluLens uses Llama-3.1-70B-AWQ as judge. Metrics are AUROC, PRR, and RCE, and whether estimators are redundant is examined.
- Results: The authors state that on short QA, most estimators are discriminative; on long text, they are more uniformly moderate; context faithfulness and abstention are more concentrated and more model-dependent. Fixing the model and changing datasets, Kendall τ for ranking consistency is 0.10 to 0.15; fixing the dataset and changing models, LongWiki is 0.71, NonExistentRefusal is 0.30. On RAGTruth, Mistral's MSP and CCP have AUROC of 0.76±0.01, Llama-2-7B-Chat's CCP is 0.49±0.01; Llama-2-13B's AttentionScore on NonExistentRefusal is 0.87±0.01. Well-performing estimators are partially correlated, with MSP and CocoaMSP having Spearman ρ of 0.90.
- Authors' conclusion: Uncertainty has information, but only conditionally. The authors argue that no estimator should be treated as a universal hallucination detector; instead, selection should be based on the target task, access to the generator, computational budget, and validation on the target setting: without logits, consider black-box Eccentricity; with white-box, MSP, CCP, and related methods are the default family; AttentionScore is more useful for context faithfulness and abstention.