← All papers  /  Nov 19, 2026
Agents · Evaluation

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

First page
CompAct-Bench: A Benchmark for Working-Context Compaction in Long-Horizon Agent Tasks
The curator’s take

Jiayi Chen, Lizhe Chen, Shihan Dou and colleagues at Fudan University and the Tencent Hunyuan team introduce CompAct-Bench, which measures how well a model compacts an agent's working context by whether the same agent can still finish the task afterward.

Ask this paper

Key points
01

Downstream measurement. The benchmark starts from successful agent trajectories, inserts compaction points at different stages, compresses the earlier context with the model under test, and lets the same executor continue the original task.

02

Controlled retention. Compactors are compared at fixed retention ratios set by an iterative ratio-adjustment procedure. Tasks come from BrowseComp, SWE-bench and an internal CompanyBench.

03

Compaction is lossy. Across twelve models, Claude Opus 5 is strongest at 68.5% post-compaction accuracy against a 56.7% average. Claude and GPT models lead, but accuracy still falls under aggressive compaction.

04

Distortion as well as omission. Annotated units were 69.1% preserved, 25.3% omitted and 5.6% distorted. Distortions include turning unresolved issues into apparent conclusions and forgetting established results, which leads to wrong decisions or repeated work.

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. 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.

Every Monday
Get next week’s papers.
Subscribe on Substack