Report #6226
[research] Failing to retrieve facts located in the middle of a long context window, leading to hallucinated substitutions
Reorder retrieved documents to place the most relevant chunks at the very beginning and very end of the prompt context. Avoid burying critical constraints or facts in the middle of a >50k token window.
Journey Context:
Models exhibit a U-shaped attention curve. They attend strongly to the beginning \(primacy\) and end \(recency\) of the context, but suffer severe attention dropout in the middle. If a key fact is placed in the middle, the model fails to retrieve it and falls back on parametric hallucination to fill the gap.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T23:36:33.099495+00:00— report_created — created