[edit]
SeSE: Black-Box Uncertainty Quantification for Large Language Models Based on Structural Information Theory
Proceedings of the 42nd Conference on Uncertainty in Artificial Intelligence, PMLR 337:8209-8237, 2026.
Abstract
Reliable uncertainty quantification (UQ) is essential for deploying large language models ({LLMs}) in safety-critical scenarios, as it enables them to abstain from responding when uncertain, thereby avoiding hallucinations, i.e., plausible yet factually incorrect responses. However, while current semantic UQ methods have achieved state-of-the-art performance, they inherently overlook latent semantic structural information that could enable more precise uncertainty estimates. In this paper, we propose Semantic Structural Entropy ({SeSE}), a principled black-box UQ framework applicable to both open- and closed-source {LLMs}. To reveal the intrinsic structure of the {LLM} semantic space, {SeSE} constructs its hierarchical abstraction based on the principle of structural entropy minimization. The structural entropy of the resulting optimal hierarchical abstraction thus quantifies the inherent uncertainty within the semantic space after optimal compression. Additionally, unlike existing methods that primarily focus on simple short-form generation, we extend {SeSE} to provide interpretable and granular uncertainty estimation for long-form outputs. We theoretically prove that {SeSE} generalizes semantic entropy, the gold standard for UQ in {LLMs}, and empirically demonstrate its superior performance over baselines across 24 model-dataset combinations.