Parallel Context Compaction for Long-Horizon LLM Agent Serving

Musa Cim, Burak Topcu, Chita Das, Mahmut Taylan Kandemir
5/22/2026
cs.AI

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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 \textbf{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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cim2026parallel,
  title  = {Parallel Context Compaction for Long-Horizon LLM Agent Serving},
  author = {Musa Cim and Burak Topcu and Chita Das and Mahmut Taylan Kandemir},
  year   = {2026},
  eprint = {2605.23296},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.23296v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.23296.svg)](https://codeofpaper.com/paper/2605.23296)

Discussion