Hallucination
When an AI model states something false with total confidence.
A hallucination is an answer from an AI model that sounds right and is wrong: a court case that never existed, a quote nobody said, a library function that does not exist, a wrong date delivered in a perfect sentence. The model is not lying; it has no idea it is wrong. It produced the most plausible-sounding text, and plausible is not the same as true.
It happens because of how an LLM works. It writes by predicting likely next tokens, based on patterns in its training data. When the fact was well represented in that data, the likely continuation is usually correct. When it was not (an obscure topic, a private detail, something after its training cutoff), the likely continuation is still fluent, just invented. There is no built-in step that checks against reality.
Hallucinations are the main reason you cannot use a chatbot as an encyclopedia. Lawyers have been sanctioned for filing briefs with made-up citations. The fixes are partial: giving the model the real documents (RAG), letting it search and cite its sources, asking it to say 'I don't know', and newer models trained to decline more often when unsure. None of them bring the rate to zero.
The practical rule: use models for drafting, summarizing, explaining and brainstorming, and verify any specific fact, number, name or citation before you rely on it.
Keep in mind
- A hallucination is fluent, confident and false; the model cannot tell the difference.
- Most common with obscure facts, exact citations, numbers and recent events.
- Grounding the model in real documents (RAG) and letting it cite sources lowers the rate, but does not eliminate it.
- Verify names, numbers and sources before you act on them.