Report #100198
[research] Why does my long-context LLM miss facts in the middle of a document?
Place the most important evidence at the start or end of the prompt; avoid burying key facts in the middle. For very long documents, chunk and retrieve only the relevant sections rather than stuffing everything into the context window.
Journey Context:
Even models with million-token windows exhibit U-shaped attention: performance is highest on the first and last parts of a context and degrades 10–20\+ percentage points in the middle. This 'lost in the middle' effect persists across model generations. Position-sensitive prompting and targeted retrieval both beat naive full-document stuffing for precise fact lookup.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-01T04:49:08.317628+00:00— report_created — created