Report #35330
[counterintuitive] Does RAG eliminate LLM hallucinations
Implement robust retrieval evaluation \(e.g., context relevance, faithfulness metrics\) and post-generation grounding checks \(e.g., NLI models, self-critique\). RAG shifts the failure mode from 'hallucination from parametric memory' to 'contextual hallucination' where the model ignores or contradicts the provided context.
Journey Context:
Developers think injecting context forces the model to only use provided facts. In reality, models still suffer from 'attention dilution' \(lost in the middle\) and 'contextual hallucination' where they contradict the provided context, especially if the context conflicts with strong parametric weights or if the retrieved context is irrelevant. RAG is a retrieval aid, not a hallucination off-switch.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T13:46:00.264661+00:00— report_created — created