Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Language Models (Mostly) Know What They Know

Language models can largely tell whether their own answers are correct

  • Problem Models can be overconfident about answers they have just written, so self-checking has been hard. Language models also cannot directly tell their own tokens apart from tokens a third party supplied.
  • Method The authors have a model sample an answer, then grade that answer as a True/False question to get P(True). Showing the model several of its own samples first makes this judgment better calibrated.
  • Results For a 52B model, keeping only questions with P(True) above 0.5 raised accuracy on five sampling tasks.

Why checking a model's own answer is hard

Calibration means that a model's stated probabilities match how often the events they describe actually happen. Earlier work found that language models give well-calibrated token probabilities on their training distribution. Self-checking is harder, because a model may be overconfident about answers it has just written. Models also have no direct way to tell the tokens they wrote apart from tokens a third party supplied.

The authors want AI systems that evaluate their confidence accurately and faithfully. Honesty, in their framing, covers truthfulness, calibration, self-knowledge, explainability and non-deceptiveness. So the question is whether a model can recognise what it does and doesn't know before it can be trusted to report that.

Asking the model to grade its own sample

The key idea is to let the model answer first and then grade its own answer as a True/False question. The model samples an answer at temperature one for a question, which is the first step. It is then shown the question and that proposed answer, and asked to choose between the True and False options. P(True) is read from the probabilities the model assigns to those two options.

The authors also let the model see several of its own samples before the query, which they call showing many samples. They generate five samples in total and then ask about the validity of one of them. This resembles self-consistency prompting, but here the model judges its own samples rather than the authors judging agreement externally.

Zero-shot, P(True) is poorly calibrated and usually sits near 50% for typical samples. So the few-shot setting carries most of the calibration in this method.

What the sampling experiments show

For a 52B model, the authors keep only questions where a sampled answer reached P(True) above 0.5 and compare accuracy on those. The evaluation covers five sampling tasks: TriviaQA, Lambada, Arithmetic, GSM8k and Codex HumanEval, weighted equally. The evaluation uses 20-shot prompting, with the model shown several of its own samples before a specific one is judged.

This filter is the honesty-relevant part, because the model's own confidence picks out the answers it is more likely to get right.

That is a comparison against judging a single proposed answer, which the authors describe as the simpler version. The authors suggest that larger k in k-shot self-evaluation mainly improves calibration, not the separation of correct and incorrect responses.

Training a probe for P(IK)

The authors attach a value head to the model and train it to output P(IK) from a bare question. P(IK) is the probability that the model knows the answer, judged without any particular proposed answer. Training uses questions from TriviaQA, Arithmetic, Python Function Synthesis and Lambada, with labels for whether the model answered each one correctly.

A classifier trained only on TriviaQA separated questions the model can answer from math, Lambada and code questions. However, its calibration on those other distributions was poor. The authors also report that P(IK) on GSM8k, a dataset not used for training, shows some generalization across tasks.

Source materials and hints raise P(IK)

For an obscure question about a state's rodeo hall of fame, P(IK) for the 52B model was 18%. When a relevant Wikipedia article about the Idaho Rodeo Hall of Fame is prepended, the score rises to 78%. The authors read this as P(IK) tracking whether the model can find the answer in its context, without any extra training.

On TriviaQA, longer articles were truncated to 7000 tokens so the article and question would both fit. Shorter articles raised P(IK) more, which the authors attribute to the correct answer being easier to extract from them.

Showing more of a GSM8k hint generally led to higher P(IK). Hints that led to a correct answer gave higher P(IK) than bad hints, and distracting hints from other questions lowered it. The model trained on all four tasks behaved more consistently with partial hints than the one trained only on TriviaQA.

Does P(IK) track the model itself?

The authors compare two 12B models with identical architecture but different pretraining data. On the 650 questions only model A got right, model A averaged 0.463 P(IK) and model B averaged 0.409. The authors describe the gap as around 6%, which is a small signal they want to improve.

When the classifier was tested on model B ground truth, starting from model B gave an AUROC of 0.8717, compared to 0.8460 from model A. On model A ground truth the two starting points gave almost the same results, 0.8633 and 0.8631. So the evidence for model-specific signal is mixed rather than settled.

Calibration on multiple-choice and True/False formats

Figure 6 shows calibration curves on MMLU, TruthfulQA, QuALITY and LogiQA, and large models can be well calibrated when options are presented in a favourable visible format. Replacing the final option with none of the above degraded performance on MMLU. The model also seemed biased against choosing that option, which the authors say harmed accuracy as well as calibration.

Reformulated as True/False questions, BIG Bench evaluations were well calibrated for the 52B model, except near the tails where it was overconfident. RLHF policies looked poorly calibrated, and the authors attribute this to RL finetuning collapsing predictions toward high-reward behaviour. Scaling the temperature to T=2.5 largely fixed calibration on three evaluations.

Limitations

Only five sampling-based datasets were studied, so the capability trends and generalization are limited in scope. Models finetuned for a specific purpose, such as RLHF policies, may not be as well calibrated, and some methods may not transfer. Pretraining is a form of human imitation, so the analysis doesn't separate the truth from what humans say.

Deliberate deception is not addressed, and it would work against trends in honest self-evaluation.

Out of distribution, calibration of P(IK) was weaker than its ability to separate questions. The authors found that H(A|Q), estimated from 200 samples per question, lost usefulness on HumanEval as models grew.

Paper info

Authors
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 Kaplan
Venue
arXiv · Preprint
First published
2022-7-11
Added
2026-11-12
Updated
2022-11-21
Version
v4
arXiv
2207.05221
Category
cs.CL · cs.AI · cs.LG
Original paper terms
CC BY 4.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

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 et al. (2022). Language Models (Mostly) Know What They Know. arXiv:2207.05221v4. https://arxiv.org/abs/2207.05221v4

BibTeX
@misc{kadavath2022language,
  title = {{Language Models (Mostly) Know What They Know}},
  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},
  year = {2022},
  eprint = {2207.05221},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.05221v4}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up