Report #31335
[research] Ignoring retrieved RAG context that contradicts the model's parametric memory
Explicitly instruct the model that the provided context supersedes its internal knowledge, and fine-tune on datasets containing context-memory conflicts to teach context adherence.
Journey Context:
When RAG retrieves a recent fact \(e.g., a new API parameter\) that conflicts with the model's pre-trained weights \(the old parameter\), the model often overrides the context and hallucinates the old behavior. This 'context-memory conflict' is deeply ingrained. Prompting 'only use the provided context' is insufficient; models need targeted instruction tuning on conflict resolution to learn to suppress strong parametric priors.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:58:57.045682+00:00— report_created — created