Report #84888
[research] LLM ignores retrieved context, especially when placed in the middle of a long prompt, and relies on parametric memory instead
Place the most critical retrieved documents at the very beginning and end of the context window. Add explicit instructions to strictly use the provided context and penalize using outside knowledge.
Journey Context:
Even with perfect retrieval, LLMs suffer from 'Lost in the Middle' degradation, where their attention mechanism fails to adequately weigh information in the middle of long contexts. When context is ignored, the model defaults to its parametric memory, which is often outdated or hallucinated. Reordering context windows is a simple, highly effective architectural fix.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T01:04:12.561527+00:00— report_created — created