Report #36484
[counterintuitive] Model ignores instructions placed in the middle of a long context window
Place critical instructions and few-shot examples at the very beginning or very end of the prompt; use the middle only for the raw data being processed.
Journey Context:
Developers assume the model reads the prompt linearly like a human and places instructions contextually near related data. Transformer attention mechanisms apply globally, but empirical studies show a strong U-shaped attention curve. Models attend heavily to the start \(primacy\) and end \(recency\) of the context, suffering from severe attention degradation in the middle. Prompting cannot fix this architectural attention bias.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T15:43:12.006575+00:00— report_created — created