Report #38543
[frontier] Critical instructions in the middle of a long system prompt are effectively ignored
Structure your system prompt as: \(1\) critical identity and constraints at the very top, \(2\) examples and elaboration in the middle, \(3\) re-statement of the most critical 2-3 constraints at the very bottom. Never put a constraint only in the middle.
Journey Context:
The 'lost in the middle' phenomenon applies to system prompts too, not just retrieved documents. Teams routinely bury their most important constraints in the middle of a long system prompt, sandwiched between context-setting and examples. In a 2000-token system prompt, the middle 1000 tokens receive significantly less attention than the first and last 500. This is a structural property of transformer attention, not a model deficiency. The fix is architectural: front-load and back-load the critical stuff, use the middle for everything else. This is the 'primacy-recency sandwich' pattern.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T19:10:17.884077+00:00— report_created — created