Integrating Local and Global Entropy for Uncertainty Quantification in LLMs
Abstract
Large language models hallucinate confidently, making uncertainty quantification (UQ) essential for reliable deployment. Existing methods rely predominantly on token-level signals, leaving the geometric structure of intermediate hidden states underused. In this paper, we take the geometric complexity of hidden-state matrices as a measure of the global uncertainty of LLMs, while treating token-level uncertainty estimation as a local metric. We show that these signals provide complementary reliability information: token-level uncertainty provides strong overall discrimination, while hidden-state geometry further separates errors within similar local-uncertainty regimes, including responses that appear confident at the token level. Building on this complementarity, we propose Global-Local Uncertainty (GLU), an unsupervised, single-pass score that fuses the two signals via a multiplicative gate. Across three model families and six benchmarks, GLU achieves the best or tied-best AUROC among the three methods in the main comparison in 13 of 18 model--dataset settings, while requiring only a single forward pass and remaining length-normalized and architecture-agnostic.