What are the root causes of hallucination, and what actually mitigates it?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Root causes, from the objective outward:
- The training objective optimises plausibility, not truth. Next-token prediction rewards continuing text the way the corpus would - a fluent, confident, wrong citation and a correct one can be nearly indistinguishable in loss. The model learns the form of factual assertion, and form generalises beyond the facts that back it: ask for a paper on topic X by author Y and it will assemble a plausible title because that's exactly what its objective taught it to do.
- No calibrated abstention channel. Pretraining contains almost no examples of "I don't know" issued because the writer lacked knowledge in a way correlated with the model's own knowledge gaps. And the incentive analysis (formalised in OpenAI's 2025 work on why models hallucinate) is blunt: under binary-graded training and evals, guessing has positive expected value and abstaining scores zero - models are systematically trained to be confident test-takers. Post-training can make it worse: human raters historically preferred confident, complete-looking answers.
- Knowledge is parametric, lossy, and frozen - compressed statistics over a corpus with a cutoff, no provenance, no lookup; interpolation between memorised fragments produces confabulated composites. Sampling adds stochastic error, and autoregression compounds it: one fabricated entity early forces the model to stay consistent with its own fiction.
Full worked answer
Root causes, from the objective outward:
- The training objective optimises plausibility, not truth. Next-token prediction rewards continuing text the way the corpus would - a fluent, confident, wrong citation and a correct one can be nearly indistinguishable in loss. The model learns the form of factual assertion, and form generalises beyond the facts that back it: ask for a paper on topic X by author Y and it will assemble a plausible title because that's exactly what its objective taught it to do.
- No calibrated abstention channel. Pretraining contains almost no examples of "I don't know" issued because the writer lacked knowledge in a way correlated with the model's own knowledge gaps. And the incentive analysis (formalised in OpenAI's 2025 work on why models hallucinate) is blunt: under binary-graded training and evals, guessing has positive expected value and abstaining scores zero - models are systematically trained to be confident test-takers. Post-training can make it worse: human raters historically preferred confident, complete-looking answers.
- Knowledge is parametric, lossy, and frozen - compressed statistics over a corpus with a cutoff, no provenance, no lookup; interpolation between memorised fragments produces confabulated composites. Sampling adds stochastic error, and autoregression compounds it: one fabricated entity early forces the model to stay consistent with its own fiction.
Mitigations, roughly in order of practical leverage:
- Grounding (RAG + citation): retrieve source text into context and require quoted/cited answers - converts recall into constrained reading comprehension, plus makes verification possible. The single biggest lever for knowledge tasks.
- Tool use: calculators, code execution, search - route the failure-prone operation out of the weights entirely.
- Abstention-aware post-training and evals: train and grade with credit for calibrated "I don't know" and penalties for confident errors, not just accuracy - attacking cause #2 directly; frontier labs now report hallucination/abstention metrics.
- Verification layers: self-consistency (sample k, check agreement), a checker pass validating claims against sources, logprob/entropy flags on entities → escalate or verify.
- Product design: show citations, expose uncertainty, keep humans in the loop where errors are costly.
Honest framing: mitigations reduce rate and blast radius; nothing eliminates it - a system claim ("verified against sources"), not a model claim, is what you can actually ship.
What a good answer covers
- The training objective optimises plausibility, not truth
- No calibrated abstention channel
- Knowledge is parametric, lossy, and frozen - compressed statistics over a corpus with a cutoff, no…
- Grounding (RAG + citation)
- Tool use: calculators, code execution, search - route the failure-prone operation out of the weights entirely
Key terms: No calibrated abstention channel · compounds · Grounding (RAG + citation) · Tool use · Abstention-aware post-training and evals · Verification layers · Product design
In the glossary: Grounding · RAG · Accuracy · Hallucination · Self-consistency
Interviewer follow-ups to expect
Why can RLHF increase confident hallucination?
Design a hallucination eval for a RAG product - what's the metric?
When is a hallucination-shaped answer actually desirable (creative tasks) and how do you switch regimes?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep