Why AI makes things up: hallucinations explained
Language models state false things with confidence. Why prediction produces them, why scoring rewards guessing, which facts are riskiest, and how to check.
3 min readPart 14 of 21
On this page
In a 2025 article, OpenAI described asking a widely used chatbot for the title of the PhD dissertation of one of its own researchers, Adam Kalai. It gave three different answers with confidence. All were wrong. So were the three birthdays it gave him. A plausible but false statement like these is called a hallucination.
What an LLM is covers the basic reason: a model always has to produce a next word. This article is about why that hasn't been trained away, and which answers to distrust.
Some facts can't be predicted
Pre-training teaches patterns. Spelling follows patterns, and so do matching brackets, so with enough data models stop getting them wrong. A birthday doesn't follow anything. If it appears once in the training text, there's no pattern to learn it from.
The paper behind OpenAI's article makes the argument formal. Generating only true statements is at least as hard as telling true statements from false ones. Where the two can't be told apart from the data, errors follow from the statistics, however good the model is.
The exam rewards guessing
Training after that should teach models to say "I don't know". The authors argue it hasn't fully worked because of how models are graded. Most benchmarks count right answers only:
Over thousands of questions, a model that always guesses looks better on the scoreboard than one that admits what it doesn't know. OpenAI compared two of its own models on SimpleQA, a set of short factual questions designed to be hard:
RightDidn’t answerWrong
By the usual measure, o4-mini is ahead, with 24% right against 22%. But it was wrong on 75% of the questions and the other on 26%, because the other declined to answer half of them. The paper's recommendation is to change how the main benchmarks are scored, rather than adding one more test for hallucination.
When "I don't know" fails to switch on
Anthropic's 2025 study of Claude's internals found something unexpected: declining is the default. A circuit that says there isn't enough information is on unless something turns it off. Recognizing a familiar name turns it off:
Michael JordanKnown
“Known name” switches on
The default “can’t answer” is held back
It answers: basketball
Michael BatkinMade up
“Known name” stays off
The default holds
It declines
A name it has seen but knows little aboutThe risk
“Known name” may switch on
The default is held back
It has to say something
The third case happens without anyone intervening. The model recognizes a name, so it doesn't decline, but knows nothing else, so it continues with what's plausible.
Which answers to distrust
Confidence in the wording tells you nothing, since fluency is the one thing models are always good at. The kind of fact tells you more:
- Higher risk: citations, quotations, links, case numbers, dates, exact figures, details about people who aren't famous, small places and small companies, and what's in the latest version of some software.
- Lower risk: widely documented facts, explanations of well-known ideas, and anything based on text you've supplied.
- A special case: questions that contain a false premise. Asked why something happened that didn't, a model may explain it.
What reduces them
- Search. With web search, the answer can be based on pages. The sources still have to be opened, because a model can misread a page or cite one that doesn't say what it claims.
- Giving it the document. "Answer only from the text below, and say if it isn't there."
- Permission not to answer. "If you aren't sure, say so" is cheap and helps some.
- Asking again in a new chat. Different answers each time are a strong sign of guessing. The same answer isn't proof, though: a model can be consistently wrong.
- Asking for the source, then checking it exists. Asking alone isn't enough, since sources can be invented too.
OpenAI says GPT-5 hallucinates significantly less, especially when reasoning, and that hallucinations "remain a fundamental challenge for all large language models". For anything you'd act on, the check is still yours to do.