Why AI Chatbots Make Things Up: Hallucinations Explained
Chatbots sometimes state false things with confidence. Learn why it happens, how scoring rewards guessing, real cases where it caused trouble and what reduces it.

In this article
An AI hallucination is a reply that contains false or misleading information presented as fact. Researchers say it happens because language models are trained to produce likely-sounding text and are often scored in ways that reward a guess over an honest "I don't know". This article explains the causes, real examples and what helps.
What the word means
Wikipedia defines a hallucination as a reply from an artificial intelligence system that includes false or misleading information presented as fact, and lists other names for it, including confabulation. It does not mean the system sees or imagines things. It means the output reads fluently but is wrong.
Cause 1: predicting the next word
A language model is trained to guess the next word in a text. Wikipedia notes that this rewards producing an answer even when the model lacks the information. Spelling and grammar follow strong patterns that improve as models grow. A fact that appears rarely, such as a person's birthday, has no pattern to learn, so the model can only produce something that sounds right.
A 2025 paper, "Why Language Models Hallucinate" by Adam Tauman Kalai, Ofir Nachum, Santosh Vempala and Edwin Zhang, frames hallucinations as errors in a yes-or-no judgement about whether a statement is valid. If wrong statements cannot be reliably told apart from facts, the authors argue, statistical pressure during pre-training will produce them. In their words, hallucinations "need not be mysterious".
Cause 2: scoring that rewards guessing
The same paper argues that models are tuned to be good test-takers. On most benchmarks a wrong answer and a blank answer both score zero, so guessing never costs anything. A model that says "I'm not sure" is scored lower than one that gambles and sometimes wins. Over time that favours confident guessing.
The authors do not call for more tests built just for hallucination. They propose changing how the widely used benchmarks are scored so that admitting uncertainty is not punished. That is a change for the research community, not something a single user can do.
Other causes listed by Wikipedia
- Flawed data: incomplete, wrong or unrepresentative training data
- Repeated myths: models can repeat common misconceptions and treat fiction as fact
- Agreeableness: tuning a chatbot to be friendlier can make it more likely to agree with a user, which can reduce accuracy
- Misfiring refusal: Wikipedia reports 2025 research by Anthropic finding that its Claude model normally declines unless it knows an answer, and that mistakes occurred when this refusal failed, for example when it recognised a name but knew little about the person
Real cases
These examples come from the Wikipedia article:
- Galactica, November 2022: Meta's science model cited a made-up paper, and Meta withdrew it within days
- Mata v. Avianca, 2023: a lawyer filed six fake case citations produced by ChatGPT; the judge dismissed the case and fined the lawyers $5,000 on 23 June 2023
- Moffatt v. Air Canada, February 2024: a tribunal held the airline to a fare policy that its support chatbot had invented
- Studies of references: one 2023 study found 69 of 178 references from GPT-3 had incorrect or non-existent DOIs; another found 47% of 115 references from GPT-3.5 were fabricated
- Deloitte, 2025: reports for two governments contained invented citations
What reduces it
Wikipedia says mitigation remains active research as of 2025. Ideas include:
- Retrieval-augmented generation: letting the model consult outside documents before it answers
- Better scoring: rewarding "I don't know" when it is the honest reply
- Guardrails: software layers that block or hard-code certain replies, such as Nvidia Guardrails, launched in 2023
- Debate between models: having several chatbots argue until they agree, an idea that has been proposed
- Confidence scoring: comparing several candidate answers, which Wikipedia says multiplies computing cost
Wikipedia adds that users tend to prefer fast, confident replies over cautious ones, which works against some of these fixes.
The short version
Chatbots hallucinate because they are built to continue text plausibly, rare facts have no pattern to learn, and common scoring gives guesses a free chance to be right. Models have improved, but as of November 2026 no source consulted for this article says the problem is solved.
Sources
- Hallucination (artificial intelligence), Wikipedia)
- Why Language Models Hallucinate, arXiv 2509.04664
Image credits: Cover photo: Question Mark Sign On Hobson's Old Building, Corner Of Henry & Main Ho_(472933624).jpg) by takomabibelot from Austin TX / Rochester, NY,, CC0. Pictures from Wikimedia Commons.
Share
Keep reading
Related articles

What Are AI Tokens? How Chatbots Split and Count Text
AI chatbots do not read letters or whole words. They read tokens, small pieces of text. Here is how text is split into tokens, and why the count matters for limits and cost.

What Is a Context Window? Why AI Chatbots Forget Things
A context window is the amount of text an AI model can look at in one go. Learn what counts toward it, how tokens relate to words, and why long chats can lose track of earlier details.

How AI Image Generators Turn Noise Into Pictures
Most AI image generators start with random noise and remove it step by step, guided by your text. See the parts: the text encoder, denoiser and decoder.