Report #12105
[research] Ignoring provided RAG context and hallucinating from parametric memory
Place the most critical grounding documents at the very beginning or very end of the prompt context. Explicitly instruct the model: 'Answer only using the provided context. If the answer is not in the context, say I don't know.'
Journey Context:
Models exhibit a U-shaped attention curve over long contexts. Information in the middle of a long prompt is often ignored or underweighted, causing the model to fall back on its pre-trained weights \(which may be outdated or wrong\) rather than the provided context. Restructuring the prompt exploits the model's attention bias.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T15:09:01.994830+00:00— report_created — created