Hallucination
Simple Definition
Hallucination is when an AI model states something that is factually incorrect with complete confidence. It makes something up — a statistic, a name, a citation, a date — and presents it as fact.
The term comes from the idea of perceiving something that isn’t there.
Why It Happens
LLMs don’t access a fact database. They generate text by predicting what words should follow other words based on patterns in their training data. When they encounter a question they don’t have good training signal for, they may “fill in the gap” with plausible-sounding content rather than admitting uncertainty.
Common Types of Hallucinations
- Fake citations — making up paper titles, authors, or publication dates
- Wrong statistics — inventing numbers with false precision
- Nonexistent people or events — confidently describing things that never existed
- Incorrect facts — getting names, dates, or details wrong
- False legal or medical information — stating incorrect regulations or diagnoses
How to Protect Yourself
- Verify before trusting — always check specific facts, statistics, names, and citations
- Use sourced tools — Perplexity shows citations; you can check the sources
- Ask the AI to be uncertain — prompts like “only state things you’re confident about” can help
- Use RAG systems — grounding the AI in real documents reduces hallucinations
- Be more skeptical of specifics — general explanations tend to be more reliable than specific claims
Related Terms
- LLM — the type of model most prone to hallucination
- RAG — a technique for reducing hallucinations by grounding in real documents
- Grounding — connecting AI responses to factual sources
- AI Safety — the broader field concerned with making AI reliable and trustworthy
See AI terms in action
Browse practical AI workflows that use the concepts in this glossary.
Frequently Asked Questions
Why do AI models hallucinate?
LLMs generate text by predicting the most statistically likely next token — they don't verify facts against a database. When asked about something outside their training or knowledge, they may generate plausible-sounding but false information rather than saying 'I don't know.'
How do I avoid AI hallucinations?
Always verify facts from AI outputs before using them, especially for names, dates, statistics, citations, and technical details. Use tools like Perplexity that provide sources, or check claims against authoritative sources.
Last updated: