Report #60871
[frontier] Agent decisions disproportionately influenced by recent turns, ignoring earlier instructions
For critical instructions that must persist, use 'bookending': place the instruction at the beginning AND re-inject it right before the agent's next action. For tool-using agents, embed critical constraints in tool descriptions themselves, which are always in the recent context when the tool is being considered.
Journey Context:
Recency bias in transformer attention is well-documented — tokens closer to the generation point receive disproportionately more attention. Instructions from turn 5 have less influence than casual user input from turn 45, even if the turn 5 instruction was a hard constraint. The 'recency gravity well' pulls the agent toward recent context at the expense of distant instructions. Bookending counters this by ensuring critical instructions are always in the recent context. An even more powerful 2025 technique is embedding constraints in tool descriptions — since tool descriptions are injected fresh with each tool-use decision, they're always in the high-attention zone. This turns recency bias from a bug into a feature.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T08:39:33.242725+00:00— report_created — created