mlsanityData to 13 Oct 2026

Plans Don't Persist: Why Context Management Is Load Bearing for LLM Agents

arXiv 2606.22953 ↗First posted 22 Jun 2026cs.AI cs.CLcited by 4

On the map: LLM agents and tool use → Agent memory systems

Abstract (arXiv)

Context managers summarize or evict old messages so agents can operate beyond a finite window. This creates a reliability problem: removing history that still shapes the model's computation may change later actions, while retaining everything defeats compression. We study plans because agents create them early and are expected to use them later, yet behavioral success alone cannot reveal whether later calls still depend on the plan exchange. We make four contributions. First, we introduce replay pairing, which holds the action-observation trajectory fixed and compares pre-action hidden states with and without the plan exchange. We show that, on Llama-3.1-70B in ALFWorld, the mean contrast across 15 sampled layers decreases 4.1x from the first post-plan action to the second; Llama-3.1-8B shows a similar 5.6x decrease. Second, we show that a simple linear model using layer-32 hidden states predicts later contrast on entirely held-out tasks better than a baseline that only knows the action-call offset (R^2 = 0.847 vs. 0.575). Third, we identify confounds that limit this measurement: the paired histories differ in length, token positions, and discourse structure, and replayed reasoning can reintroduce plan-derived text. Reasoning traces therefore require symmetric controls, and native Qwen3 shows that the Llama timing pattern is not universal. Fourth, in a separate descriptive compression test, we find pooled ALFWorld run success of 56.7% with full history and 22.0% with naive eviction; preserving or re-surfacing only the plan does not recover the gap. Replay pairing measures sensitivity to retaining an exchange, not isolated plan content or later eviction. It gives researchers a concrete audit tool and suggests that context policies should preserve broader task state, not plans alone.

Key facts. Cited by 4 papers in the map (data through 13 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 21 of its 26 references that are in the map. First posted on arXiv 22 Jun 2026.

Builds on

21 of 26 references.

References · 21

  1. 2024The Llama 3 Herd of Modelscited by 14,486
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,376
  3. 2025Qwen3 Technical Reportcited by 8,510
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,502
  5. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,156
  6. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,716
  7. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,367
  8. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,181
  9. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,280
  10. 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,167
  11. 2022Inner Monologue: Embodied Reasoning through Planning with Language Modelscited by 1,065
  12. 2023Steering Language Models With Activation Engineeringcited by 873
9 more
  1. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 750
  2. 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 693
  3. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 600
  4. 2025LLMs Get Lost In Multi-Turn Conversationcited by 418
  5. 2025Reasoning Models Know When They're Right: Probing Hidden States for Self-Verificationcited by 155
  6. 2025Effectively Controlling Reasoning Models through Thinking Interventioncited by 65
  7. 2025ReasonIF: Large Reasoning Models Fail to Follow Instructions During Reasoningcited by 12
  8. 2025Tracing the Traces: Latent Temporal Signals for Efficient and Accurate Reasoningcited by 8
  9. 2025From Reasoning to Answer: Empirical, Attention-Based and Mechanistic Insights into Distilled DeepSeek R1 Modelscited by 6

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Agent Memory: Characterization and System Implications of Stateful Long-Horizon Workloads
  2. 2026The Epistemics of Agent Memory: Measuring, and Governing, the Consolidation Decision in Long-Horizon LLM Agents
  3. 2026Beyond Token Savings: A Systematic Study of Context Compression in LLM Agents
  4. 2026Beyond Compaction: Structured Context Eviction for Long-Horizon Agents
  5. 2026Do LLM Agents Execute the Plans They Declare? From Planning-Mode Declaration to Pattern-Specific Execution
  6. 2025How Memory Management Impacts LLM Agents: An Empirical Study of Experience-Following Behavior
  7. 2026Persistent Memory in Multi-Agent LLM Inference: What It Costs, What It Buys, and When You Can Tell
  8. 2026From Confident Closing to Silent Failure: Characterizing False Success in LLM Agents