Martin Andrt CZ
Home / Insights / Why AI states falsehoods with confidence, and what to do
Verification

Why AI states falsehoods with confidence, and what to do

Three answer cards with the same confident frame, only one connected to a verified source while the others lead nowhere

A language model states falsehoods with confidence because it generates the most probable continuation of a text, and both its training and its tests reward a guess more than an admission of doubt. Five practical steps follow: allow it to say “I don’t know”, supply a source and ask for quotes, ask more than once, check rare details most strictly, and open every link it cites.

What hallucination means

In natural language generation, a hallucination is generated content that is nonsensical or unfaithful to the source the model was supposed to rely on. The survey by Ji et al. separates two types. An intrinsic hallucination contradicts the source (a summary says the first Ebola vaccine was approved in 2021, while the source says 2019). An extrinsic hallucination is content that the source can neither confirm nor refute. When you ask a chatbot a question without supplying any source, there is nothing to compare the answer with, so you have to check it elsewhere.

Why it happens

Kalai, Nachum, Vempala and Zhang (September 2025) name two causes.

The first is statistical and arises already in pretraining. For facts with no learnable pattern, such as one person’s date of birth, the model has nothing to derive the answer from and relies on what it saw in the data. The authors derive that the hallucination rate on such facts is at least the share of facts that appear exactly once in the training data. If that is 20% of birthday facts, they expect a base model to be wrong on at least 20% of them. Their example: an open model was asked for one author’s birthday and told to answer only if it knew. In three attempts it gave three different dates, all wrong.

The second cause is grading. Most common benchmarks mark an answer as either right or wrong, and “I don’t know” earns zero points. Under that scoring a guess always pays off, so, as the authors put it, the model learns to behave like a student at an exam.

How to work with it

  1. Allow “I don’t know”. Say so explicitly in the prompt. Anthropic’s guide to reducing hallucinations lists this first. Kalai et al. propose, for evaluations, a sentence with a confidence threshold, for example “answer only if you are more than 90% confident, otherwise say you don’t know” (in the original wording with a penalty of 9 points per error and zero for “I don’t know”). A simplified version can be used in an everyday prompt.
  2. Supply the source and ask for quotes. For long documents, have the model first extract word-for-word quotes and answer only from them. A claim for which it finds no quote should be withdrawn.
  3. Ask more than once. If answers to the same question differ, treat that as a warning. Anthropic’s guide calls this best-of-N.
  4. Check rare details most strictly. Names, dates, numbers, literature references and niche topics are the kind of facts that appear rarely in training data.
  5. Open the link. A source the model cites may be invented. Check that it exists and says what is attributed to it.

Asking a model to judge its own answer is a useful addition. Kadavath et al. (2022) found that larger models are well calibrated on multiple-choice and true/false questions (their stated confidence roughly matches how often they are right) when the question is suitably formatted, and that on open-ended tasks they can estimate the probability that their own proposed answer is correct. It is a signal, not a guarantee.

Sources

FAQ

Does connecting the model to web search help?

It reduces hallucinations but does not guarantee correctness. Kalai et al. point out that grading which rewards guessing applies to models with search as well: when the search finds no confident answer, the model still leans towards a guess. Search also does not help with intrinsic hallucinations, where the model miscalculates a result itself.

Is it enough to train a model on error-free data?

No. The authors prove that even with training data free of any error, the objective optimised in pretraining would produce a model that generates errors. So it is not only about what the model is fed, but also about how its answers are graded.