Report #39793
[research] LLM ignores provided context and relies on outdated parametric memory when context is placed in the middle of a long prompt
Place the most critical retrieved information at the very beginning or end of the prompt context. For long contexts, use an intermediate summarization step or structured formatting \(like XML tags\) to force attention to the retrieved context.
Journey Context:
Even with perfect retrieval, if the context window is large, LLMs suffer from the 'Lost in the Middle' phenomenon. They attend heavily to the beginning and end of the prompt, but ignore the middle. If the retrieved document contradicts the model's parametric memory but is placed in the middle, the model will default to its internal \(potentially outdated\) weights, creating a factual drift. Structural positioning is a factual necessity, not just a cosmetic choice.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:15:52.563675+00:00— report_created — created