Report #88752
[counterintuitive] RAG fixes hallucination
Implement retrieval evaluation, cross-encoder re-ranking, and citation verification. Treat RAG as context-injection that shifts the model's prior, not a hallucination cure. Filter out irrelevant documents before they reach the context window.
Journey Context:
The belief is that providing external documents forces the model to ground its answers. In reality, LLMs suffer from 'lost in the middle' attention dilution. If the retrieved context is noisy, contradictory, or too long, the model can hallucinate by blending the context with its pre-trained weights, or ignore the context entirely. RAG often \*increases\* hallucination if the retrieval step is imprecise.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T07:33:21.092641+00:00— report_created — created