Semantic Density: Uncertainty Quantification for Large Language Models through Confidence Measurement in Semantic Space
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 23 of its 50 references that are in the map. First posted on arXiv 22 May 2024.
Builds on
23 of 50 references.
References · 23
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024Mixtral of Expertscited by 1,785
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2023BloombergGPT: A Large Language Model for Financecited by 923
- 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 788
- 2017Crowdsourcing Multiple Choice Science Questionscited by 742
- 2022Teaching Models to Express Their Uncertainty in Wordscited by 731
- 2018CoQA: A Conversational Question Answering Challengecited by 674
11 more
- 2023Towards Expert-Level Medical Question Answering with Large Language Modelscited by 382
- 2022Text and Code Embeddings by Contrastive Pre-Trainingcited by 358
- 2020Calibration of Pre-trained Transformerscited by 307
- 2021On Hallucination and Predictive Uncertainty in Conditional Language Generationcited by 176
- 2023LM-Polygraph: Uncertainty Estimation for Language Modelscited by 130
- 2023Quantifying Uncertainty in Answers from any Language Model and Enhancing their Trustworthinesscited by 121
- 2018Correcting Length Bias in Neural Machine Translationcited by 119
- 2023Decomposing Uncertainty for Large Language Models through Input Clarification Ensemblingcited by 113
- 2022Uncertainty Quantification with Pre-trained Language Models: A Large-Scale Empirical Analysiscited by 104
- 2023Uncertainty in Natural Language Processing: Sources, Quantification, and Applicationscited by 44
- 2023LitCab: Lightweight Language Model Calibration over Short- and Long-form Responsescited by 44
Built on by
Citing papers per year: 2024: 1; 2025: 2.
3 papers.
- 2024A Survey on Uncertainty Quantification of Large Language Models: Taxonomy, Open Research Challenges, and Future Directionscited by 115
- 2025Understanding the Uncertainty of LLM Explanations: A Perspective Based on Reasoning Topologycited by 24
- 2025Comparing Uncertainty Measurement and Mitigation Methods for Large Language Models: A Systematic Reviewcited by 3
- 2025Comparing Uncertainty Measurement and Mitigation Methods for Large Language Models: A Systematic Review25 Apr 2025
- 2025Understanding the Uncertainty of LLM Explanations: A Perspective Based on Reasoning Topology24 Feb 2025
- 2024A Survey on Uncertainty Quantification of Large Language Models: Taxonomy, Open Research Challenges, and Future Directions7 Dec 2024