# Hallucination

URL: https://www.onsomble.ai/tools/ai-glossary/hallucination

Published: 2026-03-15 00:00:00.000Z

When an AI model generates information that sounds plausible but is factually incorrect, fabricated, or unsupported by its training data or provided context.

Category: Evaluation & Safety

## Why models hallucinate

LLMs are fundamentally next-token predictors. They generate text that is _statistically likely_, not necessarily _true_. When the model lacks sufficient knowledge or context, it fills gaps with plausible-sounding fabrications rather than admitting uncertainty.

## Types of hallucination

-   **Factual fabrication** — inventing facts, citations, or statistics that don't exist.
-   **Context contradiction** — generating output that contradicts the provided context or documents.
-   **Instruction drift** — gradually departing from the user's instructions over long outputs.

## Mitigation strategies

-   **RAG** — ground responses in retrieved documents.
-   **Citations** — require the model to cite specific sources for claims.
-   **Confidence calibration** — train models to express uncertainty.
-   **Guardrails** — post-generation fact-checking and consistency validation.

## Why it matters

Hallucination is the primary barrier to deploying AI in high-stakes domains like healthcare, legal, and finance. Understanding and mitigating it is essential for production AI.

## Related terms

- [Retrieval-Augmented Generation](https://www.onsomble.ai/tools/ai-glossary/retrieval-augmented-generation)
- [Large Language Model](https://www.onsomble.ai/tools/ai-glossary/large-language-model)
- [Guardrails](https://www.onsomble.ai/tools/ai-glossary/guardrails)

## Related Radar topics

## Related articles

### [The Real Reason AI Invents Facts (And How to Make It Stop)](https://www.onsomble.ai/blog/why-ai-invents-facts)

AI models invent facts because they're guessing, not looking things up. There's a fix — and it's the difference between an AI with amnesia and one with a library card.

Rosh Jayawardena · Published 2025-12-25T12:00:00+00:00 · Updated 2026-08-02T12:12:41.52786+00:00 · 8 min

### [The AI Verification Triage: What to Always Check, What to Spot-Check, and What to Trust](https://www.onsomble.ai/blog/trust-ai-research-tools)

92% of users don't verify AI outputs. Here's a framework for knowing when that's fine and when it'll burn you

Rosh Jayawardena · Published 2026-02-13T12:00:00+00:00 · Updated 2026-08-02T12:12:41.52786+00:00 · 8 min
