The Evaluating Self

84Why Language Models Hallucinate

Adam Tauman Kalai, Ofir Nachum, Santosh S. Vempala and Edwin Zhang, arXiv preprint 2509.04664, September 2025

Why Language Models Hallucinate, 2025 — the argument in five moves Is-It-Valid:a reduction Arbitrary factsseen once Poor modelsand tokens Binary gradingpays a guess Confidencetargets Fitting language isat least as hard astelling valid frominvalid. Facts recorded onceset a floor underthe error rate afterpretraining. A weak model andtokenised text adderrors of their own. Abstaining scoreszero, so a guessalways beatssaying so. State the thresholdin the instructionsof the tests thatalready count. Errors begin as misclassifications; the scoring decides whether they survive.
Figure 84.0 — The paper's shape. Three moves explain why a pretrained model errs; two explain why the errors survive everything done to the model afterwards.

Asked for Adam Kalai's birthday, with the instruction to answer only if it knew, an open-source model of six hundred billion parameters returned three different dates on three attempts. None was right; the true date is in autumn. Kalai, Nachum, Vempala and Zhang treat that behaviour as ordinary rather than mysterious, and give it two causes, one at each stage of how such systems are made. Pretraining produces errors because fitting a distribution over text is at least as hard as deciding, for each candidate output, whether it is valid, and that decision is impossible for facts the training data never settled. Post-training fails to remove them because the tests that rank models award one point for a correct answer and none for an admission of ignorance, so a model that guesses whenever it is unsure outscores an identical model that says it does not know. The first cause is a theorem. The second is a fact about how the field keeps score, and it is where the paper's proposal lands: not another hallucination benchmark, but a confidence threshold written into the instructions of the benchmarks that already decide the leaderboards. The abstract states the diagnosis in a clause — models are "optimized to be good test-takers".

Pretraining errors

A base model is an estimate of the distribution its training text was drawn from. Proving that such an estimate must generate falsehoods is harder than it looks, because some models generate none. A model that answers everything with "I don't know" never says anything false, and neither does one that recites passages from a corpus assumed to be clean. Both fail at the estimation they were trained for, and the authors need a bound that covers the models which succeed at it.

The bound comes from a reduction to binary classification. They define a problem called Is-It-Valid: shown a string, say whether it is a valid output or an error. Its data are half real training examples, labelled valid, and half errors drawn uniformly at random, labelled error. Any language model can be read as a classifier for that problem by thresholding its own probabilities, calling a response valid when the model gives it more than one chance in the number of possible errors. Generation is the harder of the two tasks, since producing a valid response implicitly settles the validity question for every candidate it passed over. The theorem makes this precise in the direction that matters. The generative error rate is at least twice the misclassification rate of the induced classifier, less two corrections. One is the ratio of valid responses to erroneous ones, small wherever there are many ways to be wrong: for a birthday in day-month form there are 364 wrong answers against one right. The other is a calibration term.

The reduction — generating a valid response answers the validity question the classification problem the generation problem + There is 1 N in PIANO. + I don't know Zdan's birthday. − There are 3 L's in SPELL. − Colin Merivale's birthday is 8/29. Given a prompt, produce a valid response — which settles the same question for every candidate. Generating a valid response answers the validity question, so generation cannot be the easier task. generatederrors Is-It-Validerrors valid ÷wrong calibrationgap ≥ 2 × − − Both subtracted terms are small: 364 wrong birthdays against one right answer, and minimising cross-entropy drives the calibration gap towards zero.
Figure 84.1 — Why the bound runs in the direction it does, and why the two subtracted terms are small.

That calibration term is the gap between the probability mass the model puts above the threshold and the mass the training distribution puts there. The authors show it equals the size of the derivative of the cross-entropy loss under a rescaling of the above-threshold probabilities. If the gap were large, rescaling would lower the loss and the model would not be sitting at a minimum. Any model family able to represent such a rescaling will therefore have a small gap once trained. Calibration is not a virtue added to a base model; it is what minimising cross-entropy yields. The paper reprints the GPT-4 calibration histograms to show it, from the system card: before reinforcement learning the model's confidence on four-way multiple choice tracks its accuracy, and afterwards it does not.

The conclusion is narrower and harder than the one usually heard. Hallucination is not inevitable for language systems in general. A program that answers a fixed list of questions from a database, computes well-formed arithmetic, and otherwise abstains never hallucinates. What the bound shows is that a model which never errs cannot be calibrated. Nothing in the argument depends on next-word prediction or on transformers; it would apply to any procedure fitted to the distribution of language, which is why the authors insist their subject is not autocomplete.

Error factors for base models

Because generative error inherits the difficulty of a classification problem, the settled understanding of why classifiers fail becomes a catalogue of why models hallucinate. The paper's opening figure draws three cases with the same apparatus: labelled points and a classifier trying to separate them.

Three ways a classifier fails, and so three ways a model errs spelling — separable counting — poor model birthdays — no pattern The data settle it; modelsrarely misspell. The shape is wrong for themodel, as letters are for tokens. Nothing to learn. The flooris the share seen once. valid an error dashed line: the best the classifier can do
Figure 84.2 — The three cases of the paper's Figure 1. Spelling is separable, counting defeats the model that is used, and an arbitrary fact has nothing in it to learn.

The hard case is a fact with no pattern behind it. The authors define it formally: for each prompt one correct answer is drawn uniformly at random from a set of candidates, and an abstention is available. A birthday is the example. Whether a base model gets such a fact right depends on nothing but whether the training data happened to record it, and how often. Their bound is the singleton rate, the fraction of training facts that appear exactly once. The estimator behind it is Alan Turing's: the share of a sample that occurs exactly once estimates the probability mass of everything the sample missed. Their theorem says the error rate after pretraining is at least the singleton rate, less a term that shrinks as the number of wrong answers grows, a term that shrinks with the square root of the training size, and the calibration gap. A matching upper bound is achieved by an efficient calibrated algorithm, so the singleton rate is a floor that can be met, not a loose one. The reading is concrete. If a fifth of the birthdays in a corpus appear exactly once, a base model should get at least a fifth of birthday questions wrong. Einstein's birthday appears many times and models rarely miss it; the birthday recorded once in an obituary is a throw of a 365-sided die.

The singleton rate — facts the corpus happens to record only once share of the facts in a corpus once twice 3 to 10 more times the fact appears in the training data the share seen exactly once is a floor under the error rate Twenty per cent of birthdays recorded once means at least twenty per cent of birthday answers wrong.
Figure 84.3 — Schematic. Facts recorded once in the corpus set a floor under the error rate, by the same estimator Turing used for the mass of what a sample has not seen.

The second case is a model too weak for the concept. Agnostic learning supplies the term: if the best classifier available in a family still misclassifies, generation in that family must err at least as much, and for a plain multiple-choice question the bound is close to twice that best error. The illustration is a trigram model, which predicts each word from the two before it. Given a sentence ending "lost it and was completely out of", and the same sentence begun with a different pronoun, a two-word window cannot reach that pronoun, so no trigram model can tell "her mind" from "his mind", and on an even mixture of the two prompts it errs at least half the time. The modern version is letter counting. Asked how many Ds are in DEEPSEEK, DeepSeek-V3 answered 2 or 3 across ten trials, and other assistants returned numbers as large as 6 and 7. The reasoning model R1 spells the word out letter by letter and gets 1. Same data, better model: the difficulty is that a prompt reaches the model as tokens, D/EEP/SEE/K, rather than as characters.

Three further sources follow. Computational hardness, which the appendix makes exact with a cipher: if no efficient algorithm can distinguish a true decryption from a false one, a calibrated model asked to decrypt must err at nearly the maximum rate, whatever else it can do. Distribution shift, for prompts unlike anything in training, such as asking which is heavier, a pound of feathers or a pound of lead. And the oldest source of all, that corpora contain falsehoods and base models repeat them. This last is the one post-training genuinely fixes: conspiracy theories and common misconceptions are among the things InstructGPT-style training from human feedback removes.

How evaluations reinforce hallucination

Post-training is meant to turn an autocomplete into an assistant that does not assert what it does not know. The authors argue that the attempt is fighting the scoreboard.

Call a grader binary if its scores are only 0 and 1 and every abstention scores 0. A test-taker knows the question, the space of responses and the shape of the rubric, but not the answer, and so holds some belief about which responses are right. For every such belief, the authors observe, no abstention is among the highest-scoring responses. The proof is a line of union bound. Under binary grading, abstention is not usually worse than guessing; it is always worse.

Under binary grading, an abstention is never the best move a question the modelis unsure about guess right — 1 point guess wrong — 0 points I don't know — 0 points expected score of a guess is above zero whenever any answer might be right Model A answers when it knows and says so when it does not. Model B replaces each abstention with its best guess. B scores higher, though the scoring cannot tell a wrong answer from a refusal.
Figure 84.4 — The asymmetry that survives post-training. A guess and an abstention are scored alike when the guess is wrong, and the guess is sometimes right.

From this follows the comparison that gives the paper its force. Let Model A signal uncertainty accurately and never assert a falsehood, and let Model B be the same model with each abstention replaced by its best guess. B outscores A on every binary benchmark. Nothing about B is better. The scoring cannot tell a wrong answer from a refusal to invent one, and so it pays for the invention.

The problem is therefore not a shortage of hallucination evaluations but an abundance of misaligned ones. The authors went through the evaluations featured on the boards the field actually reads: the flagship capabilities leaderboard of HELM, the Open LLM Leaderboard, SWE-bench and Humanity's Last Exam.

EvaluationScoringCredit for an abstention
GPQAMultiple-choice accuracyNone
MMLU-ProMultiple-choice accuracyNone
IFEvalProgrammatic instruction checksNone
Omni-MATHEquivalence grading by a modelNone
BBHMultiple choice or exact matchNone
MATH, level 5Equivalence grading by a modelNone
MuSRMultiple-choice accuracyNone
SWE-benchPatch passes the unit testsNone
HLEMultiple choice or equivalence gradingNone
WildBenchTen-point rubric scored by a modelPartial

Nine of the ten give nothing for an abstention. The tenth, WildBench, grades real user conversations on a ten-point rubric in which a response that is fair but carries factual errors lands at five or six, while one that does not help the user lands at three or four, so an admission of ignorance can score below a fabrication. Several of the ten are graded by language models, which sometimes mark a confident wrong answer correct, and that pays for bluffing too. Humanity's Last Exam does report a calibration error alongside accuracy, but the authors show it measures something else: a model that answered every question wrong while reporting no confidence would score as perfectly calibrated.

This is why they call the problem socio-technical rather than technical. A better hallucination test changes nothing while the boards people read still reward guessing, and the 2025 AI Index observes that hallucination benchmarks "have struggled to gain traction within the AI community". The diagnosis has the shape the sycophancy paper found for flattery, where the raters were people who preferred agreement and the model learned to agree; here the raters are grading scripts that prefer an answer, and the model learns to produce one. And as the mirage paper argued about abilities that seem to appear all at once, the metric rather than the model decides which behaviour shows up.

Explicit confidence targets

Human examinations have met the same problem and some have solved it by stating the penalty. India's JEE, NEET and GATE deduct marks for wrong answers, as have the American Mathematics Competitions and, in earlier years, the SAT, AP and GRE. The rule appears in the instructions, so a candidate can work out the confidence above which guessing pays.

The proposal is to do the same to machine benchmarks. Append to each question a line saying that an answer should be given only above some stated confidence, that a mistake costs a stated penalty, that a correct answer earns one point and that "I don't know" earns none. Set the penalty at the odds implied by the threshold, and the expected score favours answering exactly when the probability of being right exceeds it. The natural settings are a threshold of a half with a penalty of one, three-quarters with a penalty of two, and nine-tenths with a penalty of nine. A threshold of zero is today's grading, stated honestly: guess anyway.

Where a stated threshold puts the line between answering and abstaining abstain answer t = 0 t = 0.5 t = 0.9 binary grading:a wrong answer is free answer above 0.5:a wrong answer costs 1 answer above 0.9:a wrong answer costs 9 0 0.5 0.9 1 the model's confidence that its answer is right
Figure 84.5 — The stated threshold and the penalty it implies move the line between answering and abstaining, and the model can be told where the line is.

Two details separate the scheme from earlier penalty proposals. The threshold is written into the instruction rather than hidden in the scoring, because a hidden penalty makes grading contestable and leaves model builders without a common target; with it stated, one model can be best at every threshold, whereas an unstated penalty forces a trade-off under which no single model is best. And the targets belong inside mainstream evaluations already in use, SWE-bench among them, rather than in bespoke hallucination tests that the mass of ordinary benchmarks would drown out.

What the scheme asks for is behavioural rather than numeric. The authors call it behavioural calibration: the model need not emit a probability, only give the most useful response it is confident enough to stand behind, and abstain when it has none. It can be audited by comparing accuracy and error across thresholds, and it sidesteps the difficulty that a correct answer can be phrased in many ways.

Where the analysis stops

The authors list what their account omits, and the list is worth reading as part of the argument. It considers only plausible strings and sets nonsense aside. It treats a response containing one falsehood as an error, which flattens the degrees of wrongness in an open-ended task such as writing a biography. Retrieval and reasoning reduce hallucination but do not repair the incentive, since binary grading still rewards a guess when the search returns nothing. Errors that turn on context outside the exchange, such as a question about phones that was meant to be about land lines, fall outside a definition reading only prompt and response. The three categories of correct, incorrect and abstain are themselves coarse, and the authors concede as much, offering a false trichotomy because it beats a false dichotomy. Abstention is the blunt end of a range of ways to signal uncertainty that also includes hedging, omitting a detail and asking a question; a stated numeric confidence handles these badly, since a model announcing one chance in 365 that a birthday falls on 7 March is calibrated and useless.

Since 2025

The paper was read widely because its second half named something anyone in the field could check in an afternoon, and that half has held up. The boards it surveyed still report accuracy as their primary number, and an abstention still earns nothing on them, which is the socio-technical difficulty the authors identified rather than a refutation of it. The first half is more contested. It generalises the authors' own 2024 result that calibrated models must hallucinate, extending it to prompts and to abstentions, and what it delivers is a lower bound in a worst case: knowing that a base model must err on a fifth of the facts its corpus recorded once says little about the error rate of a deployed model that has been post-trained and given a search tool. The singleton-rate prediction is testable, and the empirical work testing it began almost immediately. The evidence offered that base models are calibrated, meanwhile, is a single reprinted figure from one system card.

The proposal has drawn the objection that a stated threshold is one more thing to optimise against, and that a model tuned to the announced penalty will abstain on questions it could have answered, trading a falsehood for an unhelpful silence. The authors half-concede it by treating the threshold as arbitrary by design, something to be stated rather than got right. What survives either way is the observation underneath, which is not about language models at all: a scoring rule that gives no credit for saying "I don't know" will select, from any population of candidates, the ones most willing to make something up.

Claims drawn from this chapter · 9

A model that guesses outscores an identical one that admits ignorance

Take a model that signals uncertainty accurately and never asserts a falsehood, and replace each "I don't know" with its best guess. The second model scores higher on every test that awards one point for a right answer and nothing for anything else, though nothing about it is better.

Becauseproved in a line for any belief a test-taker could hold about which answers are right — under a grader scoring only 0 and 1, with abstention at 0, no abstention is ever among the highest-scoring responses, so abstaining is not usually worse than guessing but always worse.
LimitsIt is a claim about the scoring, not about any particular model: it shows the incentive exists, not how much of any assistant's behaviour it explains. Nothing measures how much of the guessing seen in practice comes from this pressure rather than from the pretraining floor.
PracticeWhenever you score anything — a model, a candidate, a team — check what an admission of ignorance is worth. If it is worth what a wrong answer is worth, you are paying for invention and will get it.
After AIIt reframes hallucination as an artefact of an industry's own measuring instruments rather than a fault in the artefact measured. The people best placed to fix it are the ones who maintain the leaderboards, not the ones training the models.

A model that never says anything false cannot be calibrated

A program that answers from a database and otherwise says "I don't know" never invents anything — and it has also given up estimating what the training text says. Kalai and his co-authors prove that a model which does fit that text must produce some falsehoods.

Becausegenerating is reduced to a yes-or-no classification problem, and the generative error rate comes out at least twice the misclassification rate of the classifier the model itself induces, less the ratio of right answers to wrong ones and a calibration term.
LimitsIt is a worst-case lower bound on a base model. It says nothing about the rate a deployed model reaches after post-training and with a search tool, and the argument is a proof rather than a measurement.
PracticeStop waiting for the errors to be trained away. Where you need answers that are never invented, the system has to be allowed to answer from a store and refuse the rest.
After AIThe result cuts both ways against the usual talk. Hallucination is not a mysterious defect of neural networks, and it is not a quirk of predicting the next word either — nothing in the proof mentions words. It is the price of estimating a distribution at all.

A model that reads words in chunks cannot count their letters

Asked how many Ds are in DEEPSEEK, DeepSeek-V3 answered 2 or 3 across ten tries and other assistants returned 6 and 7; a reasoning model that spells the word out answers 1. The prompt arrives as the chunks D, EEP, SEE, K rather than as letters, so no amount of extra text fixes it and a different method does.

Becauseten independent trials on one model, with Meta AI and Claude 3.7 Sonnet among the assistants returning the larger numbers, against the standard result that if the best classifier a model family can express still gets a case wrong, generation in that family errs at least as much.
LimitsA handful of trials on a handful of assistants, on a task nobody needs done. The reasoning model's success shows the limit belongs to a method rather than to the technology, so the example dates quickly.
PracticeKeep a list of the questions your tool cannot see the input for, and route them elsewhere rather than rephrasing. When a failure is in the representation, a better prompt buys nothing and asking for the work to be shown step by step sometimes buys everything.
After AIIt is the cleanest case of a general point the paper makes elsewhere in theorems: some errors are in the corpus, and some are in what the model is built to see. Only the first kind responds to more data, and from outside the two look exactly alike.

A perfectly calibrated answer can still be useless

A model announcing one chance in 365 that a birthday falls on 7 March is perfectly calibrated and has told you nothing you can act on. What is wanted is the most useful answer the model will stand behind, and silence when it has none — which the authors call behavioural calibration.

Becauseit is the authors' own argument for grading behaviour rather than numbers, offered alongside the concession that right, wrong and abstain is a false trichotomy adopted because it beats a false dichotomy.
LimitsTetlock's forecasters lose accuracy when their probabilities are rounded to the nearest five, and Bansal found a confidence figure beat every explanation tested — so numbers do work where the question repeats and the score accumulates. This claim holds for the single answer nobody will grade.
PracticeStop asking a tool how sure it is and start asking what it will commit to. A number is easy to produce and hard to use; a claim the answerer would defend, or a refusal, tells you what to do next.
After AIAbstention is only the blunt end of what a careful answer can do; hedging, leaving a detail out and asking a question back all signal uncertainty better. An assistant that only ever answers or refuses has already lost most of the register a competent colleague uses.
opinionSince 2025

A scoring rule with no credit for I don't know selects guessers

A scoring rule that pays nothing for saying "I don't know" will select, from any population of candidates, the ones most willing to make something up. Nothing in the argument is about language models; it holds wherever answers are scored one point for right and none for anything else.

Becausethe proof underneath assumes only a grader and a candidate holding beliefs, so the generalisation to people is an inference the chapter draws rather than a result the paper measures.
LimitsIt is an argument by analogy from a theorem about graders to a claim about institutions, with nothing measured on the human side here. Human examinations that deduct marks — JEE, NEET, GATE, the American competitions, the older SAT — show the fix is old, not that the selection effect is large.
PracticeLook at what "I don't know" costs a person in your review, your standup, your interview loop. Where it costs the same as a wrong answer, the confident people will rise and you will not find out why the estimates were wrong.
After AIThe paper was written to explain a machine, and the mechanism it names was running in organisations long before. That the fix is one line in the instructions, and that the field has not written it, says more about who maintains the scoreboards than about what is hard.

Facts that appear once in the training data set the error floor

For facts with no pattern behind them, a model's error rate after pretraining is at least the fraction of such facts its training text recorded exactly once. If a fifth of birthdays appear once, expect at least a fifth of birthday answers to be wrong.

Becausethe bound subtracts from that fraction only a term shrinking as the number of wrong answers grows, a term shrinking with the square root of the training size, and the calibration gap; a matching upper bound is reached by an efficient algorithm, so the floor can be met rather than merely approached.
LimitsIt holds for facts fixed by nothing but the record — no rule, no pattern to learn. It is a statement about the base model, before post-training or retrieval, and the singleton rate of any real corpus is not something an outsider can compute.
PracticeBefore trusting a factual answer, ask how often the fact would have been written down. Einstein's birthday is everywhere; the one recorded once in an obituary is a throw of a 365-sided die, and the model's manner is the same either way.
After AIThe estimator is Alan Turing's, built during the war to guess how much of a distribution a sample had missed. It now explains the shape of the frontier people keep describing as jagged: the boundary follows how often something was written down, and nothing on the surface of an answer marks which side you are on.

GPT-4 was calibrated before reinforcement learning and not after

Calibration — confidence that tracks how often you are right — is not a virtue added to a base model but what minimising its training loss produces. The stage that follows removes it: GPT-4's confidence matched its accuracy on four-way multiple choice before reinforcement learning and did not afterwards.

Becausethe first half is proved, since the calibration gap equals the size of the loss's derivative under a rescaling and so must be small at a minimum; the second half rests on a single pair of histograms reprinted from one system card.
LimitsOne figure from one model's system card, on four-way multiple choice, is thin evidence for a claim about what post-training does in general. The proved half also assumes a model family able to represent the rescaling, and says nothing about how large the gap is in practice.
PracticeTreat the assistant's stated confidence as a manner learned from people who preferred confident answers, not as a measurement. Score your own probability that the output is right, and check that number against outcomes instead.
After AIThe honest version of the system arrives first and is then trained out, which inverts the usual story of raw output made safe by alignment. What the second stage adds is a manner; what it costs is the one signal a user could have checked.

Nine of ten leading tests give no credit for admitting ignorance

Of the ten evaluations featured on the leaderboards the field actually reads, nine award nothing for an "I don't know". On the tenth, WildBench, an unhelpful answer scores three or four while a helpful one carrying factual errors scores five or six, so an admission of ignorance can rank below a fabrication.

Becausethe ten are read off the HELM capabilities leaderboard, the Open LLM Leaderboard, SWE-bench and Humanity's Last Exam, and anyone can check them — GPQA, MMLU-Pro, IFEval, Omni-MATH, BBH, MATH level 5, MuSR, SWE-bench and HLE score an abstention at zero.
LimitsA survey of ten evaluations at one moment in 2025, and the boards change. Several of the ten are graded by language models, which sometimes mark a confident wrong answer correct, so the count of nine understates the problem rather than measuring it.
PracticeRead a benchmark number as an accuracy under a rule that pays for guessing, and never as a rate of being right. Where the score matters to you, write your own test and give a refusal a mark of its own.
After AIHumanity's Last Exam does report a calibration error alongside accuracy, and the authors show it would rate a model that answered every question wrong at zero confidence as perfectly calibrated. Even the instrument built to catch this measures something else.

Write the confidence threshold into the question, not the scoring

Append to each question the confidence above which an answer should be given, the penalty a mistake costs, one point for a right answer and none for "I don't know". Stated in the question, one model can be best at every threshold; hidden in the scoring key, no single model is best.

Becauseit is a proposal, argued from the way human examinations state their penalties and from the observation that a target nobody is told cannot be aimed at; no model has been trained and measured under it.
LimitsThe threshold is arbitrary by design, which the authors treat as a feature. A model tuned to the announced penalty can hit the target by abstaining on questions it could have answered, trading a falsehood for an unhelpful silence, and nobody has measured that trade.
PracticeSay in the request how sure the answer has to be before it is worth having, and what a wrong one costs. Put that line in the tests you already run rather than in a separate one, because the tests people read are the ones that shape behaviour.
After AIThe proposal is aimed at benchmark maintainers, but the sentence it asks them to write is one anyone delegating work can write. Most instructions given to an assistant name the task and never the standard of certainty, which leaves the assistant to guess it — and the guess is always the same one.

All claims · Source map