Look Before You Leap: An Exploratory Study of Uncertainty Measurement for Large Language Models
Not on the map. Why?
Abstract (arXiv)
The recent performance leap of Large Language Models (LLMs) opens up new opportunities across numerous industrial applications and domains. However, erroneous generations, such as false predictions, misinformation, and hallucination made by LLMs, have also raised severe concerns for the trustworthiness of LLMs', especially in safety-, security- and reliability-sensitive scenarios, potentially hindering real-world adoptions. While uncertainty estimation has shown its potential for interpreting the prediction risks made by general machine learning (ML) models, little is known about whether and to what extent it can help explore an LLM's capabilities and counteract its undesired behavior. To bridge the gap, in this paper, we initiate an exploratory study on the risk assessment of LLMs from the lens of uncertainty. In particular, we experiment with twelve uncertainty estimation methods and four LLMs on four prominent natural language processing (NLP) tasks to investigate to what extent uncertainty estimation techniques could help characterize the prediction risks of LLMs. Our findings validate the effectiveness of uncertainty estimation for revealing LLMs' uncertain/non-factual predictions. In addition to general NLP tasks, we extensively conduct experiments with four LLMs for code generation on two datasets. We find that uncertainty estimation can potentially uncover buggy programs generated by LLMs. Insights from our study shed light on future design and development for reliable LLMs, facilitating further research toward enhancing the trustworthiness of LLMs.
Key facts. Cited by 40 papers in the map (data through 7 Oct 2026). Builds on 65 of its 121 references that are in the map. First posted on arXiv 16 Jul 2023.
Builds on
65 of 121 references.
References · 65
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
38 more
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,335
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2019Aleatoric and Epistemic Uncertainty in Machine Learning: An Introduction to Concepts and Methodscited by 903
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 809
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
- 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 795
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
- 2021A Survey of Uncertainty in Deep Neural Networkscited by 675
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2019Text Summarization with Pretrained Encoderscited by 553
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
- 2023A Survey on Large Language Models for Recommendationcited by 378
- 2021Persistent Anti-Muslim Bias in Large Language Modelscited by 376
- 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 337
- 2018Aleatoric uncertainty estimation with test-time augmentation for medical image segmentation with convolutional neural networkscited by 278
- 2023Self-collaboration Code Generation via ChatGPTcited by 255
- 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 241
- 2018Failing Loudly: An Empirical Study of Methods for Detecting Dataset Shiftcited by 240
- 2020Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learningcited by 208
- 2021On Hallucination and Predictive Uncertainty in Conditional Language Generationcited by 176
- 2023SantaCoder: don't reach for the stars!cited by 169
- 2021Understanding the Capabilities, Limitations, and Societal Impact of Large Language Modelscited by 159
- 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
- 2020Uncertainty as a Form of Transparency: Measuring, Communicating, and Using Uncertaintycited by 128
- 2018Guiding Deep Learning System Testing using Surprise Adequacycited by 123
- 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 118
- 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 110
- 2022Locally Typical Samplingcited by 108
- 2019Attention in Natural Language Processingcited by 100
- 2023Frontier AI Regulation: Managing Emerging Risks to Public Safetycited by 95
50 most cited of 65 All 65 (JSON)
Built on by
Citing papers per year: 2024: 6; 2025: 12; 2026: 22.
40 papers.
Sort:
By area:
- 2024VLATest: Testing and Evaluating Vision-Language-Action Models for Robotic Manipulationcited by 43
- 2024Cycles of Thought: Measuring LLM Confidence through Stable Explanationscited by 27
- 2024Reference-free Hallucination Detection for Large Vision-Language Modelscited by 23
- 2024Uncertainty-Aware Hybrid Inference with On-Device Small and Remote Large Language Modelscited by 18
- 2025Bridging Internal Probability and Self-Consistency for Effective and Efficient LLM Reasoningcited by 17
- 2025Evaluating Uncertainty and Quality of Vision-Language-Action-enabled Robotscited by 17
- 2025A Theoretical Study on Bridging Internal Probability and Self-Consistency for LLM Reasoningcited by 13
- 2024Calibration of Large Language Models on Code Summarizationcited by 12
- 2025Shadows in the Attention: Contextual Perturbation and Representation Drift in the Dynamics of Hallucination in LLMscited by 9
- 2025CAD-Judge: Toward Efficient Morphological Grading and Verification for Text-to-CAD Generationcited by 9
- 2025Hallucination Detection: A Probabilistic Framework Using Embeddings Distance Analysiscited by 5
- 2025Neural Message-Passing on Attention Graphs for Hallucination Detectioncited by 5
28 more
- 2026Beyond Scalars: Evaluating and Understanding LLM Reasoning via Geometric Progress and Stabilitycited by 4
- 2025Bi-directional Model Cascading with Proxy Confidencecited by 2
- 2025Is Compression Really Linear with Code Intelligence?cited by 2
- 2026Can LLMs Use Linguistic Uncertainty Markers to Reliably Reflect Intrinsic Confidence?cited by 2
- 2025ReaCritic: Reasoning Transformer-based DRL Critic-model Scaling For Wireless Networkscited by 1
- 2025Clotho: Measuring Task-Specific Pre-Generation Test Adequacy for LLM Inputscited by 1
- 2026Safer Policy Compliance with Dynamic Epistemic Fallbackcited by 1
- 2026Uncertainty and Fairness Awareness in LLM-Based Recommendation Systemscited by 1
- 2026MALLVI: A Multi-Agent Framework for Integrated Generalized Robotics Manipulationcited by 1
- 2026Anatomy of a Lie: A Multi-Stage Diagnostic Framework for Tracing Hallucinations in Vision-Language Modelscited by 1
- 2026Beyond Confidence: Rethinking Self-Assessments for Performance Prediction in LLMscited by 1
- 2026Smart Picks in the Dark: Towards Efficient RLVR for Reasoning via Tracing Metacognitive Pivotscited by 1
- 2026Metacognition in LLMs: Foundations, Progress, and Opportunitiescited by 1
- 2024Inertial Confinement Fusion Forecasting via Large Language Modelscited by 0
- 2025Efficient Uncertainty Estimation for LLM-based Entity Linking in Tabular Datacited by 0
- 2026Towards Reliable Medical LLMs: Benchmarking and Enhancing Confidence Estimation of Large Language Models in Medical Consultationcited by 0
- 2026ReLope: KL-Regularized LoRA Probes for Multimodal LLM Routingcited by 0
- 2026A Formal Framework for Uncertainty Analysis of Text Generation with Large Language Modelscited by 0
- 2026Calibrated Confidence Expression for Radiology Report Generationcited by 0
- 2026Epistemic Uncertainty for Test-Time Discoverycited by 0
- 2026Task Abstention for Large Language Models in Code Generationcited by 0
- 2026Entropy Distribution as a Fingerprint for Hallucinations in Generative Modelscited by 0
- 2026ConSteer-RL: Steering Reasoning Capabilities in Large Language Models via Confidence-Aware Reinforcement Learningcited by 0
- 2026RepTran: Search-Based Repair of Transformer Modelscited by 0
- 2026Code-MUE: Measuring Code LLMs' Uncertainty through Execution-based Semantic Interaction Graphscited by 0
- 2026When Uncertainty Isn't Enough: An Empirical Study of Self-Correction in Code Generationcited by 0
- 2026A Human-LLM Teaming Framework for Privacy Risk Analysis: An Illustration with CBDC-Based Welfare Schemescited by 0
- 2026Beyond Semantic Accuracy: Consequence-Aware Evaluation for Safety-Critical Language Understandingcited by 0
- 2026Beyond Semantic Accuracy: Consequence-Aware Evaluation for Safety-Critical Language Understanding25 Aug 2026
- 2026A Human-LLM Teaming Framework for Privacy Risk Analysis: An Illustration with CBDC-Based Welfare Schemes17 Aug 2026
- 2026When Uncertainty Isn't Enough: An Empirical Study of Self-Correction in Code Generation31 Jul 2026
- 2026Code-MUE: Measuring Code LLMs' Uncertainty through Execution-based Semantic Interaction Graphs14 Jul 2026
- 2026Metacognition in LLMs: Foundations, Progress, and Opportunities13 Jul 2026
- 2026RepTran: Search-Based Repair of Transformer Models13 Jul 2026
- 2026ConSteer-RL: Steering Reasoning Capabilities in Large Language Models via Confidence-Aware Reinforcement Learning6 Jun 2026
- 2026Smart Picks in the Dark: Towards Efficient RLVR for Reasoning via Tracing Metacognitive Pivots3 Jun 2026
- 2026Can LLMs Use Linguistic Uncertainty Markers to Reliably Reflect Intrinsic Confidence?27 May 2026
- 2026Entropy Distribution as a Fingerprint for Hallucinations in Generative Models27 May 2026
- 2026Task Abstention for Large Language Models in Code Generation16 May 2026
- 2026Epistemic Uncertainty for Test-Time Discovery11 May 2026
28 more
- 2026Beyond Confidence: Rethinking Self-Assessments for Performance Prediction in LLMs8 May 2026
- 2026Calibrated Confidence Expression for Radiology Report Generation31 Mar 2026
- 2026A Formal Framework for Uncertainty Analysis of Text Generation with Large Language Models27 Mar 2026
- 2026ReLope: KL-Regularized LoRA Probes for Multimodal LLM Routing25 Mar 2026
- 2026Anatomy of a Lie: A Multi-Stage Diagnostic Framework for Tracing Hallucinations in Vision-Language Models16 Mar 2026
- 2026Beyond Scalars: Evaluating and Understanding LLM Reasoning via Geometric Progress and Stability11 Mar 2026
- 2026MALLVI: A Multi-Agent Framework for Integrated Generalized Robotics Manipulation18 Feb 2026
- 2026Uncertainty and Fairness Awareness in LLM-Based Recommendation Systems31 Jan 2026
- 2026Safer Policy Compliance with Dynamic Epistemic Fallback30 Jan 2026
- 2026Towards Reliable Medical LLMs: Benchmarking and Enhancing Confidence Estimation of Large Language Models in Medical Consultation22 Jan 2026
- 2025A Theoretical Study on Bridging Internal Probability and Self-Consistency for LLM Reasoning17 Oct 2025
- 2025Neural Message-Passing on Attention Graphs for Hallucination Detection29 Sep 2025
- 2025Efficient Uncertainty Estimation for LLM-based Entity Linking in Tabular Data24 Sep 2025
- 2025Clotho: Measuring Task-Specific Pre-Generation Test Adequacy for LLM Inputs22 Sep 2025
- 2025CAD-Judge: Toward Efficient Morphological Grading and Verification for Text-to-CAD Generation6 Aug 2025
- 2025Evaluating Uncertainty and Quality of Vision-Language-Action-enabled Robots22 Jul 2025
- 2025Shadows in the Attention: Contextual Perturbation and Representation Drift in the Dynamics of Hallucination in LLMs22 May 2025
- 2025Is Compression Really Linear with Code Intelligence?16 May 2025
- 2025ReaCritic: Reasoning Transformer-based DRL Critic-model Scaling For Wireless Networks16 May 2025
- 2025Bi-directional Model Cascading with Proxy Confidence27 Apr 2025
- 2025Hallucination Detection: A Probabilistic Framework Using Embeddings Distance Analysis10 Feb 2025
- 2025Bridging Internal Probability and Self-Consistency for Effective and Efficient LLM Reasoning1 Feb 2025
- 2024Uncertainty-Aware Hybrid Inference with On-Device Small and Remote Large Language Models17 Dec 2024
- 2024VLATest: Testing and Evaluating Vision-Language-Action Models for Robotic Manipulation19 Sep 2024
- 2024Reference-free Hallucination Detection for Large Vision-Language Models11 Aug 2024
- 2024Inertial Confinement Fusion Forecasting via Large Language Models15 Jul 2024
- 2024Cycles of Thought: Measuring LLM Confidence through Stable Explanations5 Jun 2024
- 2024Calibration of Large Language Models on Code Summarization30 Apr 2024
- 2024Cycles of Thought: Measuring LLM Confidence through Stable Explanationscited by 27
- 2025Bridging Internal Probability and Self-Consistency for Effective and Efficient LLM Reasoningcited by 17
- 2025A Theoretical Study on Bridging Internal Probability and Self-Consistency for LLM Reasoningcited by 13
- 2026Beyond Scalars: Evaluating and Understanding LLM Reasoning via Geometric Progress and Stabilitycited by 4
- 2025ReaCritic: Reasoning Transformer-based DRL Critic-model Scaling For Wireless Networkscited by 1
- 2026Beyond Confidence: Rethinking Self-Assessments for Performance Prediction in LLMscited by 1
- 2026Smart Picks in the Dark: Towards Efficient RLVR for Reasoning via Tracing Metacognitive Pivotscited by 1
- 2026ConSteer-RL: Steering Reasoning Capabilities in Large Language Models via Confidence-Aware Reinforcement Learningcited by 0
- 2026ConSteer-RL: Steering Reasoning Capabilities in Large Language Models via Confidence-Aware Reinforcement Learning6 Jun 2026
- 2026Smart Picks in the Dark: Towards Efficient RLVR for Reasoning via Tracing Metacognitive Pivots3 Jun 2026
- 2026Beyond Confidence: Rethinking Self-Assessments for Performance Prediction in LLMs8 May 2026
- 2026Beyond Scalars: Evaluating and Understanding LLM Reasoning via Geometric Progress and Stability11 Mar 2026
- 2025A Theoretical Study on Bridging Internal Probability and Self-Consistency for LLM Reasoning17 Oct 2025
- 2025ReaCritic: Reasoning Transformer-based DRL Critic-model Scaling For Wireless Networks16 May 2025
- 2025Bridging Internal Probability and Self-Consistency for Effective and Efficient LLM Reasoning1 Feb 2025
- 2024Cycles of Thought: Measuring LLM Confidence through Stable Explanations5 Jun 2024
- 2024Reference-free Hallucination Detection for Large Vision-Language Modelscited by 23
- 2026Anatomy of a Lie: A Multi-Stage Diagnostic Framework for Tracing Hallucinations in Vision-Language Modelscited by 1
- 2026ReLope: KL-Regularized LoRA Probes for Multimodal LLM Routingcited by 0
- 2026Calibrated Confidence Expression for Radiology Report Generationcited by 0
- 2026Calibrated Confidence Expression for Radiology Report Generation31 Mar 2026
- 2026ReLope: KL-Regularized LoRA Probes for Multimodal LLM Routing25 Mar 2026
- 2026Anatomy of a Lie: A Multi-Stage Diagnostic Framework for Tracing Hallucinations in Vision-Language Models16 Mar 2026
- 2024Reference-free Hallucination Detection for Large Vision-Language Models11 Aug 2024
- 2024Uncertainty-Aware Hybrid Inference with On-Device Small and Remote Large Language Modelscited by 18
- 2024Calibration of Large Language Models on Code Summarizationcited by 12
- 2025Shadows in the Attention: Contextual Perturbation and Representation Drift in the Dynamics of Hallucination in LLMscited by 9
- 2025CAD-Judge: Toward Efficient Morphological Grading and Verification for Text-to-CAD Generationcited by 9
- 2025Hallucination Detection: A Probabilistic Framework Using Embeddings Distance Analysiscited by 5
- 2025Neural Message-Passing on Attention Graphs for Hallucination Detectioncited by 5
- 2025Bi-directional Model Cascading with Proxy Confidencecited by 2
- 2025Is Compression Really Linear with Code Intelligence?cited by 2
- 2026Can LLMs Use Linguistic Uncertainty Markers to Reliably Reflect Intrinsic Confidence?cited by 2
- 2025Clotho: Measuring Task-Specific Pre-Generation Test Adequacy for LLM Inputscited by 1
- 2026Safer Policy Compliance with Dynamic Epistemic Fallbackcited by 1
- 2026Uncertainty and Fairness Awareness in LLM-Based Recommendation Systemscited by 1
12 most cited of 25 All 25 (JSON)
- 2026Beyond Semantic Accuracy: Consequence-Aware Evaluation for Safety-Critical Language Understanding25 Aug 2026
- 2026A Human-LLM Teaming Framework for Privacy Risk Analysis: An Illustration with CBDC-Based Welfare Schemes17 Aug 2026
- 2026When Uncertainty Isn't Enough: An Empirical Study of Self-Correction in Code Generation31 Jul 2026
- 2026Code-MUE: Measuring Code LLMs' Uncertainty through Execution-based Semantic Interaction Graphs14 Jul 2026
- 2026Metacognition in LLMs: Foundations, Progress, and Opportunities13 Jul 2026
- 2026RepTran: Search-Based Repair of Transformer Models13 Jul 2026
- 2026Can LLMs Use Linguistic Uncertainty Markers to Reliably Reflect Intrinsic Confidence?27 May 2026
- 2026Entropy Distribution as a Fingerprint for Hallucinations in Generative Models27 May 2026
- 2026Task Abstention for Large Language Models in Code Generation16 May 2026
- 2026Epistemic Uncertainty for Test-Time Discovery11 May 2026
- 2026A Formal Framework for Uncertainty Analysis of Text Generation with Large Language Models27 Mar 2026
- 2026Uncertainty and Fairness Awareness in LLM-Based Recommendation Systems31 Jan 2026
12 newest of 25 All 25 (JSON)