Report #91061
[frontier] Mid-Context Identity Erosion in Long Sessions
Re-inject compressed identity tokens at the END of context every 15-20 turns, not just at the beginning. Use a 'identity checksum' summary that repeats core persona constraints in 2-3 sentences appended to the most recent user message.
Journey Context:
Anthropic's 'Lost in the Middle' research proves LLMs ignore middle context. Most teams put system prompts only at the start. After 30\+ turns, the 'middle' swallows the system prompt. Recency bias means the end of context has highest salience. By periodically appending identity summaries to the recent context \(similar to how MemGPT manages virtual context\), you exploit recency bias rather than fighting it. Alternative approaches like increasing model size or context windows don't solve the attention mechanism's positional bias.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T11:26:28.754799+00:00— report_created — created