All glossary terms
conceptsbeginner

Hallucination

When an LLM generates confidently incorrect, fabricated, or nonsensical information.

In more detail

Hallucinations occur because LLMs predict next tokens based on patterns, not facts. They can generate plausible-sounding but false information. Mitigation strategies include retrieval augmented generation (RAG), fact-checking, and fine-tuning with quality data.

Examples

  • Citing non-existent research papers
  • Inventing facts about events
  • Generating false code that seems correct
  • Making up biographical details

Related terms

YOUR NEXT STEP

Checking your next step...