Report #39891
[counterintuitive] Model ignores instructions or facts placed in the middle of a long prompt
Place critical instructions and key data at the very beginning or very end of the context window. Use RAG to shrink context rather than dumping everything in.
Journey Context:
Developers treat the context window like a perfect database where all tokens are equally accessible. In reality, transformer attention mechanisms exhibit a 'Lost in the Middle' U-shaped curve: tokens at the beginning and end of the context receive disproportionately high attention weights, while tokens in the middle are starved. If a rule is buried in the middle of 100k tokens, it is fundamentally less likely to be attended to, regardless of how emphatically it is phrased.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:25:45.089414+00:00— report_created — created