AI hallucination
An AI hallucination is output from a generative model that reads as confident and plausible but is false or unsupported, such as an invented citation, a regulation article that does not exist or a wrong figure. The model produces text from statistical patterns in language, and does not check facts.
What it is
An AI hallucination is a response from a generative model that is false or unsupported but written in a fluent, confident way, so that it appears plausible to the reader. Risk frameworks also call it confabulation or fabrication. The cause lies in how the model works. A language model predicts likely continuations of text from patterns in its training data. A fluent answer says nothing about whether the answer is true.
Hallucinations take several forms:
- Invented facts, such as a regulation article, a case or a source that does not exist.
- Wrong figures or dates stated with confidence.
- A summary that adds a statement the source document does not contain, or reverses one it does.
- A chain of reasoning in which one step is unsupported.
Controls reduce the rate and the harm. They do not remove the risk:
- Grounding: the model answers from approved documents that are retrieved for the question, and cites the passage used.
- Human review of outputs before they enter a record, a client message or a decision.
- Testing against questions whose answers are known.
- Narrow tasks and instructions that allow the model to say it does not know.
One measure is used in testing: hallucination rate = U / N, where U is the number of outputs found unsupported on checking and N is the number of outputs checked.
Why it matters
A wrong output looks the same as a right one. In finance, an invented article number in a compliance note, a wrong figure in a client document or a misread limit in a policy summary can enter a record or a decision with nothing to flag it.
The risk is one of verification. It grows when outputs are used without a check, and when the person using them cannot easily tell which parts came from the source and which from the model.
Worked example
Illustrative numbers. A team tests an assistant that answers questions from an internal policy library. The team prepares 50 questions with known answers and checks every response.
- 43 answers are correct and supported.
- 4 answers state a wrong figure.
- 3 answers cite a policy section that does not exist.
Unsupported outputs: 4 + 3 = 7. Hallucination rate: 7 / 50 = 14%.
The team then requires each answer to quote the passage it relies on and adds a reviewer step for the quotations. In a second run of the same 50 questions, 2 answers are unsupported. The rate falls to 2 / 50 = 4%, and the reviewer can see in seconds which answers carry no quotation.
How to read it
A measured rate describes one model, one set of documents and one kind of question. It changes with the prompt, the documents and the model version. A low rate does not remove the need for review where an error is costly. A rate of zero on a small test set is not evidence that none will occur.
Assumptions
- The reference answers used in testing are correct.
- The test questions resemble real use. A test on easy questions understates the rate on hard ones.
- The reviewer checks against the source and not against the model’s own explanation.
Who uses it
- AI business analysts set the acceptance tests and review steps for each use case before it goes live.
- AI transformation analysts in banking decide which tasks need grounding and human sign-off.
- Data scientists build the evaluation sets, measure the rate and tune retrieval and prompts.
- Compliance officers check that outputs used in client or regulatory communication were verified.
Common confusions
- A hallucination is not a bug that a single fix removes. It follows from how generative models produce text, and controls only lower its frequency.
- Fluent writing is not evidence of accuracy. A confident tone carries no information about truth.
- Grounding does not make an answer correct. A model can still misread or misquote a passage it retrieved.
- A model’s statement that it has checked its answer is not verification. Verification compares the output with the source.