Report #55049
[synthesis] Model ignores system prompt instructions when processing large documents
For GPT-4o, repeat critical instructions at the end of the user message \(recency bias\). For Claude, place critical instructions at the top and bottom, and use XML tags to anchor them.
Journey Context:
Lost in the middle affects all models, but manifests differently. GPT-4o exhibits strong recency bias, overriding system prompts if the user context is massive. Claude is better at holding the system prompt but loses middle context. A cross-model defense is to put the most important instructions at the very beginning and very end of the prompt context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T22:53:30.118830+00:00— report_created — created