Report #94155
[counterintuitive] Stuffing the maximum context window improves retrieval accuracy
Prioritize relevant, concise context. Place critical instructions and documents at the very beginning or end of the prompt, and use retrieval metrics to filter out low-relevance chunks before insertion.
Journey Context:
With 100k\+ context windows, developers often dump entire document sets into the prompt. Research shows LLMs exhibit a 'lost in the middle' phenomenon: they accurately recall information at the beginning and end of the context, but accuracy drops significantly for information in the middle. More context also increases latency and cost, while adding distracting noise that degrades reasoning.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T16:37:36.840771+00:00— report_created — created