NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Language Models (Mostly) Know What They Know

Saurav Kadavath, Tom Conerly, Amanda Askell, Tom Henighan, Dawn Drain, Ethan Perez, Nicholas Schiefer, Zac Hatfield-Dodds, Nova DasSarma, Eli Tran-Johnson, Scott Johnston, Sheer El Showk, Andy Jones, Nelson Elhage, Tristan Hume, Anna Chen, Yuntao Bai, Sam Bowman, Stanislav Fort, Deep Ganguli, Danny Hernandez, Josh Jacobson, Jackson Kernion, Shauna Kravec, Liane Lovitt, Kamal Ndousse, Catherine Olsson, Sam Ringer, Dario Amodei, Tom Brown, Jack Clark, Nicholas Joseph, Ben Mann, Sam McCandlish, Chris Olah, Jared KaplanarXiv 2022

Abstract

We study whether language models can evaluate the validity of their own claims and predict which questions they will be able to answer correctly. We first show that larger models are well-calibrated on diverse multiple choice and true/false questions when they are provided in the right format. Thus we can approach self-evaluation on open-ended sampling tasks by asking models to first propose answers, and then to evaluate the probability "P(True)" that their answers are correct. We find encouraging performance, calibration, and scaling for P(True) on a diverse array of tasks. Performance at self-evaluation further improves when we allow models to consider many of their own samples before predicting the validity of one specific possibility. Next, we investigate whether models can be trained to predict "P(IK)", the probability that "I know" the answer to a question, without reference to any particular proposed answer. Models perform well at predicting P(IK) and partially generalize across tasks, though they struggle with calibration of P(IK) on new tasks. The predicted P(IK) probabilities also increase appropriately in the presence of relevant source materials in the context, and in the presence of hints towards the solution of mathematical word problems. We hope these observations lay the groundwork for training more honest models, and for investigating how honesty generalizes to cases where models are trained on objectives other than the imitation of human writing.

Introduction

The tendency of Large Language Models (LLMs) to "hallucinate"—stating falsehoods with extreme confidence—remains a significant barrier to their reliability in real-world applications. To build truly "honest" AI, a model must be able to recognize the limits of its own knowledge. This research investigates whether LLMs possess "self-knowledge," specifically their ability to predict whether their own claims are true.

The study focuses on two primary signals of self-evaluation:

  1. P(True): The model's ability to judge if a proposed answer is correct.
  2. P(IK) ("I Know"): The model's ability to predict if it has the knowledge to answer a question before attempting it.

Methodology

The researchers evaluated models ranging from 800M to 52B parameters across a diverse set of benchmarks, including standard multiple-choice tasks (MMLU, BIG-bench) and generative tasks (TriviaQA, GSM8k, Codex). They also introduced new datasets for Mixed-Arithmetic and Python Function Synthesis.

Key methodological innovations included:

  • Format-Specific Calibration: Identifying that models are better calibrated when multiple-choice questions use visible labels (e.g., "(A)").
  • Brainstorming for Self-Evaluation: Showing the model several of its own "brainstormed" samples for a question before asking it to evaluate a specific answer's validity.
  • P(IK) Value Head: Training a small binary classification layer on top of the LLM to predict the probability of success based on the consistency of previous samples.
  • Calibration of RLHF Models: Discovering that the overconfidence typical of RLHF models can be mitigated by temperature tuning ($T=2.5$).

Results and Discussion

A central finding is that verification is easier than generation. As models scale, their ability to verify the correctness of an answer improves faster than their ability to generate it. This suggests a path toward self-supervision.

Self-Evaluation and Accuracy

Conditioning model outputs on high self-evaluated confidence leads to dramatic performance gains. By only accepting answers where the model's predicted P(True) > 0.5, accuracy increases significantly across all tested domains. For instance, on the GSM8k math benchmark, the 52B model's accuracy rose from approximately 15% to 45% when filtered for high confidence.

Accuracy improves significantly across tasks when conditioning on P(True) > 0.5, with gains scaling alongside model size.

Predicting Knowledge (P(IK))

The trained P(IK) classifier proved highly effective, achieving an AUROC of 0.864 on TriviaQA. This indicates that models can distinguish between what they know and what they do not. Furthermore, P(IK) scores were found to be context-sensitive, increasing appropriately when the model was provided with relevant source material or hints.

Distribution of predicted P(IK) for in-distribution and out-of-distribution evaluations.

The research also suggests that "knowing what you know" is a generalizable meta-skill. A model trained to predict its success on trivia questions can, to some degree, predict its performance on coding or mathematics.

Conclusion and Future Work

While the results are encouraging, several challenges remain. Models struggle with "None of the Above" options and exhibit poor calibration on out-of-distribution (OOD) tasks. While they can rank question difficulty OOD, their absolute probability estimates are often skewed.

A fundamental hurdle is the "Human Imitation Trap": models may mimic human overconfidence found in training data rather than reflecting true internal knowledge. Future work must focus on distinguishing between "the truth" and "what a human would say" to move closer to truly honest AI.

Summary updated

BibTeX
@misc{kadavath2022language,
  author = {Saurav Kadavath and Tom Conerly and Amanda Askell and Tom Henighan and Dawn Drain and Ethan Perez and Nicholas Schiefer and Zac Hatfield-Dodds and Nova DasSarma and Eli Tran-Johnson and Scott Johnston and Sheer El Showk and Andy Jones and Nelson Elhage and Tristan Hume and Anna Chen and Yuntao Bai and Sam Bowman and Stanislav Fort and Deep Ganguli and Danny Hernandez and Josh Jacobson and Jackson Kernion and Shauna Kravec and Liane Lovitt and Kamal Ndousse and Catherine Olsson and Sam Ringer and Dario Amodei and Tom Brown and Jack Clark and Nicholas Joseph and Ben Mann and Sam McCandlish and Chris Olah and Jared Kaplan},
  title = {{Language Models (Mostly) Know What They Know}},
  year = {2022},
  eprint = {2207.05221},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.05221},
}
Figure