# Hallucination

- **Canonical URL:** https://getaimath.com/dictionary/hallucination/
- **Topics:** [AI & Machine Learning Fundamentals](https://getaimath.com/dictionary/category/ai-and-machine-learning-fundamentals/), [AI Safety, Security & Governance](https://getaimath.com/dictionary/category/ai-safety-security-and-governance/)
- **Last updated:** 2026-11-25

## What is Hallucination?

**In one sentence:** A hallucination is when an AI confidently makes up something that is false, like a fake fact, quote or source.

Language models are built to produce text that sounds right, not to check whether it is true. When they do not know something, they may fill the gap with a believable guess. The answer can sound totally sure of itself, which makes hallucinations easy to miss.

![Training vs. Inference: Studying Flashcards vs. Taking the Test — Simple cartoon diagram comparing AI Training (studying 1,000 flashcards and fixing mistakes until the brain learns the pattern) with AI Inference (answering a brand-new question in 1 second on test day).](https://getaimath.com/diagrams/ai-and-machine-learning-fundamentals.png)
*Napkin Diagram (AI & Machine Learning Fundamentals): Training is the long study session where the AI learns from examples; inference is test day when you actually use it.*

## What is an example of Hallucination?

Asking a chatbot for a book's author and getting a real-sounding but wrong name is a hallucination.

## Why does Hallucination matter?

Hallucinations are why you should double-check important AI answers, especially facts, numbers and citations.

## Related Concepts

- [Evaluation](https://getaimath.com/dictionary/evaluation/): Evaluation is the process of testing an AI model to see how well it works, how safe it is, and where it fails.
- [Emergent Abilities](https://getaimath.com/dictionary/emergent-abilities/): Emergent abilities are skills that show up in large AI models but were not clearly present in smaller ones.
- [Reliability](https://getaimath.com/dictionary/reliability/): Reliability is how consistently an AI system works correctly over time and across many uses.
- [Prompt Injection](https://getaimath.com/dictionary/prompt-injection/): Prompt injection is an attack where someone sneaks instructions into an AI's input to make it ignore the instructions it was given and do something else.
- [Benchmark](https://getaimath.com/dictionary/benchmark/): A benchmark is a standard test used to measure and compare how well different AI models perform.
- [Robustness](https://getaimath.com/dictionary/robustness/): Robustness is how well an AI keeps working correctly when inputs are unusual, noisy or deliberately tricky.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/hallucination/)
