# Where Is Uncertainty Observed? A Mechanistic Understanding of Uncertainty Quantification in LLMs

Four observation lenses sort UQ estimators by where they read uncertainty

Xiaoyu Liang, Virginia Ceccatelli, Aliai Eusebi, Tobias Braun, Nils Loose, Carlo Malagnino and 1 more · arXiv · 2026-11-11

- **Problem** Existing surveys sort uncertainty methods by source or estimation mechanism, but none say where inside the model computation the signal should be read. Without that, it is unclear whether an estimator has enough information to recover a given target.
- **Method** The authors define four lenses on the residual stream: structural, representational, distributional, and semantical. They order the lenses from inner to outer by the information each one carries, which guides which lens to pick for each target.
- **Results** Of 159 surveyed papers, 146 target correctness, and 81 of those report only ranking metrics. Grounding and faithfulness are targeted by only 11 and 6 papers.

![Figure 3: Four mechanistic observation lenses in the residual stream](https://refivu.com/papers/0111c5da-752f-418f-a392-9a59402f6b90/figures/figure-25ced84fc69ef921a5c7ff0281d2f61d.png?thumb=512)

**Figure 3** : Four mechanistic observation lenses in the residual stream.

[Original paper](https://arxiv.org/abs/2611.15735v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Xiaoyu Liang, Virginia Ceccatelli, Aliai Eusebi, Tobias Braun, Nils Loose, Carlo Malagnino, Lorenzo Cavallaro · Where Is Uncertainty Observed? A Mechanistic Understanding of Uncertainty Quantification in LLMs · Original paper figure · Extracted the figure area from page 9 of the original PDF.

## Why the read point matters

Existing surveys of UQ for LLMs sort methods by the source of uncertainty, by how it arises during development, or by the estimation mechanism. None of these say where inside the model computation the signal is read, and that gap is the subject of this section. The authors ask where uncertainty should be observed, and what information each observation point reveals.

Take a bat-and-ball math query whose correct answer is 5 ¢. The next-digit distribution puts 0.9996 on the wrong answer 10¢, so a token-level view looks confident. The sampled answers agree on that same wrong answer, so a meaning-level view sees low uncertainty too. The hidden state, however, lies near the uncertain direction, which is why observing only the meaning misses it.

![Figure 2: Four lenses applied to two queries. For the math query, the sampled answers agree on a wrong answer, so semantic uncertainty is low, but the hidden s…](https://refivu.com/papers/0111c5da-752f-418f-a392-9a59402f6b90/figures/figure-8db362e5e8ca9a41ec1a11b0a5fc297c.png?thumb=512)

**Figure 2** : Four lenses applied to two queries. For the math query, the sampled answers agree on a wrong answer, so semantic uncertainty is low, but the hidden state lies near the uncertain direction. For the opinion query, the token distribution spreads over many phrasings, but the answers share one stance. A colored frame marks the suited lens. Illustrative values from an experiment on Qwen2.5-0.5B-Instruct (Qwen et al., 2025).

[Original paper](https://arxiv.org/abs/2611.15735v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

For the opinion query, the picture flips: the token distribution spreads over many phrasings. The sampled answers share one stance, so the semantic view captures what the token view misses. The authors read these two cases as showing that the suited observation point depends on the query. Illustrative values come from an experiment on Qwen2.5-0.5B-Instruct, so the numbers are examples rather than a benchmark result.

No single lens fits every target, so the paper frames a choice of lens for each case. The lens determines sufficiency, while the sampling and auxiliary structure determine efficiency. That framing sets up the four lenses the paper defines next, ordered by the information they carry.

## Four lenses on one residual stream

The core idea is to read uncertainty at four fixed points along the residual stream, the channel every transformer component uses. Each point exposes one canonical kind of object, so each lens has its own observation space. Residual naturality means each lens reads the model alone, so the structural, representational and distributional lenses need no extra specification.

Only the semantical lens needs an external semantic relation R, which is the one structure outside the model used to define a lens.

The structural lens reads each component's write to the residual stream, covering attention heads and the FFN. Each write is indexed by its component (ℓ,c), and the attention weights and FFN activation count as parts of the write. The representational lens reads the summed hidden state h(ℓ) at each layer, obtained by the sum map g\_sum from the structural lens.

The distributional lens unembeds that state into a next-token distribution Π(h(ℓ)), a softmax over the vocabulary. The semantical lens groups sampled outputs by a semantic relation R and reads the resulting distribution over meanings.

The lenses run from inner to outer, and each inner observation determines every outer one. Moving to token probabilities drops the norm of the state and the mean of its coordinates in LayerNorm. Moving to meanings then discards the lexical form of the outputs, keeping only what R reads as meaning. So the structural lens is the finest view of the computation, while the semantical lens is closest to human interpretation.

A readout map changes how a lens is read without changing which lens it is. The Logit Lens uses the identity map, while the J-Lens uses a Jacobian-based map and the tuned lens learns an affine map. The sparse autoencoder rewrites h(ℓ) in a learned feature basis yet still reads the representational lens.

## What the survey finds about evaluation

The survey covers 159 papers, and the authors tag each method with one evaluation target. Of these, 146 papers target correctness, and 81 of those report ranking metrics only. Correctness is the default target, while grounding is targeted by 11 papers and faithfulness by 6. Those two targets beyond correctness are therefore thinly covered in the surveyed literature.

Most representational and structural methods fit an external model against output-level labels. Few inner-lens estimators are native, and most of them are still scored against the output. Grounding methods mostly assess causal reliance, which needs attribution to individual component writes. Yet these grounding methods are evaluated against contextual support labels instead.

McCabe et al. (2026) show that the cluster-count and frequency-weighted approximations underestimate semantic entropy. Their alphabet-size estimator, they argue, corrects this bias. The SE Blackbox variant weights clusters by empirical frequency, while NumSets counts the clusters.

## Limits of the lens view

The lens framework stops at the information in each observation, and the paper says every lens map is lossy. Architectures with cross-layer connections, such as cross-layer key-value sharing, are left open for future work. Lens maps discard the component split, the lexical form, or the norm, so the lost information depends on which lens map is applied.

The authors separate what an observation holds from what an estimator can exploit, and the second question stays open.

The lens hierarchy is validated empirically through decodability, but the authors don't yet exploit it directly. Readout maps such as the J-lens, R-lens, U-space and SAE offer another route, and they don't change the lens itself.

For causal reliance in grounding, the authors argue that native inner-lens estimators are necessary, because component attribution depends on O\_str. Supervised probes need reference labels and generalize poorly, so the authors favour estimators that read the model computation directly. Such label-free estimators can be checked with causal mechanistic validation, and intervening on a causally relevant signal should change behavior.

Uncertainty can guide decisions about answering, relying on context, or extended reasoning. Retrieval routing needs structural attribution, reasoning decisions need hidden-state analysis, and selective answering needs distributional or semantic signals.

## Paper info

- **Authors**: Xiaoyu Liang, Virginia Ceccatelli, Aliai Eusebi, Tobias Braun, Nils Loose, Carlo Malagnino, Lorenzo Cavallaro
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-11
- **Added**: 2026-11-13
- **Updated**: 2026-11-11
- **Version**: v1
- **arXiv**: 2611.15735
- **Category**: cs.CL · cs.AI · cs.LG
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.15735v1) · [PDF ↗](https://arxiv.org/pdf/2611.15735v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

Knowing when a large language model's (LLM's) response can be trusted is critical for its safe use. Uncertainty quantification (UQ) can help LLMs recognize if their responses may be unreliable. Existing taxonomies organize UQ methods by uncertainty source or estimation mechanism. They leave unresolved the question of where uncertainty is observed in the model's computation. The answer matters because the observation point determines whether an estimator has access to enough information to recover a given target, and how well it can recover it. Drawing on mechanistic interpretability, we define four mechanistic observation lenses: the structural lens observes component updates, the representational lens observes hidden states, the distributional lens observes token probabilities, and the semantical lens observes distributions over meanings. We relate these lenses through the residual stream and order them by the information they carry, which gives a principle for selecting UQ methods for different targets. We survey existing methods through the four lenses. Furthermore, we distinguish evaluation targets, criteria, and metrics to clarify different UQ evaluation protocols. Finally, we identify open problems and research directions to connect uncertainty estimation to the internal computation and downstream use of LLMs.

## Quote from the paper

Xiaoyu Liang, Virginia Ceccatelli, Aliai Eusebi, Tobias Braun, Nils Loose, Carlo Malagnino, Lorenzo Cavallaro (2026). Where Is Uncertainty Observed? A Mechanistic Understanding of Uncertainty Quantification in LLMs. arXiv:2611.15735v1. https://arxiv.org/abs/2611.15735v1

**BibTeX**

```
@misc{liang2026where,
  title = {{Where Is Uncertainty Observed? A Mechanistic Understanding of Uncertainty Quantification in LLMs}},
  author = {Xiaoyu Liang and Virginia Ceccatelli and Aliai Eusebi and Tobias Braun and Nils Loose and Carlo Malagnino and Lorenzo Cavallaro},
  year = {2026},
  eprint = {2611.15735},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.15735v1}
}
```

## Other paper commentary

- [Differential Backpack Language Models: Sense Inhibition via Signed Contextualization Weights](https://refivu.com/en/papers/f0c0cdfa-369b-4ce7-a317-cead306776b8-differential-backpack-language-models-sense-inhibition-via.md)
- [When Local Definitions Are Missing: Stable Errors in Language Models](https://refivu.com/en/papers/28775a52-4acf-4fe2-8e1c-4ae1307a33b6-when-local-definitions-are-missing-stable-errors-in.md)
- [When Expert Disagreement Hurts: Prestige and Selectivity in LLM Decision Revision](https://refivu.com/en/papers/c2e98612-042c-47c6-bb67-0d922a4b9704-when-expert-disagreement-hurts-prestige-and-selectivity-in.md)
- [Shared Item-Level Error Limits the Aggregation of Small Language Models in Fermi Estimation](https://refivu.com/en/papers/d6b35571-2eef-4304-900f-fe22dbf275c8-shared-item-level-error-limits-the-aggregation-of.md)
- [What Roles Do System Prompts Really Assign? Validating and Steering Occupational Role Vectors in LLMs](https://refivu.com/en/papers/629a4fc4-7b87-453a-b9f7-a7e955764349-what-roles-do-system-prompts-really-assign-validating.md)
- [From Classification to Generation: Vision-Language Models for Roman Imperial Coin Description](https://refivu.com/en/papers/67ce5ff8-f3b6-41df-9271-c3b7e61c0fee-from-classification-to-generation-vision-language-models-for.md)
- [From Link Prediction to Linear Community Detection: A Finite-Sample Guarantee for Graph Pretraining](https://refivu.com/en/papers/1db158b4-7e1f-4c2f-aa7d-9b8f36c8ba0c-from-link-prediction-to-linear-community-detection-a.md)
- [A Mechanistic Interpretability Study of an Astronomy Foundation Model](https://refivu.com/en/papers/5e797f9b-473e-491d-82f9-9afe128c2455-a-mechanistic-interpretability-study-of-an-astronomy.md)
- [MemInStream: Memorizing or Merely Recognizing? Rethinking Streaming Video Memory Evaluation](https://refivu.com/en/papers/066435f2-ae7c-4047-9cfd-d46099a8c12b-meminstream-memorizing-or-merely-recognizing-rethinking.md)
- [Are Scaling Laws of Universal MLIPs Universal?](https://refivu.com/en/papers/a8b2b06e-bf01-4e4f-895c-f8693d3e863d-are-scaling-laws-of-universal-mlips-universal.md)
- [Imputing Missing Near-Surface Air Temperature using Graph Attention Networks with Distance-Aware Edge Features](https://refivu.com/en/papers/a990cd34-f9c9-4818-bddb-a322b98bba63-imputing-missing-near-surface-air-temperature-using-graph.md)

## Terms in this paper

- [Transformer](https://refivu.com/en/terms/48e8be2570bc-transformer)
- [Large Language Model](https://refivu.com/en/terms/a5109f1a76b2-large-language-model)
- [natural language inference](https://refivu.com/en/terms/6645756fb938-natural-language-inference)
- [residual stream](https://refivu.com/en/terms/5934a1927640-residual-stream)
- [faithfulness](https://refivu.com/en/terms/157c7e52d2e0-faithfulness)
- [logit lens](https://refivu.com/en/terms/180d7b59602a-logit-lens)
- [Grounding](https://refivu.com/en/terms/f8d0960ff5cc-grounding)
- [SAPLMA](https://refivu.com/en/terms/b5ea79530d0a-saplma)
- [Semantic entropy](https://refivu.com/en/terms/b3f7f6e676c4-semantic-entropy)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/0111c5da-752f-418f-a392-9a59402f6b90-where-is-uncertainty-observed-a-mechanistic-understanding-of)
