Glossary
AI

Hallucination

Also: AI hallucination, confabulation, fabrication

A hallucination is when an AI model generates output that is fluent and confident but factually wrong, fabricated, or unsupported by its source data.

What It Is

A hallucination occurs when a generative AI model (such as a large language model or image generator) produces content that sounds plausible but is false, invented, or not grounded in any real source. The model is not lying in a human sense; it is predicting likely sequences of tokens, and sometimes the most statistically probable output does not match reality.

Hallucinations can take several forms:

  • Factual errors: stating an incorrect date, statistic, or attribution.
  • Fabricated sources: inventing citations, URLs, legal cases, or studies that do not exist.
  • Logical inconsistency: contradicting earlier statements within the same response.
  • Unsupported claims: answering confidently about topics outside the provided context.

Why it matters

Hallucinations are one of the biggest barriers to trustworthy AI deployment. In high stakes fields the consequences are serious:

  • Finance: an invented earnings figure or misquoted regulation can drive bad decisions.
  • Healthcare and legal: fabricated references can cause real harm or sanctions.
  • Marketing: false product claims expose a brand to compliance and reputational risk.

Because models present hallucinations with the same fluent, confident tone as correct answers, users cannot rely on style to detect them. This makes verification a human responsibility.

How it is handled in practice

Teams reduce hallucinations through several techniques:

  • Retrieval Augmented Generation (RAG): ground answers in trusted documents so the model cites real context.
  • Prompt design: instruct the model to say "I do not know" when uncertain.
  • Guardrails and validation: check outputs against databases, schemas, or rules.
  • Human review: keep a person in the loop for critical outputs.
  • Evaluation: measure hallucination rates with benchmarks before shipping.

Concrete Example

You ask a chatbot: "Which study proved this supplement cures insomnia?" The model replies with a confident answer citing "Journal of Sleep Medicine, 2019, Dr. Lena Park." The citation looks authoritative, but no such article, author, or finding exists. The model fabricated a credible looking reference. A reviewer who checks the source catches the hallucination before it reaches customers.

How a Hallucination HappensUser PromptAI Modelpredicts tokensGrounded AnswerHallucinationMitigation LayerRAG GroundingGuardrailsHuman ReviewEach layer lowers the chance a fabricated output reaches the user.
An AI model can return a grounded answer or a hallucination; mitigation layers reduce the risk.