paper-with-me

Papers

Token-Level Density-Based Uncertainty Quantification Methods for Eliciting Truthfulness of Large Language Models

2025-02-20 · Artem Vazhentsev, Lyudmila Rvanova, Ivan Lazichny, Alexander Panchenko, Maxim Panov, Timothy Baldwin, Artem Shelmanov

Uncertainty quantification (UQ) is a prominent approach for eliciting truthful answers from large language models (LLMs). To date, information-based and consistency-based UQ have been the dominant UQ methods for text generation via LLMs. Density-based methods, despite being very effective for UQ in text classification with encoder-based models, have not been very successful with generative LLMs. In this work, we adapt Mahalanobis Distance (MD) - a well-established UQ technique in classification tasks - for text generation and introduce a new supervised UQ method. Our method extracts token embeddings from multiple layers of LLMs, computes MD scores for each token, and uses linear regression trained on these features to provide robust uncertainty scores. Through extensive experiments on eleven datasets, we demonstrate that our approach substantially improves over existing UQ methods, providing accurate and computationally efficient uncertainty scores for both sequence-level selective generation and claim-level fact-checking tasks. Our method also exhibits strong generalization to out-of-domain data, making it suitable for a wide range of LLM-based applications.

📄 PDF Abstract BibTeX arXiv:2502.14427

Code (1)

ArtemVazh/token_mahalanobis_distance 공식 구현 pytorch

Tasks

Fact Checkingtext-classificationText ClassificationText GenerationUncertainty Quantification

Methods 이 논문이 사용한 방법론

Linear Regression Linear Regression is a method for modelling a relationship between a dependent variable and independent variables. These models can be fit with numerous approaches. The most…

Similar Papers 제목 키워드 기반

What is Flagged in Uncertainty Quantification? Latent Density Models for Uncertainty Categorization

2022-07-11 · NeurIPS 2023 11 · Hao Sun, Boris van Breugel, Jonathan Crabbe, Nabeel Seedat 외

Uncertainty Quantification (UQ) is essential for creating trustworthy machine learning models. Recent years have seen a steep rise in UQ methods that can flag suspicious examples, however, it is often unclear what exactl…

Uncertainty Quantification

Semantic Self-Distillation for Language Model Uncertainty

2026-02-04 · Edward Phillips, Sean Wu, Fredrik K. Gustafsson, Boyan Gao 외 arxiv

Large language models present challenges for principled uncertainty quantification, in part due to their complexity and the diversity of their outputs. Semantic dispersion, or the variance in the meaning of sampled answe…

Answer Selection

Integrating Local and Global Entropy for Uncertainty Quantification in LLMs

2026-06-02 · Johanne Medina, Tianyi Zhou, Keivin Isufaj, Aristides Gionis 외 arxiv

Large language models hallucinate confidently, making uncertainty quantification (UQ) essential for reliable deployment. Existing methods rely predominantly on token-level signals, leaving the geometric structure of inte…

Reverse Probing: Supervised Token-level Uncertainty Quantification for Large Language Models in Clinical Text

2026-05-27 · Bushi Xiao, Sarvesh Soni, Daisy Zhe Wang arxiv

As large language models are increasingly deployed for clinical text, ensuring they can reliably signal their own uncertainty becomes critical. Most existing uncertainty quantification (UQ) methods are designed for open-…

Fact-Checking the Output of Large Language Models via Token-Level Uncertainty Quantification

2024-03-07 · Ekaterina Fadeeva, Aleksandr Rubashevskii, Artem Shelmanov, Sergey Petrakov 외

Large language models (LLMs) are notorious for hallucinating, i.e., producing erroneous claims in their output. Such hallucinations can be dangerous, as occasional factual inaccuracies in the generated text might be obsc…

Fact CheckingHallucinationUncertainty Quantification