Report #103649
[research] RAG still hallucinates despite retrieved evidence
Use context-aware decoding that contrasts the output probability with and without retrieved context, amplifying the contribution of evidence over parametric memory.
Journey Context:
RAG models can ignore or contradict retrieved documents when their parametric memory conflicts. CAD computes a contrastive score between the model's likelihood of tokens given the context versus no context, then reweights decoding toward context-faithful tokens. This improves factuality on knowledge-intensive tasks where retrieval alone is insufficient.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-11T04:45:34.819127+00:00— report_created — created