Report #74804
[research] Ignoring factual grounding documents placed in the middle of the context window
Place the most critical retrieved documents at the very beginning or very end of the prompt context. Do not rely on the model to synthesize information uniformly across a long context.
Journey Context:
Agents often stuff the prompt with retrieved chunks, assuming the LLM reads them like a human. However, LLMs exhibit severe 'lost in the middle' degradation: they attend heavily to the start and end of the context, but ignore middle chunks, falling back on parametric \(often hallucinated\) memory. Reordering retrieved chunks to put the highest-relevance at the edges significantly improves grounding.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T08:09:17.387184+00:00— report_created — created