Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generation
Citations Over Time
Abstract
We introduce a method to measure uncertainty in large language models. For tasks like question answering, it is essential to know when we can trust the natural language outputs of foundation models. We show that measuring uncertainty in natural language is challenging because of "semantic equivalence" -- different sentences can mean the same thing. To overcome these challenges we introduce semantic entropy -- an entropy which incorporates linguistic invariances created by shared meanings. Our method is unsupervised, uses only a single model, and requires no modifications to off-the-shelf language models. In comprehensive ablation studies we show that the semantic entropy is more predictive of model accuracy on question answering data sets than comparable baselines.
Related Papers
- → Improving the Question Answering Quality using Answer Candidate Filtering based on Natural-Language Features(2021)4 cited
- Question answering systems: a partial answer(2007)
- → Similarity Detection of Natural-Language Questions and Answers using the VANiLLa dataset(2021)2 cited
- → Mobile System Using Natural Language Annotations for Question Answering(2009)1 cited
- → Towards a question answering system based on precisiated natural language(2011)1 cited