Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generation

By Lorenz Kuhn, Yarin Gal, Sebastian Farquhar. International Conference on Learning Representations, 2023

830 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence

View Paper: https://www.semanticscholar.org/paper/507465f8d46489a68a527cb5304d76bdb6c31ed9

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Jianfeng Gao
  2. Weizhu Chen
  3. Chelsea Finn
  4. Sergey Levine
  5. Mohit Bansal
  6. Nan Duan
  7. Percy Liang
  8. Yelong Shen

Citations in the corpus