acceptodds
Published as a conference paper at NeurIPS 2026

Integrating Local and Global Entropy for Uncertainty Quantification in LLMs

Johanne Medina, Tianyi Zhou, Keivin Isufaj, Aristides Gionis, Sanjay Chawla

Abstract

Large language models can hallucinate confidently, making uncertainty quantification essential for reliable deployment. Existing approaches rely predominantly on token-level signals from the final (unembedding) layer, while the rich geometric structure of intermediate hidden states remains largely unexplored. Aggregating token-level scores to the response level is itself non-trivial, and no single signal reliably catches the confident-but-wrong failure mode where a model commits to every token with high confidence yet produces an incorrect answer. We address this gap by extracting complementary signals from two distinct representational layers: hidden-state geometric complexity (global uncertainty) from the embedding layer, and token-level entropy (local uncertainty) from the unembedding layer. We show empirically that the two signals cover different regimes that are weakly correlated and thus combining them captures failure modes invisible to either alone. Building on this insight, we propose Global Local Uncertainty (GLU), an unsupervised, single-pass framework that fuses the two signals via a multiplicative gate. Experiments across three benchmarks and three model families show that GLU matches or outperforms all unsupervised baselines and remains competitive with supervised methods that lack cross-dataset generalization.

Keywords:
Paris, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 4%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.67 over 3 reviews, above 4% of the others.
Reviewer_KGeVOpenReview ↗
Rating
3
Clarity
2
Confidence
4
Originality
3
Quality
2
Significance
2
Read review
Summary

This paper argues that token-level signals are not always reliable for hallucination detection, particularly when LLMs produce confident but incorrect outputs. The authors propose hidden-state geometric complexity as a complementary signal that may help identify such confident-but-wrong responses.

Strengths and weaknesses

Strengths

  1. The discussion of combining token-level and hidden-state-level signals for uncertainty estimation is interesting.
  2. The experiments cover multiple model families and benchmarks, which helps demonstrate the general applicability of the proposed method.

Weaknesses and Questions

  1. The authors should define local uncertainty more clearly. In Section 4.1, the authors decompose local uncertainty into aleatoric uncertainty (AU) and epistemic uncertainty (EU), and state that “a token is locally uncertain only when both the predictive distribution is spread out (high AU) and the evidence base is weak (high EU).” This suggests that both AU and EU are essential components of the local uncertainty estimate. However, in the experimental setup, only the LogTokU baseline appears to use both AU and EU. The GLU variants instead seem to combine SE with EU, but SE is not formally defined.
  2. Some of the notation appears inconsistent. In Table 1, kk seems to denote the number of selected uncertain token-level scores, whereas Section 4.1 uses mm for this quantity.
  3. The choice of mm (or kk in Table 1) is not clearly specified or justified. Since this parameter determines how many of the most uncertain token-level scores are included in the response-level aggregation, its value could substantially affect the resulting uncertainty estimate. The paper should clarify how this parameter is selected.
  4. The authors should provide further analysis to support the claim that, when an LLM produces a confident response, its token representations tend to concentrate along a few dominant directions, whereas uncertain responses produce more diffuse representations. In particular, it would be helpful to examine whether this relationship holds consistently across different models and datasets. The single visualization provided in Figure 1 is insufficient to substantiate this claim.
  5. The authors should provide more evidence that the two signals capture complementary information. Figure 1 suggests that a non-negligible proportion of correct responses also fall into the upper-left region. Although 28% of the samples in this region are incorrect, this appears to imply that the remaining 72% are correct and may therefore be falsely flagged as uncertain. This may weaken the claim that the global and local signals are complementary, since the geometric complexity does not appear to reliably isolate confident-but-wrong responses. Moreover, this raises concerns about the practical usefulness of the proposed method and its potential false-positive rate. The authors should provide a more detailed analysis of these cases.
  6. GLU-AU achieves the best performance more frequently than the other variants. Since GLU-AU omits the EU component, this result appears to question the authors’ proposed formulation of local uncertainty as the combination of AU and EU. Why does the simpler local uncertainty signal based only on SE (or AU) often perform better than combining it with EU?
Questions

See above.

Limitations

Yes

Paper formatting concerns

None.

Final justification

I believe the paper needs improvements in clarity and more detailed analysis. My assessment and score already reflect my evaluation of the paper’s overall quality. Therefore, I have decided to maintain my current score.

1 comment

We thank the reviewer for the careful reading and constructive feedback. We agree that several aspects of the presentation required clarification, and we have performed additional experiments since submission that directly address the concerns raised below.

(1) Definition of local uncertainty

We use SE to denote the token-level Shannon entropy quantity that is referred to elsewhere as aleatoric uncertainty (AU). The local uncertainty score used by GLU is therefore the product of Shannon entropy (AU) and evidential uncertainty (EU). We will remove the inconsistent terminology and explicitly define all GLU variants in Table 1.

(2–3) Clarification of kk, mm, and notation

We agree that the notation was confusing. These represent two different quantities:

  • kk: the number of top logits used to compute AU and EU.
  • mm: the number of most-uncertain tokens aggregated into the response-level score.

The revised manuscript will consistently reserve kk for token-level computation and mm for response-level aggregation, including Eq.8 and Table1. All main results use m=10m=10 and k=10k=10, fixed across all models and datasets. We will state this explicitly. We have not tuned mm per setting; a systematic sensitivity analysis is left for future work.

(4) Hidden-state geometry and the compact–diffuse hypothesis

We agree that Figure 1 alone did not provide sufficient evidence for the proposed geometric mechanism. To address this concern, we replicated the analysis across all three model families (Qwen2.5-7B, Gemma3-12B, Fanar-1-9B) and three benchmarks (TruthfulQA, TriviaQA, MATH).

Importantly, we isolated the contribution of hidden-state geometry by using only the global signal, SαS_\alpha, and restricting evaluation to responses with below-median token-level uncertainty, where local uncertainty provides little discriminative power.

Across the resulting nine model–dataset settings, incorrect responses exhibit higher geometric entropy than correct responses in 7 of 9 cases. Geometry alone achieves AUROC values up to 0.691 (Qwen–TriviaQA), with similarly strong performance on Gemma–MATH (0.663), Qwen–MATH (0.646), and Fanar–TruthfulQA (0.626). The only exceptions are the TruthfulQA settings for Qwen (0.495) and Gemma (0.376), where the geometry-only signal performs at or below chance. We now explicitly discuss these failure cases as limitations. The complete figure and analysis will be included in the appendix.

(5) False positives and complementarity

We appreciate this observation. We do not claim that hidden-state geometry alone is a reliable uncertainty detector. Rather, its role is to identify a subset of confident-but-wrong responses that token-level uncertainty systematically misses.

As the reviewer notes, using geometry alone would inevitably introduce additional false positives. This is precisely why GLU combines the geometric signal with local uncertainty through the proposed multiplicative fusion instead of using either signal independently. We evaluate this trade-off using PRR, which measures whether the uncertainty ranking improves selective prediction by prioritizing responses for rejection. Across all 18 model–dataset settings, GLU achieves the highest mean PRR (0.369), indicating that the improvement in identifying incorrect responses outweighs the increase in false positives. We have revised the manuscript to clarify that hidden-state geometry is intended as a complementary signal rather than a standalone uncertainty estimator.

(6) Why does GLU-AU often outperform GLU?

This is an excellent observation. Our additional ablations clarify the respective roles of AU and EU.

MethodMean AUROCRankMean PRRRank
GLU0.67610.3691
GLU-AU0.67170.3627
GLU-EU0.544170.07917

These results indicate that AU carries most of the local discriminative information, while EU alone provides limited predictive power. However, the complete GLU achieves the highest mean AUROC and PRR when aggregated across the 18 settings, suggesting that EU primarily improves robustness rather than acting as a strong standalone signal.

Accordingly, we have softened the wording in Section 4.1 to emphasize that the primary contribution of the paper is the proposed global–local fusion, which remains consistently effective across different local uncertainty estimators.

Reviewer_T18vOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
2
Quality
3
Significance
3
Read review
Summary

The paper introduces a multi-view perspective on LLM uncertainty by demonstrating that token-level entropy and hidden-state geometric complexity provide complementary, non-overlapping signals. By identifying that these metrics are near-orthogonal, the authors construct an unsupervised, architecture-agnostic metric called Global-Local Uncertainty (GLU) using a multiplicative fusion gate. The approach is practical, requiring only a single forward pass without additional sampling or fine-tuning, and demonstrates strong performance across six benchmarks and three models.

Strengths and weaknesses

Strengths

  • Conceptual Taxonomy: the authors provide a taxonomy of local and global measures for uncertainty quantification
  • Avoidance of the sampling bottleneck: the method only requires a forward pass, significantly reducing the complexity with respect to sampling-based techniques

Weaknesses

  • Limited Evaluation: although the authors study three different model families, they are all of similar scales (7B, 9B, 12B), not providing insights into how this approach works at smaller scales (0.5B to 2B models)
  • Unclear computational and memory overhead: they do not describe the amount of memory and computation required for keeping track of the global uncertainty and the overall method. Computing Renyi entropy may become very expensive as the context grows.
  • Weakly justified fusion mechanism: using a multiplicative gate seems to work well, but other choices are not studied.
Questions
  1. Computational Complexity and Scaling: How does the wall-clock latency of calculating the matrix Rényi entropy scale as the sequence length increases? Specifically, does the eigenvalue/SVD computation create a bottleneck in long-context scenarios, and what is the peak memory overhead incurred by caching the hidden-state trajectories across layers compared to standard KV-caching?
  2. Robustness Across Model Scales: Have the authors tested this framework on smaller, resource-constrained models (e.g., 0.5B to 2B parameters) or much larger models (e.g., 70B+)? Does the statistical near-orthogonality between the hidden-state geometry and token logits still hold when the model capacity shifts drastically?
  3. Ablation of the Fusion Gate: What was the performance impact when using alternative fusion mechanisms, such as an additive gate or a lightweight learned linear projection? Given that Shannon entropy and Rényi entropy operate on fundamentally different mathematical scales, how sensitive is the multiplicative gate to variations in model architecture or activation scale?
  4. Layer Selection Policy: How did the authors determine which intermediate layers to extract for the trajectory matrix? Is there a generalizable heuristic for layer selection, or does it require empirical grid-searching for new model architectures?
Limitations
  • Quadratic/Cubic Compute Scaling: The dependency on matrix entropy calculations over sequence trajectories introduces an uncharacterized compute bottleneck. For long-form text generation, the cost of matrix decompositions scales poorly with sequence length, bounding the method's utility to short-to-medium sequence contexts.
  • Narrow Model Scale Scope: The evaluation strictly considers mid-sized open models (7B to 12B parameters). Consequently, the framework's effectiveness remains unverified on highly compact edge models (where activation noise is high) and massively scaled frontier models (where parametric priors might dominate the activation geometry).
  • Heuristic-Driven Fusion: The integration of the local and global metrics relies on an empirical multiplicative gate rather than a unified theoretical formulation. Without a formal mathematical reconciliation of how token-level distribution entropy maps directly to layer-wise activation entropy, the generalization of this fusion mechanism to future model architectures is unclear.
Paper formatting concerns

I did not find notable violations.

Final justification

I have considered the mismatch of the contribution type. With this new bar for evaluation, I would have initially given the paper a score of 3. Since one of my main concerns were addressed (computational feasibility of the Renyi entropy for long sequences), I'd have raised the rating to 4, as well as raise the significance score, which I did. The method seems to work well, but given the low originality, and considering the contribution type, I cannot raise my scores any higher.

1 comment

We thank the reviewer for the positive assessment and thoughtful suggestions.

(1) Computational complexity and runtime

Thank you for raising this point. While our current implementation computes the matrix Rényi entropy using eigendecomposition for general α\alpha, the proposed GLU uses α=2\alpha = 2, for which the entropy admits the closed-form

-\log \frac{\|K\|_F^2} {\mathrm{tr}(K)^2},$$ requiring only the Gram matrix, its Frobenius norm, and its trace. Consequently, the proposed GLU formulation can be implemented with complexity $O(T^2d)$ rather than $O(T^3)$, eliminating the eigendecomposition while producing exactly the same uncertainty score. We include this derivation and discuss the resulting complexity in the revised manuscript. **(2) Model scales** We agree that evaluating substantially smaller and larger models would strengthen the work. Our current evaluation demonstrates robustness across three independent model families rather than parameter scales, and we now state this explicitly as a limitation. Evaluating substantially smaller and larger models is an important direction for future work and will be included in subsequent work. **(3) Fusion mechanism** Following the reviewer's suggestion, we evaluated additive fusion across all 18 model–dataset settings. | Method | Mean AUROC | Mean PRR | |---|---:|---:| | **GLU** | **0.676** | **0.369** | | Add-$\tilde{S}$ | 0.621 | 0.259 | | Add-$S_\alpha$ | 0.454 | -0.118 | The multiplicative formulation consistently outperforms additive fusion, indicating that geometry is most effective as a modulator*of local uncertainty rather than an additive offset. We additionally compared the proposed multiplicative gate against a learned module. While the learned gate achieves comparable performance, it requires supervised training and correctness labels, whereas GLU achieves similar performance using a fixed, fully unsupervised formulation. We therefore adopt the multiplicative gate because it preserves the training-free setting while remaining competitive with learned alternatives. We will make this comparison more explicit in the revised manuscript. **(4) Layer selection** **All reported GLU results use the same layer-agnostic formulation**, where the global uncertainty is computed by averaging the length-normalized Rényi-2 entropy across all transformer layers. We apologize for the inconsistency between the method section and Table 2. The single-layer variants (GLU-S̃* and GLU-S*) are separate ablations and perform slightly worse (mean AUROC 0.674 and 0.665 vs. GLU's 0.676), supporting the use of a common layer-agnostic formulation without model-specific layer tuning. We will unify this definition throughout the paper.
Reviewer_dXxdOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
2
Significance
3
Read review
Summary

The paper proposes Global-Local Uncertainty (GLU), an unsupervised single-pass uncertainty score for LLM responses. It combines local token-level uncertainty from output logits/probabilities with global geometric uncertainty from hidden-state trajectory entropy. The core claim is that these signals are complementary: token entropy catches locally uncertain generations, while hidden-state geometry can expose “confident-but-wrong” responses. Experiments on TruthfulQA, TriviaQA, and MATH across Qwen, Gemma, and Fanar suggest GLU improves AUROC/PRR over several unsupervised baselines, though gains are weaker on TruthfulQA.

Strengths and weaknesses

The general strengths of this paper is that the approach is unique, distinguishing uncertainty between what exists at the token-level and at for the full response from an LLM. Since these uncertainties are likely to differ significantly, understanding where uncertainty lies is useful and can be connected to hallucinations.

However, the results appear less compelling than the claims. For example, the contours that combine token-level uncertainty and global geometric complexity (figure 1) are argued to yield "a more accurate decision boundary than either alone" but that pattern appears weak at best. Further, when reviewing AUROC score, there are different patterns that show GLU as suboptimal. The authors clearly note that TruthfulQA is a challenging benchmark where GLU fails, but fail to note that the performance of GLU for Gemma for both TruthfulQA and MATH (2/3 benchmarks tested) is lower for GLU than existing baselines.

The paper also should include a relevant piece of missing literature. The GLU approach should distinguish its single-response trajectory entropy from INSIDE’s multi-response embedding covariance. (https://arxiv.org/abs/2402.03744)

Questions

Major

  1. How does your method compare to INSIDE? This can be in argued with clarification if clearly insufficient or with experimental results if similar.
  2. What is the reason for the poor performance on Gemma?

Minor

  1. Can you explain why AU uses log⁡2\log_2, while EU uses natural log⁡\log?
  2. Why does Figure 2’s x-axis show positive GLU values while the caption says responses are sorted by −GLU-GLU?
Limitations

Since the performance is least convincing for Gemma, the authors should note this as a limitation, that the methodology may not be best-in-class for all models.

Paper formatting concerns

No issues noticed.

Final justification

Extra evaluations highlight the more consistent improvements and clarity on how the INSIDE methodology compares lead to an improved manuscript. Scores have been adjusted, but novelty and impact of the work remain sufficiently limited to increase further.

1 comment

We thank the reviewer for recognizing the novelty of combining token-level and hidden-state uncertainty and for the constructive suggestions.

(1) Comparison with INSIDE

Thank you for pointing out INSIDE. We now include INSIDE in Related Work and clarify the distinction. INSIDE and GLU address different settings. INSIDE estimates uncertainty from the covariance across multiple sampled responses, whereas GLU operates on a single greedy generation. We therefore restricted our empirical comparison to single-pass methods. We additionally note that RAUQ, our strongest representation-based baseline, includes INSIDE in its original evaluation and reports stronger aggregate performance.

(2) Gemma performance

The original three-benchmark evaluation made GLU appear comparatively weaker on Gemma. To investigate this further, we expanded the evaluation from 3 to 6 benchmarks. Among the three strongest unsupervised baselines shown below, GLU achieves the highest AUROC on 4 of 6 Gemma datasets and ranks second on the remaining two.

DatasetLogTokURAUQGLU
TruthfulQA0.5310.4660.548
TriviaQA0.5970.7000.817
MATH0.8010.7710.799
ArabicaQA0.5380.6420.647
LongForm0.3430.3540.358
Multi-turn0.4570.7340.701

The expanded evaluation shows that the weaker Gemma results observed in the original submission do not generalize across benchmarks. GLU is not uniformly best on Gemma, but it remains first or second across all six settings. We have therefore revised the discussion to acknowledge the remaining failure cases rather than claim uniform superiority. The corresponding PRR results show the same overall pattern and will be included in the revised manuscript.

(3) Complementarity

We agree that Figure 1 alone did not provide sufficient evidence for complementarity. To address this concern, we replicated the analysis across all three model families and three benchmarks.

We isolate the contribution of hidden-state geometry by using only the global signal, SαS_\alpha, and restricting the evaluation to responses with below-median token-level uncertainty, namely the relatively token-confident subset. Across the resulting nine model–dataset settings, the geometry-only score ranks incorrect responses above correct responses in 7 of 9 cases.

Geometry-only AUROC reaches 0.691 on Qwen–TriviaQA and remains above 0.62 in several additional settings, including Gemma–MATH, Qwen–MATH, and Fanar–TruthfulQA. These results provide substantially stronger evidence that hidden-state geometry captures information complementary to token-level uncertainty. The complete analysis and figure will be included in the appendix.

(4) Minor comments

AU uses log⁡2\log_2 because it is Shannon entropy measured in bits, whereas EU uses the natural logarithm within the Softplus evidence transformation. Changing the logarithm base multiplies AU by a positive constant. Because AU enters the reported score multiplicatively, this rescaling does not alter the ordering of examples and therefore leaves the ranking-based metrics, AUROC and PRR, unchanged. We have also corrected the Figure 2 notation and caption for consistency.

Comments on the paper

1 comment
Meta-review
  • (a) proposes GLU — an unsupervised, single-forward-pass, post-hoc uncertainty score for LLM responses, fusing local (token-level AU+EU) and global (α=2 Rényi/collision entropy of the hidden-state trajectory, closed-form, no eigen decomposition) signals via a multiplicative gate.
  • (b) Strengths: proves complementary signals (token- vs. geometry-level uncertainty are complementary, endorsed by all three reviewers); lightweight (single forward pass, no sampling/fine-tuning/model change); fair protocol (shared responses, post-hoc); real gains on TriviaQA/MATH with best mean PRR.
  • (c) Weaknesses: 1) the writing seems to be slightly over-claiming: "beats all baselines", "multiplicative fusion is best" has no additive numbers, the complementarity mechanism explanation rests on a single figure in 1/9 settings, and the Gemma weakness is not stated; 2) the core theory is undercut by the authors' own ablation (dropping EU wins most often); 3) hard to follow / reproduce — missing hyperparameter m, inconsistent notation, a body-vs-table contradiction over which layer is used, and no INSIDE comparison; 4) the draft is unfinished (empty Appendix B, broken references).
  • (d) Needed in rebuttal: (1) state which layer Table 2's GLU uses and unify the definition (2) give m's value/sensitivity and unify m/k notation (3) supply actual numbers for additive/learned fusion gates (4) directly answer how GLU-AU undercuts the AU+EU theory (5) narrow the abstract wording and add the INSIDE comparison (6) complete Appendix B and report overhead numbers.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.