Semantic Density: Uncertainty Quantification for Large Language Models through Confidence Measurement in Semantic Space
Xin Qiu, Risto Miikkulainen

TL;DR
This paper introduces Semantic Density, a new method for quantifying uncertainty in large language models by analyzing semantic space, providing a task-agnostic confidence measure that enhances trustworthiness in safety-critical applications.
Contribution
It proposes Semantic Density, a novel, task-agnostic framework for uncertainty quantification in LLMs based on semantic space analysis, outperforming existing methods.
Findings
Semantic Density outperforms prior methods in experiments
It is applicable to various tasks and models without retraining
Demonstrates robustness across multiple LLMs and benchmarks
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsTopic Modeling · Semantic Web and Ontologies
MethodsLLaMA
