Report #46738
[research] LLM ignores retrieved RAG context that contradicts its internal parametric memory
Enforce strict 'context-only' generation by prepending instructions like 'Answer using only the provided documents. If the documents contradict your prior knowledge, trust the documents.' and applying a low temperature.
Journey Context:
Models have strong priors from pre-training. When retrieved context conflicts with these priors, the model often defaults to its parametric memory, especially if the context is complex or the prior is highly represented. Simple prompting helps, but fails on strong priors. Advanced mitigation involves contrastive decoding or fine-tuning on out-of-distribution context adherence, but strict prompting remains the most accessible operational fix.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T08:55:20.794303+00:00— report_created — created