---
title: Hallucination — AI Glossary
description: A hallucination is output from a language model that is fluent and confident but factually wrong, fabricated, or unsupported by the provided sources. Because models generate the statistically likely next token rather than verified facts, they can invent citations, names, or details that never existed.
canonical: https://prompeteer.ai/glossary/hallucination
---

# Hallucination

A hallucination is output from a language model that is fluent and confident but factually wrong, fabricated, or unsupported by the provided sources. Because models generate the statistically likely next token rather than verified facts, they can invent citations, names, or details that never existed.

## Definition

Hallucination arises because a language model optimizes for plausible continuations of text, not for truth. When the model lacks reliable knowledge or the prompt invites confident completion, it may produce content that reads correctly but is not grounded in reality — including invented references, quotes, or statistics.

Common mitigations include grounding the model in retrieved sources (RAG), asking it to cite evidence, lowering reliance on parametric memory for factual claims, and using evaluation and self-critique to flag unsupported statements. No single method eliminates hallucination entirely, so verification of high-stakes output remains essential.

## Sources

- [Ji et al. (2023), Survey of Hallucination in Natural Language Generation](https://arxiv.org/abs/2202.03629)
- [Anthropic — Reduce hallucinations](https://docs.anthropic.com/en/docs/test-and-evaluate/strengthen-guardrails/reduce-hallucinations)

## Related terms

- [grounding](https://prompeteer.ai/glossary/grounding)
- [retrieval-augmented-generation](https://prompeteer.ai/glossary/retrieval-augmented-generation)
- [guardrails](https://prompeteer.ai/glossary/guardrails)
- [evaluation](https://prompeteer.ai/glossary/evaluation)
