Guide
What is AI hallucination?
What the term means, the kinds of hallucination worth telling apart, why language models produce them, and the checks that catch one before anyone relies on it.
The short answer
AI hallucination is when an AI model, usually a large language model, produces output that is fluent and confident but false or unsupported: a fact that is wrong, a citation that doesn’t exist, or an answer the source it was given doesn’t back. The model isn’t lying or malfunctioning. It generates plausible text, and plausible text is sometimes untrue.
The word is borrowed loosely from psychology: like a perception with no object, a hallucinated answer has no source behind it. The output looks exactly like a correct one, with the same tone, format and level of detail, which is what makes it dangerous. A model that says “I’m not sure” is easy to handle; a model that invents a court case with a docket number is not.
Some researchers prefer the word confabulation, and NIST’s Generative AI Profile (NIST AI 600-1) lists the risk under that name. Whatever it is called, the practical definition is the same: a claim in the output that no source supports. That definition matters because it tells you how to catch one: go to the source.
For documented cases, from fake case law in court filings to an airline chatbot that invented a refund rule, see AI hallucination examples.
The kinds of hallucination
Researchers sort hallucinations in two broad ways: by whether the output is false about the world (factuality), and by whether it departs from the input it was given (faithfulness). In practice, six kinds are worth telling apart, because each is caught by a different check.
01
Fabricated sources
A citation, reference, quotation, URL or title that is formatted correctly and points to nothing. This is the type that does the most damage, because a well-formed citation reads as evidence.
Looks like: A court brief citing a case with a docket number, a reporter page and a quotation, none of which exist.
Real cases: Fake case law in a federal court brief (Mata v. Avianca) · Invented references in a government report (Deloitte Australia) · A summer reading list of books that don’t exist (Chicago Sun-Times)
02
Wrong facts
A specific claim about the world that is false: a date, a number, a name, a “first”. Researchers call this a factuality hallucination.
Looks like: A chatbot saying a telescope took a picture that was taken years before it launched.
Real cases: A wrong “first” in a launch ad (Google Bard)
03
Contradicting the source
The model was given the right text (a policy, a contract, a retrieved passage) and its answer says something that text contradicts. Ji et al.’s survey calls this an intrinsic hallucination.
Looks like: A support bot, with the refund policy available to it, telling a customer the policy allows what it forbids.
Real cases: An airline chatbot’s refund rule (Moffatt v. Air Canada) · A city chatbot that told businesses to break the law (NYC MyCity)
04
Adding what the source doesn’t say
Content in the output with no counterpart in the input: a rule the policy never states, a sentence no one spoke, a figure no table contains. It may happen to be true, but nothing in the source backs it. Ji et al. call this an extrinsic hallucination.
Looks like: A transcript containing words that are not in the recording.
Real cases: Words no one said in medical transcripts (OpenAI Whisper) · A support bot invents a subscription policy (Cursor)
05
Ignoring the instructions or the context
The answer drifts from what was asked or from what was said earlier: a summary of the wrong section, a figure from the wrong year, a constraint dropped halfway through a long task. Huang et al. group this with the two above as faithfulness hallucinations.
Looks like: A report asked to cover the last quarter that quietly uses the prior year’s numbers.
06
Broken reasoning
Each step reads plausibly, but the steps don’t follow from each other, or the conclusion doesn’t follow from the steps: arithmetic that doesn’t add up, a comparison that reverses partway through.
Looks like: A total that isn’t the sum of the rows listed above it.
Why AI hallucinates
1. It predicts text; it doesn’t look things up
A language model writes the most plausible next words given what came before. Plausible and true usually coincide, which is why models are useful, but nothing in that process checks the output against a record. A citation is generated the same way as the sentence around it, so it comes out in the right format whether or not the case exists.
Source: Ji et al., Survey of Hallucination in Natural Language Generation
2. Some facts can’t be learned from the training data
Patterns that recur (spelling, grammar, common facts) are learned reliably. Facts that appear rarely or only once, such as a particular person’s birthday or a small company’s founding date, give the model nothing to generalise from, so when asked it produces something that fits the pattern of an answer.
Source: Kalai et al., Why Language Models Hallucinate · OpenAI’s summary of the paper
3. Training and benchmarks reward guessing
Most evaluations score an answer right or wrong and give nothing for “I don’t know”. A model that guesses when unsure scores better than one that abstains, so training pushes models toward confident guesses. The same paper argues the fix is partly in how benchmarks are scored, not only in the models.
4. Retrieval hands it the wrong text, or none
In a retrieval-augmented system the model answers from passages a search step found. When that step returns the wrong passage, an outdated one, or nothing relevant, the model still writes an answer, and it reads just as confidently as a grounded one.
Source: Huang et al., A Survey on Hallucination in Large Language Models
More: Retrieval Failures That Cause Hallucinated Enterprise Reports
5. The question assumes something false
Ask for the ruling in a case that doesn’t exist, or the third book in a two-book series, and a model will often supply one rather than reject the premise. The request itself sets up the fabrication.
None of these is a bug that a newer model simply removes. Newer models can hallucinate less on a given task, but the causes above are built into how they are trained and used, so any workflow that relies on model output needs a step that checks it.
How to tell an answer is hallucinated
You can’t tell from the answer itself: a hallucinated answer reads like a correct one. Every reliable check compares the output with something outside it.
Resolve every source
Look up each citation, reference, URL and quotation in the record it claims to come from: the docket, the journal, the publisher, the page. Never ask the model that produced a citation whether it is real.
More: Automated Citation Verification for AI-Produced Research Reports
Compare the answer with its source
When the model worked from a document, split its answer into claims and find the passage that supports each one. A claim with no supporting passage is unsupported, however reasonable it sounds.
Ask more than once
Sample several answers to the same question. What a model knows tends to come back the same each time; what it is making up tends to vary. SelfCheckGPT and semantic entropy are two published methods built on this idea.
Source: Manakul et al., SelfCheckGPT · Farquhar et al., Nature (2024)
More: Self-Consistency Checking as a Hallucination Mitigation Technique
Use a second model as a judge, carefully
Another model can check an answer against its source at scale, but it can be wrong in the same ways. Measure the judge against human labels on your own outputs before relying on it.
More: LLM-as-Judge Reliability for Factual Output Evaluation
Put a person where the stakes are
For filings, clinical notes, financial figures and anything sent to customers, route the output through someone who checks it against the source before it is used, and make that step part of the workflow rather than an afterthought.
More: Review Queue Design for AI-Generated Clinical Documentation
How to reduce it
Hallucination can be made rarer, not impossible. These steps lower the rate; the checks above catch what gets through.
Ground it in your documents
Give the model the text it should answer from (retrieval-augmented generation) and tell it to answer only from that text. This reduces invented content but doesn’t remove it: the retrieval step has to find the right passage, and the answer still needs checking against it.
Make “I don’t know” an acceptable answer
Say in the instructions that declining is better than guessing, and design the product so an abstention or a hand-off to a person is a normal outcome, not a failure.
Ask for the passage, not just the answer
Require the model to quote or point to the passage behind each claim. A claim it can’t point to is the one to check first, and a quote can be matched against the source mechanically.
Narrow the task
Extracting a figure from a given table is far less prone to invention than answering an open question from memory. Where you can, turn open questions into lookups over text you control.
Test on your own work
Keep a fixed set of real questions with known answers from your own documents, and run it whenever you change the model, the prompt or the retrieval step.
How often it happens
There is no single hallucination rate. It depends on the model, the task (summarising a document you supplied is very different from answering from memory), the domain and how the answers are judged, so a figure from one benchmark doesn’t carry over to your use. Published leaderboards change as models are released. To check current figures:
- Vectara’s hallucination leaderboard compares models on summarising short documents, one narrow task.
- Hallucination rates across LLMs on enterprise document tasks reads what published rates do and don’t tell you.
- The only rate that answers your question is the one measured on your own documents and questions: how to build a repeatable test set.
Sources
- Ji et al. (2023), Survey of Hallucination in Natural Language Generation, ACM Computing Surveys
- Huang et al. (2023), A Survey on Hallucination in Large Language Models
- Kalai et al. (2025), Why Language Models Hallucinate
- NIST AI 600-1 (2024), Generative Artificial Intelligence Profile
- Manakul et al. (2023), SelfCheckGPT
- Farquhar et al. (2024), Detecting hallucinations in large language models using semantic entropy, Nature
- Lewis et al. (2020), Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Going deeper
- AI hallucination examples
Documented cases: what the AI produced, what was true, and the check that would have caught it.
- Hallucination Taxonomy in AI-Generated Legal Filings
Four types of AI legal hallucinations require different verification methods to catch.
- Hallucination Rates Across LLMs on Enterprise Document Tasks
Real-world enterprise documents demand infrastructure beyond what benchmarks measure.
- Retrieval Failures That Cause Hallucinated Enterprise Reports
Enterprise AI hallucinations stem from retrieval architecture gaps, not model failures.
- Self-Consistency Checking as a Hallucination Mitigation Technique
Multiple outputs alone won't catch errors that models repeat consistently.
- Automated Citation Verification for AI-Produced Research Reports
AI models are hallucinating citations faster than humans can catch them.
- Building a Repeatable Test Set for Production Agent Evaluation
Five dimensions turn agent testing into a release gate that catches failures before production.