Semantic Density: Uncertainty Quantification for Large Language Models through Confidence Measurement in Semantic Space
摘要
With the widespread application of Large Language Models (LLMs) to various domains, concerns regarding the trustworthiness of LLMs in safety-critical scenarios have been raised, due to their unpredictable tendency to hallucinate and generate misinformation. Existing LLMs do not have an inherent functionality to provide the users with an uncertainty/confidence metric for each response it generates, making it difficult to evaluate trustworthiness. Although several studies aim to develop uncertainty quantification methods for LLMs, they have fundamental limitations, such as being restricted to classification tasks, requiring additional training and data, considering only lexical instead of semantic information, and being prompt-wise but not response-wise. A new framework is proposed in this paper to address these issues. Semantic density extracts uncertainty/confidence information for each response from a probability distribution perspective in semantic space. It has no restriction on task types and is "off-the-shelf" for new models and tasks. Experiments on seven state-of-the-art LLMs, including the latest Llama 3 and Mixtral-8x22B models, on four free-form question-answering benchmarks demonstrate the superior performance and robustness of semantic density compared to prior approaches.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 23 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models 引用了 The Internal State of an LLM Knows When It's Lying
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models 引用了 Uncertainty Estimation in Autoregressive Structured Prediction
- Hallucination Detection in LLMs with Topological Divergence on Attention Graphs 引用了 SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- Hallucination Detection in LLMs with Topological Divergence on Attention Graphs 引用了 The Internal State of an LLM Knows When It's Lying
- Hallucination Detection in LLMs with Topological Divergence on Attention Graphs 引用了 Kernel Language Entropy: Fine-grained Uncertainty Quantification for LLMs from Semantic Similarities
- Hallucination Detection in LLMs with Topological Divergence on Attention Graphs 引用了 Uncertainty Estimation in Autoregressive Structured Prediction
- CoCoA: A Minimum Bayes Risk Framework Bridging Confidence and Consistency for Uncertainty Quantification in LLMs 引用了 Deberta: decoding-Enhanced Bert with Disentangled Attention
- CoCoA: A Minimum Bayes Risk Framework Bridging Confidence and Consistency for Uncertainty Quantification in LLMs 引用了 Uncertainty Estimation in Autoregressive Structured Prediction
- Kernel Language Entropy: Fine-grained Uncertainty Quantification for LLMs from Semantic Similarities 引用了 SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- Kernel Language Entropy: Fine-grained Uncertainty Quantification for LLMs from Semantic Similarities 引用了 Deberta: decoding-Enhanced Bert with Disentangled Attention
- Kernel Language Entropy: Fine-grained Uncertainty Quantification for LLMs from Semantic Similarities 引用了 Uncertainty Estimation in Autoregressive Structured Prediction
引用它的顶会 Paper23
- CoCoA: A Minimum Bayes Risk Framework Bridging Confidence and Consistency for Uncertainty Quantification in LLMsRoman Vashurin, Maiya Goloburda, Albina Ilina, Aleksandr Rubashevskii 等NeurIPS 2025 · 33 次引用
- Evolution Strategies at Scale: LLM Fine-Tuning Beyond Reinforcement LearningXin Qiu, Yulu Gan, Conor Hayes, Qiyao Liang 等ICML 2026 · 24 次引用
- Hallucination Detection in LLMs with Topological Divergence on Attention GraphsAlexandra Bazarova, Andrei Volodichev, Aleksandr Yugay, Andrey Shulga 等ACL 2026 · 14 次引用
- Utility-Diversity Aware Online Batch Selection for LLM Supervised Fine-tuningHeming Zou, Yixiu Mao, Yun Qu, Qi Wang 等ICML 2026 · 13 次引用
- Thought calibration: Efficient and confident test-time scalingMenghua Wu, Cai Zhou, Stephen Bates, Tommi S. JaakkolaEMNLP 2025 · 12 次引用
它引用的 Paper11
- Deberta: decoding-Enhanced Bert with Disentangled AttentionPengcheng He, Xiaodong Liu, Jianfeng Gao, Weizhu ChenICLR 2021 · 3,729 次引用
- Uncertainty Estimation in Autoregressive Structured PredictionAndrey Malinin, Mark J. F. GalesICLR 2021 · 439 次引用
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language ModelsPotsawee Manakul, Adian Liusie, Mark J. F. GalesEMNLP 2023 · 331 次引用
- Kernel Language Entropy: Fine-grained Uncertainty Quantification for LLMs from Semantic SimilaritiesAlexander Nikitin, Jannik Kossen, Yarin Gal, Pekka MarttinenNeurIPS 2024 · 197 次引用
- The Internal State of an LLM Knows When It's LyingAmos Azaria, Tom M. MitchellEMNLP Findings 2023 · 177 次引用
相关 Paper
- Semantic Volume: Quantifying and Detecting Both External and Internal Uncertainty in LLMsXiaomin Li, Zhou Yu, Ziji Zhang, Yingying Zhuang 等AAAI 2026 · 11 次引用
- Probabilities Are All You Need: A Probability-Only Approach to Uncertainty Estimation in Large Language ModelsManh Nguyen, Sunil Gupta, Hung LeAAAI 2026 · 4 次引用
- Prompting the Unknown: Understanding Response Uncertainty in Large Language ModelsZe Yu Zhang, Arun Verma, Finale Doshi-Velez, Bryan Kian Hsiang LowACL Findings 2026 · 3 次引用
- Beyond Semantic Entropy: Boosting LLM Uncertainty Quantification with Pairwise Semantic SimilarityDang Nguyen, Ali Payani, Baharan MirzasoleimanACL Findings 2025 · 6 次引用
- Improving Uncertainty Estimation through Semantically Diverse Language GenerationLukas Aichberger, Kajetan Schweighofer, Mykyta Ielanskyi, Sepp HochreiterICLR 2025
