paper-with-me

홈 › Papers

Inv-Entropy: A Fully Probabilistic Framework for Uncertainty Quantification in Language Models

2025-06-11 · Haoyi Song, Ruihan Ji, Naichen Shi, Fan Lai, Raed Al Kontar

Large language models (LLMs) have transformed natural language processing, but their reliable deployment requires effective uncertainty quantification (UQ). Existing UQ methods are often heuristic and lack a probabilistic foundation. This paper begins by providing a theoretical justification for the role of perturbations in UQ for LLMs. We then introduce a dual random walk perspective, modeling input-output pairs as two Markov chains with transition probabilities defined by semantic similarity. Building on this, we propose a fully probabilistic framework based on an inverse model, which quantifies uncertainty by evaluating the diversity of the input space conditioned on a given output through systematic perturbations. Within this framework, we define a new uncertainty measure, Inv-Entropy. A key strength of our framework is its flexibility: it supports various definitions of uncertainty measures, embeddings, perturbation strategies, and similarity metrics. We also propose GAAP, a perturbation algorithm based on genetic algorithms, which enhances the diversity of sampled inputs. In addition, we introduce a new evaluation metric, Temperature Sensitivity of Uncertainty (TSU), which directly assesses uncertainty without relying on correctness as a proxy. Extensive experiments demonstrate that Inv-Entropy outperforms existing semantic UQ methods. The code to reproduce the results can be found at https://github.com/UMDataScienceLab/Uncertainty-Quantification-for-LLMs.

📄 PDF Abstract BibTeX arXiv:2506.09684

Code (1)

umdatasciencelab/uncertainty-quantification-for-llms 공식 구현

Tasks

DiversitySemantic SimilaritySemantic Textual SimilarityUncertainty Quantification

Similar Papers 제목 키워드 기반

LLMs Uncertainty Quantification via Adaptive Conformal Semantic Entropy

2026-05-05 · Hamed Karimi, Vaishali Meyappan, Reza Samavi arxiv

LLMs' overconfidence, particularly when hallucinating, poses a significant challenge for the deployment of the models in safety-critical settings and makes a reliable estimation of uncertainty necessary. Existing approac…

Grammars of Formal Uncertainty: When to Trust LLMs in Automated Reasoning Tasks

2025-05-26 · Debargha Ganguly, Vikash Singh, Sreehari Sankar, Biyao Zhang 외

Large language models (LLMs) show remarkable promise for democratizing automated reasoning by generating formal specifications. However, a fundamental tension exists: LLMs are probabilistic, while formal verification dem…

Uncertainty Quantification

The Probabilistic Tsetlin Machine: A Novel Approach to Uncertainty Quantification

2024-10-23 · K. Darshana Abeyrathna, Sara El Mekkaoui, Andreas Hafver, Christian Agrell

Tsetlin Machines (TMs) have emerged as a compelling alternative to conventional deep learning methods, offering notable advantages such as smaller memory footprint, faster inference, fault-tolerant properties, and interp…

Uncertainty Quantification

Fully Bayesian VIB-DeepSSM

2023-05-09 · Jadie Adams, Shireen Elhabian

Statistical shape modeling (SSM) enables population-based quantitative analysis of anatomical shapes, informing clinical diagnosis. Deep learning approaches predict correspondence-based SSM directly from unsegmented 3D i…

AnatomyUncertainty QuantificationVariational Inference

On the QUEST for Uncertainty Quantification via Highest Density Regions

2026-06-17 · Sam Goring, Tom Kuipers, Nicola Paoletti, David S. Watson arxiv

Uncertainty quantification (UQ) is essential for reliable decision-making in safety-critical applications in probabilistic machine learning. For regression problems, dominant scalar UQ approaches - notably, those based o…