Parallel Context Compaction for Long-Horizon LLM Agent Serving
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Long-horizon LLM agents accumulate growing conversation histories that eventually exceed the model's context window. Context compaction via LLM-based summarization keeps the conversation bounded, but summarization is inherently lossy and the blocking call stalls agent inference for tens of seconds. Moreover, the operator has no fine-grained control over summary volume since prompt instructions are largely ignored, and as context grows, both the amount of output tokens the model produces and the information it retains fluctuate substantially from run to run, making the agent's retained knowledge unpredictable across runs. We introduce parallel compaction for long-horizon agentic flows and characterize it against the sequential synchronous baseline across four backbones spanning 8B to 120B parameters, mixing dense and MoE architectures with reasoning and non-reasoning models, on the HotpotQA multi-hop QA and LoCoMo long-context dialogue benchmarks. Parallel compaction gives the operator fine-grained, predictable control over summary volume and enables more targeted prompt engineering per block. At matched compaction decode volume, it reduces end-to-end wall time and improves compaction throughput over the sequential baseline.
Key facts. Cited by 4 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 25 of its 33 references that are in the map. First posted on arXiv 22 May 2026.
Builds on
25 of 33 references.
Closest ancestors · 2
Same direction, newest first
- 2025ACON: Optimizing Context Compression for Long-horizon LLM Agents1 Oct
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb
Other references · 23
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
- 2024LLM Evaluators Recognize and Favor Their Own Generationscited by 651
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
- 2021Beyond Goldfish Memory: Long-Term Open-Domain Conversationcited by 266
- 2024Chain of Agents: Large Language Models Collaborating on Long-Context Taskscited by 201
- 2025NoLiMa: Long-Context Evaluation Beyond Literal Matchingcited by 120
- 2025Context Length Alone Hurts LLM Performance Despite Perfect Retrievalcited by 118
- 2024Pride and Prejudice: LLM Amplifies Self-Bias in Self-Refinementcited by 111
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
- 2024LongGenBench: Benchmarking Long-Form Generation in Long Context LLMscited by 47
11 more
- 2024LIFBench: Evaluating the Instruction Following Performance and Stability of Large Language Models in Long-Context Scenarioscited by 31
- 2023On Context Utilization in Summarization with Large Language Modelscited by 30
- 2026Fast KV Compaction via Attention Matchingcited by 28
- 2024LLM×MapReduce: Simplified Long-Sequence Processing using Large Language Modelscited by 17
- 2025LIFEBench: Evaluating Length Instruction Following in Large Language Modelscited by 10
- 2025Context-Aware Hierarchical Merging for Long Document Summarizationcited by 9
- 2025When Does Divide and Conquer Work for Long Context LLM? A Noise Decomposition Frameworkcited by 8
- 2025Long Context Scaling: Divide and Conquer via Multi-Agent Question-driven Collaborationcited by 7
- 2025Prompt-Based One-Shot Exact Length-Controlled Generation with LLMscited by 4
- 2026Can LLMs Track Their Output Length? A Dynamic Feedback Mechanism for Precise Length Regulationcited by 4
- 2025Plan-and-Write: Structure-Guided Length Control for LLMs without Model Retrainingcited by 3
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Governance Decay: How Context Compaction Silently Erases Safety Constraints in Long-Horizon LLM Agentscited by 5
- 2026KV-streams for Efficient Compaction in Agentic Reinforcement Learningcited by 1
- 2026Handover of In-Context Learning State Across Session Boundariescited by 0
- 2026LAM: Efficient Lossy Agent Memory Framework With A Retrieval-Score Error Boundcited by 0
- 2026KV-streams for Efficient Compaction in Agentic Reinforcement Learning28 Sep 2026
- 2026LAM: Efficient Lossy Agent Memory Framework With A Retrieval-Score Error Bound26 Sep 2026
- 2026Handover of In-Context Learning State Across Session Boundaries14 Aug 2026
- 2026Governance Decay: How Context Compaction Silently Erases Safety Constraints in Long-Horizon LLM Agents21 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2025Scaling Long-Horizon LLM Agent via Context-Folding
- 2026Memori: A Persistent Memory Layer for Efficient, Context-Aware LLM Agents
- 2026PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoning
- 2026ContextWeaver: Selective and Dependency-Structured Memory Construction for LLM Agents
- 2026Three Roles, One Model: Role Orchestration at Inference Time to Close the Performance Gap Between Small and Large Agents
- 2026ContextPipe: Database-Inspired Context Assembly for Long-Horizon Agents
- 2025RCR-Router: Efficient Role-Aware Context Routing for Multi-Agent LLM Systems with Structured Memory
- 2026AgentLongBench: A Controllable Long Benchmark For Long-Contexts Agents via Environment Rollouts