mlsanityData to 7 Oct 2026

Continuous Context Management

arXiv 2609.35540 ↗First posted 28 Sep 2026cs.AIcited by 0

On the map: LLM reasoning → Test-time compute and efficient thinking also fits: Reasoning for agents, planning and code

Abstract (arXiv)

Long-horizon large language model (LLM) agents commonly retain their complete interaction history until compaction is triggered at a predefined threshold. We study Continuous Context Management (CCM), which performs compaction at every turn to prevent interaction history from accumulating in the active prompt. At each turn, a CCM agent emits an updated memory together with an environment action; its next prompt contains the original task, retained memory, and newest observation rather than the complete transcript. We first evaluate CCM without fine-tuning on TerminalBench-2 using Claude Sonnet 4.6, Claude Opus 4.6, GLM-5, and Kimi K3. CCM substantially reduces cumulative input usage and active-prompt size, although it lowers task success for most models while preserving performance for Kimi K3. We use GRPO with privileged full-history distillation to improve CCM in open-weight models. A frozen copy of the student's initial model scores each sampled student action under the complete history reconstructed from that student's rollout, providing dense action-token supervision without a separate teacher rollout or reference solution. On WebShop, this objective substantially improves CCM over GRPO at both evaluated model scales and surpasses full-history GRPO for Qwen3-4B-Instruct, though not for Qwen3-8B. On Endless Terminals, the augmented method provides a modest improvement over GRPO, with both CCM policies outperforming the untrained full-history baseline. These results demonstrate that CCM is a viable inference paradigm for agents operating with substantially reduced retained context and that its performance can be improved through reinforcement learning with privileged full-history distillation.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 23 of its 34 references that are in the map. First posted on arXiv 28 Sep 2026.

Builds on

23 of 34 references.

Closest ancestors · 1

Same direction, newest first

  1. 2026MEMENTO: Teaching LLMs to Manage Their Own Context10 Apr

Other references · 22

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  3. 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
  4. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
  5. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 515
  6. 2025Group-in-Group Policy Optimization for LLM Agent Trainingcited by 442
  7. 2026Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Modelscited by 386
  8. 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 349
  9. 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 235
  10. 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agentscited by 226
  11. 2026On-Policy Context Distillation for Language Modelscited by 161
  12. 2026Learning beyond Teacher: Generalized On-Policy Distillation with Reward Extrapolationcited by 157
10 more
  1. 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarizationcited by 132
  2. 2025ACON: Optimizing Context Compression for Long-horizon LLM Agentscited by 126
  3. 2025Context Length Alone Hurts LLM Performance Despite Perfect Retrievalcited by 118
  4. 2026Self-Distillation Zero: Self-Revision Turns Binary Rewards into Dense Supervisioncited by 58
  5. 2025Scaling LLM Multi-turn RL with End-to-end Summarization-based Context Managementcited by 51
  6. 2026Endless Terminals: Scaling RL Environments for Terminal Agentscited by 43
  7. 2026Embarrassingly Simple Self-Distillation Improves Code Generationcited by 36
  8. 2025COMPASS: Enhancing Agent Long-Horizon Reasoning with Evolving Contextcited by 19
  9. 2026Self-Compacting Language Model Agentscited by 11
  10. 2026CompactionRL: Reinforcement Learning with Context Compaction for Long-Horizon Agentscited by 8

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoning
  2. 2026Verifiable Memory: Learning Unified Memory Management with Local and Global Verifiers for Large Language Model Agents
  3. 2026Persistent Context Graphs for Efficient Memory Compaction in LLM Agents
  4. 2026Beyond Compaction: Structured Context Eviction for Long-Horizon Agents
  5. 2026ContextWeaver: Selective and Dependency-Structured Memory Construction for LLM Agents
  6. 2025Rethinking Memory in LLM based Agents: Representations, Operations, and Emerging Topics
  7. 2026Learning What Not to Forget: Long-Horizon Agent Memory from a Few Kilobytes of Learning
  8. 2026Continuum Memory Architectures for Long-Horizon LLM Agents