mlsanityData to 7 Oct 2026

Look Before You Leap: An Exploratory Study of Uncertainty Measurement for Large Language Models

arXiv 2307.10236 ↗First posted 16 Jul 2023cs.SE cs.AI cs.CLcited by 40

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2022Training language models to follow instructions with human feedbackcited by 15,712
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  8. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  9. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
  10. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
  11. 2021Program Synthesis with Large Language Modelscited by 3,509
  12. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
38 more
  1. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  2. 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,335
  3. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  4. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
  5. 2023Teaching Large Language Models to Self-Debugcited by 963
  6. 2019Aleatoric and Epistemic Uncertainty in Machine Learning: An Introduction to Concepts and Methodscited by 903
  7. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  8. 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
  9. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  10. 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 809
  11. 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
  12. 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 795
  13. 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
  14. 2021A Survey of Uncertainty in Deep Neural Networkscited by 675
  15. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  16. 2019Text Summarization with Pretrained Encoderscited by 553
  17. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  18. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  19. 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
  20. 2023A Survey on Large Language Models for Recommendationcited by 378
  21. 2021Persistent Anti-Muslim Bias in Large Language Modelscited by 376
  22. 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 337
  23. 2018Aleatoric uncertainty estimation with test-time augmentation for medical image segmentation with convolutional neural networkscited by 278
  24. 2023Self-collaboration Code Generation via ChatGPTcited by 255
  25. 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 241
  26. 2018Failing Loudly: An Empirical Study of Methods for Detecting Dataset Shiftcited by 240
  27. 2020Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learningcited by 208
  28. 2021On Hallucination and Predictive Uncertainty in Conditional Language Generationcited by 176
  29. 2023SantaCoder: don't reach for the stars!cited by 169
  30. 2021Understanding the Capabilities, Limitations, and Societal Impact of Large Language Modelscited by 159
  31. 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
  32. 2020Uncertainty as a Form of Transparency: Measuring, Communicating, and Using Uncertaintycited by 128
  33. 2018Guiding Deep Learning System Testing using Surprise Adequacycited by 123
  34. 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 118
  35. 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 110
  36. 2022Locally Typical Samplingcited by 108
  37. 2019Attention in Natural Language Processingcited by 100
  38. 2023Frontier AI Regulation: Managing Emerging Risks to Public Safetycited by 95

50 most cited of 65 All 65 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 12; 2026: 22.

40 papers.

Sort:

By area:

  1. 2024VLATest: Testing and Evaluating Vision-Language-Action Models for Robotic Manipulationcited by 43
  2. 2024Cycles of Thought: Measuring LLM Confidence through Stable Explanationscited by 27
  3. 2024Reference-free Hallucination Detection for Large Vision-Language Modelscited by 23
  4. 2024Uncertainty-Aware Hybrid Inference with On-Device Small and Remote Large Language Modelscited by 18
  5. 2025Bridging Internal Probability and Self-Consistency for Effective and Efficient LLM Reasoningcited by 17
  6. 2025Evaluating Uncertainty and Quality of Vision-Language-Action-enabled Robotscited by 17
  7. 2025A Theoretical Study on Bridging Internal Probability and Self-Consistency for LLM Reasoningcited by 13
  8. 2024Calibration of Large Language Models on Code Summarizationcited by 12
  9. 2025Shadows in the Attention: Contextual Perturbation and Representation Drift in the Dynamics of Hallucination in LLMscited by 9
  10. 2025CAD-Judge: Toward Efficient Morphological Grading and Verification for Text-to-CAD Generationcited by 9
  11. 2025Hallucination Detection: A Probabilistic Framework Using Embeddings Distance Analysiscited by 5
  12. 2025Neural Message-Passing on Attention Graphs for Hallucination Detectioncited by 5
28 more
  1. 2026Beyond Scalars: Evaluating and Understanding LLM Reasoning via Geometric Progress and Stabilitycited by 4
  2. 2025Bi-directional Model Cascading with Proxy Confidencecited by 2
  3. 2025Is Compression Really Linear with Code Intelligence?cited by 2
  4. 2026Can LLMs Use Linguistic Uncertainty Markers to Reliably Reflect Intrinsic Confidence?cited by 2
  5. 2025ReaCritic: Reasoning Transformer-based DRL Critic-model Scaling For Wireless Networkscited by 1
  6. 2025Clotho: Measuring Task-Specific Pre-Generation Test Adequacy for LLM Inputscited by 1
  7. 2026Safer Policy Compliance with Dynamic Epistemic Fallbackcited by 1
  8. 2026Uncertainty and Fairness Awareness in LLM-Based Recommendation Systemscited by 1
  9. 2026MALLVI: A Multi-Agent Framework for Integrated Generalized Robotics Manipulationcited by 1
  10. 2026Anatomy of a Lie: A Multi-Stage Diagnostic Framework for Tracing Hallucinations in Vision-Language Modelscited by 1
  11. 2026Beyond Confidence: Rethinking Self-Assessments for Performance Prediction in LLMscited by 1
  12. 2026Smart Picks in the Dark: Towards Efficient RLVR for Reasoning via Tracing Metacognitive Pivotscited by 1
  13. 2026Metacognition in LLMs: Foundations, Progress, and Opportunitiescited by 1
  14. 2024Inertial Confinement Fusion Forecasting via Large Language Modelscited by 0
  15. 2025Efficient Uncertainty Estimation for LLM-based Entity Linking in Tabular Datacited by 0
  16. 2026Towards Reliable Medical LLMs: Benchmarking and Enhancing Confidence Estimation of Large Language Models in Medical Consultationcited by 0
  17. 2026ReLope: KL-Regularized LoRA Probes for Multimodal LLM Routingcited by 0
  18. 2026A Formal Framework for Uncertainty Analysis of Text Generation with Large Language Modelscited by 0
  19. 2026Calibrated Confidence Expression for Radiology Report Generationcited by 0
  20. 2026Epistemic Uncertainty for Test-Time Discoverycited by 0
  21. 2026Task Abstention for Large Language Models in Code Generationcited by 0
  22. 2026Entropy Distribution as a Fingerprint for Hallucinations in Generative Modelscited by 0
  23. 2026ConSteer-RL: Steering Reasoning Capabilities in Large Language Models via Confidence-Aware Reinforcement Learningcited by 0
  24. 2026RepTran: Search-Based Repair of Transformer Modelscited by 0
  25. 2026Code-MUE: Measuring Code LLMs' Uncertainty through Execution-based Semantic Interaction Graphscited by 0
  26. 2026When Uncertainty Isn't Enough: An Empirical Study of Self-Correction in Code Generationcited by 0
  27. 2026A Human-LLM Teaming Framework for Privacy Risk Analysis: An Illustration with CBDC-Based Welfare Schemescited by 0
  28. 2026Beyond Semantic Accuracy: Consequence-Aware Evaluation for Safety-Critical Language Understandingcited by 0