Teaching Models to Express Their Uncertainty in Words

By Stephanie C. Lin, Jacob Hilton, Owain Evans. 2022

778 citations recorded by the source corpus.

We show that a GPT-3 model can learn to express uncertainty about its own answers in natural language -- without use of model logits. When given a question, the model generates both an answer and a level of confidence (e.g."90% confidence"or"high confidence"). These levels map to probabilities that are well calibrated. The model also remains moderately calibrated under distribution shift, and is sensitive to uncertainty in its own answers, rather than imitating human examples. To our knowledge, this is the first time a model has been shown to express calibrated uncertainty about its own answers in natural language. For testing calibration, we introduce the CalibratedMath suite of tasks. We compare the calibration of uncertainty expressed in words ("verbalized probability") to uncertainty extracted from model logits. Both kinds of uncertainty are capable of generalizing calibration under distribution shift. We also provide evidence that GPT-3's ability to generalize calibration depends on pre-trained latent representations that correlate with epistemic uncertainty over its answers.

Subfields: Artificial Intelligence, Large Language Models, Safety, Robustness & Interpretability

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. Zhe Gan
  3. Mohit Bansal
  4. Percy Liang
  5. Quoc V. Le
  6. Sergey Levine
  7. Luke S. Zettlemoyer
  8. Chunyuan Li

In Large Language Models

  1. Weizhu Chen
  2. Nan Duan
  3. Haotian Liu
  4. Yarin Gal
  5. Sebastian Farquhar
  6. Lorenz Kuhn
  7. Zhe Gan
  8. Kurt Keutzer

In Safety, Robustness & Interpretability

  1. Sebastian Farquhar
  2. Lorenz Kuhn
  3. Jordan L. Boyd-Graber
  4. Q. Liao
  5. Weizhu Chen
  6. Chuang Gan
  7. Zhe Gan
  8. Christopher D. Manning

Citations in the corpus