Hallucination
In AI, a hallucination is output that sounds plausible but is false, unsupported by the model's sources or entirely made up, such as an invented citation, statistic or quote. It happens because language models generate likely-sounding text rather than looking facts up, unless they are connected to reliable sources.
A language model predicts the most probable continuation of a prompt based on patterns in its training data. When it lacks the relevant knowledge, or the prompt pushes it toward an answer, it can still produce fluent text in the same confident tone. Researchers distinguish between output that contradicts the source material and output that cannot be verified from it.
Why it matters: hallucinations are the main reason AI output needs review, especially in legal, medical, financial and academic work, where invented citations or figures can cause real harm. When comparing tools, look for features that reduce and expose the risk: grounding in your documents or search results (RAG), citations you can click, and clear signals when the model is uncertain.
Example: asked for case law supporting an argument, a model may return a realistic-looking case name and citation that does not exist.
Limits of the fixes: retrieval, better prompts and newer models reduce hallucinations but do not eliminate them. Treat AI output as a draft and check claims that matter against the original source.
Related terms
Learn it step by step
Sources
- Survey of Hallucination in Natural Language Generation. Ji et al., arXiv, February 2022
Topic: AI fundamentals
Last updated