CompAct-Bench: A Benchmark for Working-Context Compaction in Long-Horizon Agent Tasks

Jiayi Chen, Lizhe Chen, Yujia Chen, Shihan Dou, Ming Zhang +6 more
11/19/2026
cs.AI
benchmark-dataset

No confident code implementation found for this paper.

Abstract

As language-model agents are applied to increasingly extended tasks, their working context continuously accumulates interaction history, tool observations, intermediate decisions, and task progress. Context compaction offers a practical way to reduce this growing history while allowing execution to continue, yet the compaction ability of modern LLMs remains insufficiently understood.

Show full abstract

We introduce CompAct-Bench, a benchmark for evaluating working-context compaction through its downstream effect on agent task completion. Starting from successful agent trajectories, we insert compaction boundaries at different stages of execution, compress the preceding working context with the model under evaluation, and let the same executor continue the original task. To enable fair comparison across compactors, we evaluate them under controlled retention ratios using a lightweight iterative ratio-adjustment procedure. CompAct-Bench covers information-seeking, software-engineering, and workspace-oriented tasks through BrowseComp, SWE-bench, and an internal CompanyBench evaluation. Our experiments show that working-context compaction remains highly lossy even for frontier models: Claude- and GPT-family models perform strongest overall, yet substantial degradation in downstream task accuracy persists under aggressive compaction. Further analysis reveals that failures are often caused not only by omitted information, but also by distorted task state, such as turning unresolved issues into apparent conclusions or forgetting previously established results, which can lead to incorrect decisions or redundant execution. These findings highlight working-context compaction as a distinct and still challenging ability for LLMs operating in extended agent tasks.

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{chen2026compactbench,
  title  = {CompAct-Bench: A Benchmark for Working-Context Compaction in Long-Horizon Agent Tasks},
  author = {Jiayi Chen and Lizhe Chen and Yujia Chen and Shihan Dou and Ming Zhang and Chendi Ge and Shiguang Ni and Tao Gui and Qi Zhang and Xuanjing Huang and Maxm Pan},
  year   = {2026},
  eprint = {2611.25673},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.25673v1}
}

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/2611.25673.svg)](https://codeofpaper.com/paper/2611.25673)

Discussion