Language Model Uncertainty Quantification with Attention Chain
Not on the map. Why?
Abstract (arXiv)
Accurately quantifying a large language model's (LLM) predictive uncertainty is crucial for judging the reliability of its answers. While most existing research focuses on short, directly answerable questions with closed-form outputs (e.g., multiple-choice), involving intermediate reasoning steps in LLM responses is increasingly important. This added complexity complicates uncertainty quantification (UQ) because the probabilities assigned to answer tokens are conditioned on a vast space of preceding reasoning tokens. Direct marginalization is infeasible, and the dependency inflates probability estimates, causing overconfidence in UQ. To address this, we propose UQAC, an efficient method that narrows the reasoning space to a tractable size for marginalization. UQAC iteratively constructs an "attention chain" of tokens deemed "semantically crucial" to the final answer via a backtracking procedure. Starting from the answer tokens, it uses attention weights to identify the most influential predecessors, then iterates this process until reaching the input tokens. The resulting chain is further refined with similarity filtering and probability thresholding, which reduce the reasoning space, facilitating the approximation of the marginal answer token probabilities. We validate UQAC on multiple reasoning benchmarks with advanced open-source LLMs, demonstrating that it consistently delivers reliable UQ estimates with high computational efficiency.
Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 37 of its 45 references that are in the map. First posted on arXiv 24 Mar 2025.
Builds on
37 of 45 references.
References · 37
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
25 more
- 2018Deep contextualized word representationscited by 2,290
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2022Language Models (Mostly) Know What They Knowcited by 1,856
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
- 2023Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMscited by 974
- 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 819
- 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 812
- 2022Teaching Models to Express Their Uncertainty in Wordscited by 751
- 2021A Survey of Uncertainty in Deep Neural Networkscited by 680
- 2019Deep Ensembles: A Loss Landscape Perspectivecited by 443
- 2023HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Modelscited by 341
- 2023Generating with Confidence: Uncertainty Quantification for Black-box Large Language Modelscited by 293
- 2023Shifting Attention to Relevance: Towards the Predictive Uncertainty Quantification of Free-Form Large Language Modelscited by 150
- 2023Quantifying Uncertainty in Answers from any Language Model and Enhancing their Trustworthinesscited by 122
- 2023Decomposing Uncertainty for Large Language Models through Input Clarification Ensemblingcited by 114
- 2024Rejection Improves Reliability: Training LLMs to Refuse Unknown Questions Using RL from Knowledge Feedbackcited by 66
- 2023Knowledge of Knowledge: Exploring Known-Unknowns Uncertainty with Large Language Modelscited by 61
- 2024Uncertainty Quantification for In-Context Learning of Large Language Modelscited by 45
- 2024Fantastic Semantics and Where to Find Them: Investigating Which Layers of Generative LLMs Reflect Lexical Semanticscited by 44
- 2023In ChatGPT We Trust? Measuring and Characterizing the Reliability of ChatGPTcited by 37
- 2024Contextualized Sequence Likelihood: Enhanced Confidence Scores for Natural Language Generationcited by 16
- 2023Assessing Logical Puzzle Solving in Large Language Models: Insights from a Minesweeper Case Studycited by 15
- 2023MUBen: Benchmarking the Uncertainty of Molecular Representation Modelscited by 11
Built on by
Citing papers per year: 2025: 6; 2026: 8.
14 papers.
Sort:
By area:
- 2025Detection and Mitigation of Hallucination in Large Reasoning Models: A Mechanistic Perspectivecited by 34
- 2025From Calibration to Collaboration: LLM Uncertainty Quantification Should Be More Human-Centeredcited by 21
- 2025Semantic Energy: Detecting LLM Hallucination Beyond Entropycited by 18
- 2025Uncertainty Quantification for Hallucination Detection in Large Language Models: Foundations, Methodology, and Future Directionscited by 11
- 2025United Minds or Isolated Agents? Exploring Coordination of LLMs under Cognitive Load Theorycited by 10
- 2026Recurrent Confidence Chain: Temporal-Aware Uncertainty Quantification in Large Language Modelscited by 5
- 2026HalluSAE: Detecting Hallucinations in Large Language Models via Sparse Auto-Encoderscited by 5
- 2025Entropy-Guided Loop: Achieving Reasoning through Uncertainty-Aware Generationcited by 2
- 2026The Origins of Stochasticity: Comprehensive Investigations on Uncertainty Quantification for Large Language Modelscited by 2
- 2026Uncertainty Quantification for Computer-Use Agents: A Benchmark across Vision-Language Models and GUI Grounding Datasetscited by 2
- 2026GRADE: Probing Knowledge Gaps in LLMs through Gradient Subspace Dynamicscited by 1
- 2026Monitoring Web Agents Without Internal Signals: Observable Trajectories and Key-Step Supervisioncited by 1
- 2026Monitoring Web Agents Without Internal Signals: Observable Trajectories and Key-Step Supervision2 Sep 2026
- 2026Uncertainty Quantification for Computer-Use Agents: A Benchmark across Vision-Language Models and GUI Grounding Datasets24 Jun 2026
- 2026The Origins of Stochasticity: Comprehensive Investigations on Uncertainty Quantification for Large Language Models22 Jun 2026
- 2026Reverse Probing: Supervised Token-level Uncertainty Quantification for Large Language Models in Clinical Text27 May 2026
- 2026Detecting Hallucinations in Large Language Models via Internal Attention Divergence Signals6 May 2026
- 2026HalluSAE: Detecting Hallucinations in Large Language Models via Sparse Auto-Encoders6 Apr 2026
- 2026GRADE: Probing Knowledge Gaps in LLMs through Gradient Subspace Dynamics3 Apr 2026
- 2026Recurrent Confidence Chain: Temporal-Aware Uncertainty Quantification in Large Language Models19 Jan 2026
- 2025Uncertainty Quantification for Hallucination Detection in Large Language Models: Foundations, Methodology, and Future Directions14 Oct 2025
- 2025Entropy-Guided Loop: Achieving Reasoning through Uncertainty-Aware Generation26 Aug 2025
- 2025Semantic Energy: Detecting LLM Hallucination Beyond Entropy20 Aug 2025
- 2025From Calibration to Collaboration: LLM Uncertainty Quantification Should Be More Human-Centered9 Jun 2025
- 2025Detection and Mitigation of Hallucination in Large Reasoning Models: A Mechanistic Perspectivecited by 34
- 2026Recurrent Confidence Chain: Temporal-Aware Uncertainty Quantification in Large Language Modelscited by 5
- 2025Entropy-Guided Loop: Achieving Reasoning through Uncertainty-Aware Generationcited by 2
- 2026The Origins of Stochasticity: Comprehensive Investigations on Uncertainty Quantification for Large Language Modelscited by 2
- 2026The Origins of Stochasticity: Comprehensive Investigations on Uncertainty Quantification for Large Language Models22 Jun 2026
- 2026Recurrent Confidence Chain: Temporal-Aware Uncertainty Quantification in Large Language Models19 Jan 2026
- 2025Entropy-Guided Loop: Achieving Reasoning through Uncertainty-Aware Generation26 Aug 2025
- 2025Detection and Mitigation of Hallucination in Large Reasoning Models: A Mechanistic Perspective19 May 2025
- 2025From Calibration to Collaboration: LLM Uncertainty Quantification Should Be More Human-Centeredcited by 21
- 2025Semantic Energy: Detecting LLM Hallucination Beyond Entropycited by 18
- 2025Uncertainty Quantification for Hallucination Detection in Large Language Models: Foundations, Methodology, and Future Directionscited by 11
- 2026GRADE: Probing Knowledge Gaps in LLMs through Gradient Subspace Dynamicscited by 1
- 2026Detecting Hallucinations in Large Language Models via Internal Attention Divergence Signalscited by 0
- 2026Reverse Probing: Supervised Token-level Uncertainty Quantification for Large Language Models in Clinical Textcited by 0
- 2026Reverse Probing: Supervised Token-level Uncertainty Quantification for Large Language Models in Clinical Text27 May 2026
- 2026Detecting Hallucinations in Large Language Models via Internal Attention Divergence Signals6 May 2026
- 2026GRADE: Probing Knowledge Gaps in LLMs through Gradient Subspace Dynamics3 Apr 2026
- 2025Uncertainty Quantification for Hallucination Detection in Large Language Models: Foundations, Methodology, and Future Directions14 Oct 2025
- 2025Semantic Energy: Detecting LLM Hallucination Beyond Entropy20 Aug 2025
- 2025From Calibration to Collaboration: LLM Uncertainty Quantification Should Be More Human-Centered9 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2024MAQA: Evaluating Uncertainty Quantification in LLMs Regarding Data Uncertainty
- 2025Can Linear Probes Measure LLM Uncertainty?
- 2026ChainUQ: Reasoning Consistency-Aware Uncertainty Quantification for Large Language Models
- 2025CoT-UQ: Improving Response-wise Uncertainty Quantification in LLMs with Chain-of-Thought
- 2025Uncertainty Quantification and Confidence Calibration in Large Language Models: A Survey
- 2025Tools in the Loop: Quantifying Uncertainty of LLM Question Answering Systems That Use Tools
- 2025Calibrating Uncertainty Quantification of Multi-Modal LLMs using Grounding
- 2026Embedding Perturbation may Better Reflect Intermediate-Step Uncertainty in LLM Reasoning