# Integrating Local and Global Entropy for Uncertainty Quantification in LLMs

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

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150760) · [OpenReview](https://openreview.net/forum?id=fbOMEeETpt) · [alphaXiv](https://www.alphaxiv.org/abs/2606.09875) · [Open on the map](../papers.html#p150760)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [LLM Uncertainty Quantification](../pgroup/152.md) · Type: new method · Keywords: uncertainty quantification, large language models, entropy, hidden-state geometry, multiplicative gating

## Summary
GLU combines hidden-state geometric complexity and token-level entropy to improve uncertainty quantification in LLMs, outperforming unsupervised baselines across multiple benchmarks.

## Explained to a 5-year-old
Big computer programs that write words sometimes say things that sound right but are actually wrong. To help them be safer, we look at two kinds of clues: how mixed up the inside thinking is and how unsure each word choice is. We combine these clues to see when the program might be wrong. This makes the answers safer to trust. It works well on many tests.

## Explained to a 5-year-old, longer
Big computer programs that write words are called language models. They can make up answers that sound confident but are actually wrong, which we call hallucinations. To make these programs safer, we need to know when they are not sure. One way to see if they are unsure is to look at how tangled their hidden thoughts are, like a ball of yarn. Another way is to look at how unsure each word they pick is, like a coin flip. These two clues are called global and local uncertainty. By looking at both clues together, we can catch mistakes that one clue alone would miss. We combine the clues using a simple gate that decides how much each one matters. This gives us a single score that tells us how confident the program really is. The new method works without needing extra training data, so it can be used right away. It has been tested on many different language models and many different tests. The results show it is as good as or better than other methods that only use one clue.

## For a technical reader
The paper addresses the problem of confident but incorrect predictions in large language models by extracting complementary uncertainty signals from two layers: the embedding layer's hidden-state geometry and the unembedding layer's token-level entropy. These signals are fused via a multiplicative gating mechanism called GLU, producing a single uncertainty score without any supervised training. Experiments across three benchmarks and three model families show that GLU matches or exceeds unsupervised baselines and remains competitive with supervised methods that do not generalize across datasets. The approach is lightweight, runs as a single pass over the model, and can be deployed in production pipelines to flag low-confidence outputs. By covering failure modes missed by existing techniques, GLU improves the reliability of LLM deployments where uncertainty quantification is critical.

## Problem
Large language models often produce confident but incorrect answers, and existing uncertainty quantification methods rely on token-level signals that miss certain failure modes. There is a need for a more comprehensive approach that captures both global and local uncertainty signals.

## Method
The approach extracts global uncertainty from the embedding layer's hidden-state geometric complexity and local uncertainty from the unembedding layer's token-level entropy, then fuses them via a multiplicative gating mechanism to produce a unified uncertainty score.

## Results
GLU matches or outperforms all unsupervised baselines and remains competitive with supervised methods lacking cross-dataset generalization.

## Contributions
It introduces a dual-signal uncertainty framework that leverages both hidden-state geometry and token-level entropy, and demonstrates its effectiveness across diverse benchmarks and model families.

## Practical relevance
Accurate uncertainty quantification is essential for reliable deployment of LLMs, and the proposed method helps achieve this.

## Research questions this paper is counted under

- [How can we reliably quantify and improve the uncertainty and calibration of large language models in real-world scenarios?](../q/3.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/150760)
