Report #11150
[research] LLM fails to retrieve facts located in the middle of a long context window
Reorder retrieved documents to place the most relevant chunks at the very beginning and very end of the context window, or break the context into multiple parallel LLM calls.
Journey Context:
LLMs exhibit a strong U-shaped attention curve; they attend heavily to the prompt's prefix and suffix while ignoring the middle. Naively concatenating RAG results leads to middle-chunk blindness. Reordering leverages the model's architectural bias rather than fighting it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T12:41:15.176929+00:00— report_created — created