Why does AI state falsehoods so confidently?
An AI chatbot does not look up its answers. It strings together whatever text plausibly comes next.
At a glance
An AI chatbot does not look up an answer. It looks at the text so far, assigns a probability to every possible next piece of text (a token), adds a plausible one, and repeats. Nothing in that loop checks facts, so it can produce something that sounds right but is not, such as a citation to a paper that does not exist, and it uses the same confident tone either way. Ask for sources and quotes, tell it that “I don’t know” is an acceptable answer, and open the links yourself.
The answer is built one token at a time
Many language models learn by practicing one task on a huge amount of text: given the words so far, predict the next one. A 2025 paper on hallucinations (Kalai et al.) describes many language models as trained “to predict each word based on the previous words.” In practice the unit is a token, often smaller than a word (see Why is AI priced in tokens?). When writing an answer, the model assigns a probability to every candidate for the next token and adds one. That token becomes part of the text so far, the model picks the next one, and so on.
The picture shows four candidates, but a real model scores every token in its vocabulary. In a citation, the start of a year is so often followed by more digits that digits are always a likely choice; the model fills them in because they fit, not because it looked anything up.
The picture also always takes the top candidate. In practice, it is common to sample among the likely candidates instead. A 2019 paper (Holtzman et al.) showed that always choosing the most likely continuation produces text that is “bland and strangely repetitive,” and proposed sampling from the small set of candidates that hold most of the probability (nucleus sampling). Sampling is also why the same question can get a different answer each time.
Where the “autocomplete” comparison falls short
It is tempting to call this autocomplete, but the comparison misses two things:
- The model does not look only at the last word. It considers all the text so far, including your question, up to the amount it can take in at once. That is how its answers stay relevant to the question.
- “It keeps talking even when it does not know” describes what can happen, not what always happens. Generating the next piece of text has no built-in fact-checking step, so it can happen. But models can and do say “I don’t know,” and the research below suggests grading models in a way that rewards guessing less.
Why make something up instead of saying “I don’t know”?
Kalai et al. compare the model to a student taking an exam. If a correct answer earns 1 point, and a wrong answer, a blank, or “I don’t know” earns 0, then guessing when unsure gets a higher average score than leaving the question blank. The authors argue that most of the tests (benchmarks) used to evaluate AI are graded this way, which teaches models to guess. They add that these guesses are often overconfident and specific: “September 30” rather than “Sometime in autumn.” A precise-looking citation follows the same pattern.
Rather than adding more hallucination tests, the authors propose changing how the existing, widely used benchmarks are scored so that guessing is no longer rewarded over admitting uncertainty.
Ask for sources, then check them
AI companies themselves suggest ways of phrasing requests that reduce hallucinations. Anthropic’s documentation for Claude notes that even the most advanced language models can sometimes generate text that is factually incorrect, and it recommends, among other techniques:
- Allow “I don’t know.” Tell the model explicitly that it may say it is not sure. For example, you might write (our wording): “If you don’t have enough information, say so.”
- Ask for a quote and a source for each claim. Have the model back each claim with a supporting quote and its source, and drop any claim it cannot support. For example, you might write (our wording): “For each sentence, include the original passage and source it is based on, and delete anything you can’t support.”
Even then, a source the model gives you may be wrong or may not exist. Open the links and compare the quotes with the original.
Remember
- Ask for sources and original quotes along with the answer.
- Add “if you don’t know, say so.”
- Open the links and check the quotes yourself.
Next question
If the model picks the next token by probability, how far back can it look when it does? The next concept in this layer, probability and context, covers the limit on how much text a model can consider at once. And when a model can act, not just write, what keeps a plausible mistake from turning into a real one? See How is an agent different from a chatbot?
Sources
- Kalai et al., Why Language Models Hallucinate, arXiv 2509.04664 (2025): “many language models are trained using self-supervised learning to predict each word based on the previous words” · “guessing when unsure maximizes the expected score under a binary 0-1 scheme that awards 1 point for a correct answer and none for blanks or IDKs” · “Bluffs are often overconfident and specific, such as “September 30” rather than “Sometime in autumn"" · “modifying the scoring of existing benchmarks that are misaligned but dominate leaderboards, rather than introducing additional hallucination evaluations”
- Holtzman et al., The Curious Case of Neural Text Degeneration, arXiv 1904.09751 (ICLR 2020): “using likelihood as a decoding objective leads to text that is bland and strangely repetitive” · “By sampling text from the dynamic nucleus of the probability distribution …”
- Anthropic Claude documentation, Reduce hallucinations: “Even the most advanced language models, such as Claude, can sometimes generate text that is factually incorrect” · “Explicitly give Claude permission to admit uncertainty.” · “having it cite quotes and sources for each of its claims” · “If it can’t find a quote, it must retract the claim.”