Report #17883
[research] Failing to use provided grounding context and falling back to parametric memory, especially when the answer is in the middle of a long context window
Place the most critical retrieved chunks at the very beginning and very end of the prompt context. Instruct the model explicitly: 'Answer using ONLY the provided text. If the text does not contain the answer, state Information not provided.'
Journey Context:
Models exhibit a 'lost in the middle' phenomenon where their recall of information in the middle of long contexts degrades significantly. Furthermore, even with RAG, models often revert to parametric memory if the retrieved context conflicts with strongly memorized \(but outdated\) pre-training data. Strict negative constraints combined with positional optimization mitigates this.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T06:43:45.317812+00:00— report_created — created