mlsanityData to 7 Oct 2026

CoMem: Context Management with A Decoupled Long-Context Model

arXiv 2605.30842 ↗First posted 29 May 2026cs.LGcited by 5

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

Abstract (arXiv)

Context management enables agentic models to solve long-horizon tasks through iterative summarization of previous interaction histories. However, this process typically incurs substantial decoding overhead for the extra summarization tokens, which significantly affect the end-to-end response latency at deployment. In this paper, we introduce CoMem, a novel framework that decouples memory management from the primary agent workflow, enabling these processes to execute in parallel. We propose a k-step-off asynchronous pipeline that overlaps the memory model's summarization with the agent's inference, effectively masking the latency of context processing. To ensure robustness under this asynchronous setting, we introduce a reward-driven training strategy that aligns the memory model to capture sufficient statistics for the agent's decision-making. Theoretical analysis confirms that CoMem offers a superior efficiency-effectiveness trade-off compared to coupled architectures. Our extensive experimental results on SWE-Bench-Verified show that CoMem provides 1.4x latency improvements upon vanilla long-context solutions while preserving most of the performance. Furthermore, we demonstrate that these latency gains scale favorably with increased system throughput, offering a modular path forward for the independent optimization of agent reasoning and memory compression.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 24 of its 34 references that are in the map. First posted on arXiv 29 May 2026.

Builds on

24 of 34 references.

Closest ancestors · 6

Same direction, newest first

  1. 2025AgentFold: Long-Horizon Web Agents with Proactive Context Management28 Oct
  2. 2025Scaling Long-Horizon LLM Agent via Context-Folding13 Oct
  3. 2025ACON: Optimizing Context Compression for Long-horizon LLM Agents1 Oct
  4. 2025Look Back to Reason Forward: Revisitable Memory for Long-Context LLM Agents27 Sep
  5. 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarization16 Sep
  6. 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agents18 Jun

Other references · 18

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  3. 2020Longformer: The Long-Document Transformercited by 3,362
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  6. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  7. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  8. 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,002
  9. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
  10. 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
  11. 2025BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agentscited by 616
  12. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 571
6 more
  1. 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 235
  2. 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 147
  3. 2025Scaling LLM Multi-turn RL with End-to-end Summarization-based Context Managementcited by 51
  4. 2024Compute Or Load KV Cache? Why Not Both?cited by 25
  5. 2025Sliding Window Attention Training for Efficient Large Language Modelscited by 21
  6. 2025Beyond Turn Limits: Training Deep Search Agents with Dynamic Context Windowcited by 19

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026ACM: Agentic Context Management for Long Horizon Tasks
  2. 2026ContextPilot: Teaching Agents for Proactive Context Management via Fine-grained RL
  3. 2026ContextWeaver: Selective and Dependency-Structured Memory Construction for LLM Agents
  4. 2026PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoning
  5. 2026MemoryCPT: An End-to-End Agent Memory Framework for Cost-Performance Trade-off
  6. 2026AMA-Bench: Evaluating Long-Horizon Memory for Agentic Applications
  7. 2026Parallel Context Compaction for Long-Horizon LLM Agent Serving
  8. 2026HyMem: Hierarchical Context Management for Long-Horizon Agents via Information Isolation