./glossary / hallucination

Hallucination

A hallucination is a confident, fluent statement a model produces that is not true: an invented citation, a wrong number, a feature that does not exist. It is not lying, because there is no intention behind it. The model is predicting plausible text, and plausible is not the same as checked.

The cause is structural. A model generates the next token by likelihood, not by looking anything up, so it can produce a source that reads exactly like a real one. The fluency is the same either way, which is what makes it hard to spot: a wrong answer does not look uncertain.

The useful mitigations are all outside the model. Give it the document and require it to answer from that document. Give it a tool that reads the real record instead of recalling it. Then check the output against something that is not the model — a file, a calculation, a test, a person.

In agent software this is why verification steps and a record of actions matter more than a confident summary. An agent that says it updated the sheet can be checked against the sheet. An agent that can only describe what it did cannot be checked at all.

Where this comes up

Related terms

Cite this definition

MershLab, “Hallucination”, https://www.mershlab.com/glossary/hallucination.

Last updated: 2026-11-29.