When Context Changes: Understanding Update Failures in LLMs
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
As preferences, goals, and facts change, LLM agents must use the current state while earlier versions remain in context. Yet they can answer with an old value of the same variable, a failure that we call stale binding. To study when models use outdated information and why, we introduce Controlled In-Context Memory (CICM), a benchmark for tracking and using updated information in conversations and agent logs. We observe that even frontier reasoning models can fail to recover the current state. We find that in open-source models probes can still recover the updated value when the model answers with an old one, pointing to a failure to select information that remains available. Component tests in Qwen and Pythia identify a mechanism for this selection failure: attention drift, where attention favors old values over the current one when producing an answer. We study a one-layer transformer to mathematically understand how this phenomenon happens: when attention scores are similar, several old values can together receive more attention than the current value. Guided by this explanation, we redirect attention toward the current value without further training. When the current value is requested directly, adjusting this intervention for each input corrects most old-value errors across various model families while preserving nearly all initially correct answers. Reliable context management therefore requires more than remembering updated information: models must use it to guide their answers.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 43 of its 55 references that are in the map. First posted on arXiv 30 Sep 2026.
Builds on
43 of 55 references.
Closest ancestors · 3
Same direction, newest first
- 2026Supersede: Diagnosing and Training the Memory-Update Gap in LLM Agents25 Jun
- 2026DynamicMem: A Long-Horizon Memory Benchmark in Real-World Settings22 Jun
- 2026From Recall to Forgetting: Benchmarking Long-Term Memory for Personalized Agents21 Apr
Other references · 40
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023Mistral 7Bcited by 3,164
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
28 more
- 2022Mass-Editing Memory in a Transformercited by 1,001
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 707
- 2019Designing and Interpreting Probes with Control Taskscited by 640
- 2023Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflictscited by 341
- 2023Trusting Your Evidence: Hallucinate Less with Context-aware Decodingcited by 327
- 2024Knowledge Conflicts for LLMs: A Surveycited by 283
- 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 232
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 215
- 2025Know Me, Respond to Me: Benchmarking LLMs for Dynamic User Profiling and Personalized Responses at Scalecited by 178
- 2024Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Trackingcited by 149
- 2025Do LLMs Recognize Your Preferences? Evaluating Personalized Preference Following in LLMscited by 148
- 2023How do Language Models Bind Entities in Context?cited by 108
- 2024Found in the Middle: Calibrating Positional Attention Bias Improves Long Context Utilizationcited by 101
- 2023Tell Your Model Where to Attend: Post-hoc Attention Steering for LLMscited by 91
- 2022Keep Me Updated! Memory Management in Long-term Conversationscited by 63
- 2023Entity Tracking in Language Modelscited by 44
- 2025(How) Do Language Models Track State?cited by 34
- 2025Mixing Mechanisms: How Language Models Retrieve Bound Entities In-Contextcited by 26
- 2025How Do Transformers Learn Variable Binding in Symbolic Programs?cited by 21
- 2025Unable to Forget: Proactive Interference Reveals Working Memory Limits in LLMs Beyond Context Lengthcited by 20
- 2026AMemGym: Interactive Memory Benchmarking for Assistants in Long-Horizon Conversationscited by 20
- 2024Answer When Needed, Forget When Not: Language Models Pretend to Forget via In-Context Knowledge Unlearningcited by 9
- 2026RoPE Distinguishes Neither Positions Nor Tokens in Long Contexts, Provablycited by 8
- 2026Learning to Forget: Sleep-Inspired Memory Consolidation for Resolving Proactive Interference in Large Language Modelscited by 7
- 2026Do Language Models Track Entities Across State Changes?cited by 6
- 2026A retrieval conditioned rebinding circuit for dynamic entity tracking in large language modelscited by 3
- 2026LLMs Remember First, Forget Last: Dual-Process Interference in Large Language Modelscited by 1
- 2026Compress and Forget: bitsandbytes Quantization Amplifies Proactive Interference in LLMscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026STALE: Can LLM Agents Know When Their Memories Are No Longer Valid?
- 2026Causal Intervention-Based Memory Selection for Long-Horizon LLM Agents
- 2026Persistent Context Graphs for Efficient Memory Compaction in LLM Agents
- 2026PACMS: Submodular Context Selection as a Pluggable Engine for LLM Agents
- 2026Can Agent Memory Systems Track Evolving State?
- 2025Rethinking Memory in LLM based Agents: Representations, Operations, and Emerging Topics
- 2025Preference-Aware Memory Update for Long-Term LLM Agents
- 2025Evo-Memory: Benchmarking LLM Agent Test-time Learning with Self-Evolving Memory