Report #13386
[research] Missing relevant facts provided in the middle of a large retrieved context window
Re-rank retrieved documents so the most relevant snippets are at the very beginning and very end of the constructed prompt. Limit context window size rather than stuffing it with low-relevance chunks.
Journey Context:
Agents often stuff the prompt with top-K chunks to maximize recall. However, LLMs exhibit U-shaped attention: they attend strongly to the start and end of the context, but ignore the middle. Adding more low-quality context actively hurts factuality by pushing high-quality context into the 'dead zone'. Precision over recall in chunk selection is the right call to avoid dropping critical facts.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T18:40:39.396269+00:00— report_created — created