On the Effect of Uncertainty on Layer-wise Inference Dynamics
Not on the map. Why?
Abstract (arXiv)
Understanding how large language models (LLMs) internally represent and process their predictions is central to detecting uncertainty and preventing hallucinations. While several studies have shown that models encode uncertainty in their hidden states, it is underexplored how this affects the way they process such hidden states. In this work, we demonstrate that the dynamics of output token probabilities across layers for certain and uncertain outputs are largely aligned, revealing that uncertainty does not seem to affect inference dynamics. Specifically, we use the Tuned Lens, a variant of the Logit Lens, to analyze the layer-wise probability trajectories of final prediction tokens across 11 datasets and 5 models. Using incorrect predictions as those with higher epistemic uncertainty, our results show aligned trajectories for certain and uncertain predictions that both observe abrupt increases in confidence at similar layers. We balance this finding by showing evidence that more competent models may learn to process uncertainty differently. Our findings challenge the feasibility of leveraging simplistic methods for detecting uncertainty at inference. More broadly, our work demonstrates how interpretability methods may be used to investigate the way uncertainty affects inference.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 24 of its 29 references that are in the map. First posted on arXiv 9 Jul 2025.
Builds on
24 of 29 references.
References · 24
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2022Language Models (Mostly) Know What They Knowcited by 1,856
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
- 2017Crowdsourcing Multiple Choice Science Questionscited by 765
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
12 more
- 2022Confident Adaptive Language Modelingcited by 310
- 2024Do Llamas Work in English? On the Latent Language of Multilingual Transformerscited by 281
- 2019QASC: A Dataset for Question Answering via Sentence Compositioncited by 252
- 2020Retrieve, Program, Repeat: Complex Knowledge Base Question Answering via Alternate Meta-learningcited by 216
- 2021Deep Learning Through the Lens of Example Difficultycited by 141
- 2024Do I Know This Entity? Knowledge Awareness and Hallucinations in Language Modelscited by 115
- 2023Decomposing Uncertainty for Large Language Models through Input Clarification Ensemblingcited by 114
- 2024Distinguishing the Knowable from the Unknowable with Language Modelscited by 47
- 2024Understanding and Patching Compositional Reasoning in LLMscited by 46
- 2024On Large Language Models' Hallucination with Regard to Known Factscited by 43
- 2025LogitLens4LLMs: Extending Logit Lens Analysis to Modern Large Language Modelscited by 23
- 2024Mechanistic interpretability of large language models with applications to the financial services industrycited by 5
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026U-Space: Uncovering When and Why Uncertainty Arises in Language Models
- 2025Can LLMs Detect Their Confabulations? Estimating Reliability in Uncertainty-Aware Language Models
- 2026Rethinking Uncertainty Evaluation in Large Language Models
- 2026The Alignment Paradox: How Post-Training Amplifies Confident Hallucinations in Language Models
- 2026Human-Alignment, Calibration, and Activation Patterns in Large Language Model Uncertainty
- 2026Tracing Uncertainty in Language Model "Reasoning"
- 2023Quantifying Uncertainty in Natural Language Explanations of Large Language Models
- 2025Are language models aware of the road not taken? Token-level uncertainty and hidden state dynamics