Askpert
Menu
Get started
Evaluation

Why language models hallucinate

Models guess because the grading pays them to. A survey of ten leading benchmarks found most award nothing at all for saying 'I don't know'.

A navy answer sheet whose rows are filled with confident coral marks except one row left hollow beside a small green dash; a scoring column on the right carries a coral point for every filled row and a visible gap where the hollow one would score.
On this page
Terms, definedthe jargon, decoded
Hallucination
A generated claim that is incorrect or unsupported by the available evidence.
Abstention
An explicit decision not to answer because the system does not meet its confidence threshold.
Binary grading
Scoring that accepts or rejects an answer with nothing in between, so a wrong answer and a refusal score the same.
Calibration
The relationship between a model's stated confidence and its observed correctness.
Singleton fact
A fact that appears exactly once in the pretraining data.

Most explanations of hallucination reach for the model's knowledge. A more uncomfortable explanation reaches for the grading sheet. If a benchmark gives the same score to a wrong answer and to a refusal, then a model with weak evidence has nothing to lose by answering, and something to gain.

That is an argument about incentives, not about capability, and it changes where an engineer should look.

Why do language models hallucinate?

Language models hallucinate when an evaluation task turns uncertainty into a forced-choice decision. A model that receives credit for a correct guess and no benefit from abstaining has a reason to answer with weak evidence. The explanation concerns the scoring environment around the model, not a hallucination rate measured for a particular shipping system.

Kalai, Nachum, Vempala, and Zhang write in Why Language Models Hallucinate that "the training and evaluation procedures reward guessing over acknowledging uncertainty". The paper also states that hallucinations "originate simply as errors in binary classification".

The practical reading is uncomfortable: a benchmark may be selecting for willingness to answer rather than for knowing when to stop.

How does binary grading cause hallucinations?

Binary grading reduces an open-ended factual question to an accepted or rejected outcome. The model still emits a fluent string, but the evaluator often sees only whether that string matches the key. Uncertainty has no productive output unless the task gives abstention an explicit score.

Training signals then reinforce the same choice. The paper says that "language models are optimized to be good test-takers, and guessing when uncertain improves test performance". A correct answer has positive value, while a wrong answer and "I don't know" can both receive no credit. The output may look like a knowledge failure, while the decision rule is a classification error under uncertainty.

Why do models guess instead of saying I don't know?

Models guess when the expected score of a guess exceeds the score of abstention. With no penalty for a wrong answer and no credit for "I don't know", even a weak chance of being correct can make answering the higher-scoring action. The model is rewarded for producing an answer, not for exposing its uncertainty.

Asking the model to state its confidence does not alter that reward structure. Evaluation suites should define the abstention outcome before anyone interprets a score.

What do the paper's probes show about model uncertainty?

The probes show unstable answers on tasks where a cautious system should withhold an answer. Birthday facts and letter counts expose a mismatch between the requested condition, answer only if known, and the rewarded output. The probes illustrate the mechanism; they do not estimate a shipping model's hallucination rate.

The birthday probe reports: "On three separate attempts, a state-of-the-art open-source language model output three incorrect dates: '03-07', '15-06', and '01-01', even though a response was requested only if known."

For letter counting, the paper asks, "How many Ds are in DEEPSEEK?" It reports: "DeepSeek-V3 returned '2' or '3' in ten independent trials; Meta AI and Claude 3.7 Sonnet performed similarly, including answers as large as '6' and '7'." Repeated variation is evidence of an unstable answer process, not a measured rate for those models.

Can sparse training data cause hallucinations?

Sparse factual coverage creates a separate path to hallucination. A base model cannot reliably recover a fact that appears only once in pretraining, and generation still has to choose an output when evaluation offers no abstention reward. Data scarcity and scoring pressure can reinforce the same false answer.

A conditional illustration in the paper states: "If 20% of birthday facts appear exactly once in the pretraining data, then one expects base models to hallucinate on at least 20% of birthday facts." The 20% is an implication of the stated condition, not a measurement of any model's hallucination rate. Quoting it as a rate is the most common way this paper gets misread.

Which benchmarks reward guessing?

Table 2 of the paper surveys GPQA, MMLU-Pro, IFEval, Omni-MATH, WildBench, BBH, MATH, MuSR, SWE-bench, and HLE. It reports that most are binary-graded and give no credit for "I don't know". A leaderboard can therefore rank answer production without measuring whether a model knows when to stop.

The scoring design matters more than the benchmark label:

Evaluation designCorrect answerWrong answer"I don't know"Incentive
Common binary gradingCreditNo creditNo creditGuess whenever there is any chance of credit
Abstention-aware scoring1 pointPenalty of t/(1-t) points0 pointsAnswer only when confidence exceeds t

Benchmark scores have other transfer limits too. The benchmark contamination discussion covers that separate problem. Scoring reform targets answer versus abstain, not every transfer failure.

How should benchmarks score abstention?

Abstention becomes rational when a benchmark assigns positive credit to a correct answer, a negative penalty to a wrong answer, and zero to "I don't know". The paper proposes a threshold rule: answer only when confidence exceeds t, with mistakes penalized at t/(1-t). The rule changes the optimal decision from always answer to answer selectively.

The proposed instruction reads: "Answer only if you are >t confident, since mistakes are penalized t/(1-t) points, while correct answers receive 1 point, and an answer of 'I don't know' receives 0 points." Under that rule, expected-value arithmetic makes answering favorable only when the probability of correctness exceeds t.

A benchmark owner should publish the abstention policy with the score. Reports should preserve the legacy score, add the abstention-aware score, and show coverage beside correctness.

Does abstention-aware scoring solve hallucinations?

Abstention-aware scoring fixes a persistent incentive, not every source of error. A model can misunderstand a question, accept a false premise, or state high confidence without adequate evidence. Selective answering belongs beside factuality, calibration, and task-specific correctness rather than serving as a complete solution.

The proposed fix is socio-technical: modify the scoring of existing benchmarks that dominate leaderboards rather than add more hallucination evaluations. Detection remains a separate engineering problem; semantic entropy for hallucination detection addresses that narrower question through sampling and answer comparison.

The transferable habit is to treat benchmark design as part of model behavior. Penalized wrong answers and a defensible abstention action move the measured objective closer to knowing when to stop.

Why do LLMs hallucinate?

Language models hallucinate when training and evaluation reward guessing more than acknowledging uncertainty. A forced-answer task gives a correct guess positive value while giving "I don't know" no value. The model therefore has an incentive to answer under weak evidence, even when the requested behavior says to respond only when the answer is known.

What is the main cause of hallucinations in benchmarked models?

The incentive structure is the main cause addressed by the paper. Binary grading treats a wrong answer and an abstention as equally unsuccessful, so it does not reward uncertainty disclosure. The paper also analyzes sparse factual coverage, but its benchmark remedy changes the scoring rule rather than claiming that one data intervention solves every error.

How can benchmarks reduce hallucinations?

Benchmarks can reduce answer pressure by scoring abstention explicitly. Correct answers receive one point, wrong answers receive a penalty based on the confidence threshold, and "I don't know" receives zero points. That design makes answering selectively rational. It changes measured incentives; it does not prove that every remaining answer is factual.

Is the 20% hallucination figure a measured model rate?

No. The 20% value is a conditional illustration. The paper says that if 20% of birthday facts appear exactly once in pretraining data, base models are expected to hallucinate on at least 20% of those facts. The statement is not a reported hallucination rate for a shipping model.