seniorNLP

What is hallucination in large language models?

Updated May 17, 2026

Short answer

Hallucination occurs when models generate plausible but incorrect information.

Deep explanation

LLMs generate text based on probability distributions, not factual verification. When lacking grounding or retrieval, they may produce incorrect yet fluent outputs. Techniques like RAG and constrained decoding help reduce hallucination.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More NLP interview questions

View all →