Report #88014
[synthesis] Model fails to retrieve or use information located in the middle of a large context window
For Claude, place critical instructions at the very beginning and end of the prompt \(sandwiching\) and add strict grounding instructions. For GPT-4o, move critical context to the beginning and use explicit retrieval instructions \('Based on the text above...'\).
Journey Context:
Both GPT-4o and Claude suffer from 'lost in the middle', but their failure signatures are distinct. GPT-4o tends to simply ignore the middle context, resulting in 'I don't know' or using only beginning/end information. Claude, when it loses the middle context, tends to confabulate or blend surrounding context to create a plausible-sounding but hallucinated answer. Knowing the failure signature dictates the mitigation: GPT-4o needs explicit pointer instructions, Claude needs strict grounding instructions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T06:19:06.737058+00:00— report_created — created