CompAct-Bench: A Benchmark for Working-Context Compaction in Long-Horizon Agent Tasks
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks also fits: Agent memory systems
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 22 of its 49 references that are in the map. Submitted 19 Nov 2026, announced 20 Nov 2026.
Builds on
22 of 49 references.
Closest ancestors · 3
Same direction, newest first
- 2026Kimi K3: Open Frontier Intelligence27 Jul
- 2026Slipstream: Trajectory-Grounded Compaction Validation for Long-Horizon Agents9 May
- 2024OfficeBench: Benchmarking Language Agents across Multiple Applications for Office Automation26 Jul
Other references · 19
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 740
- 2025BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agentscited by 725
- 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarizationcited by 172
- 2025AgentFold: Long-Horizon Web Agents with Proactive Context Managementcited by 120
- 2026On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stabilitycited by 96
- 2026CL-bench: A Benchmark for Context Learningcited by 61
- 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agentscited by 52
- 2026Dive into Claude Code: The Design Space of Today's and Future AI Agent Systemscited by 48
- 2026CompactionRL: Reinforcement Learning with Context Compaction for Long-Horizon Agentscited by 27
- 2026A Self-Evolving Framework for Efficient Terminal Agents via Observational Context Compressioncited by 17
- 2026ACM: Agentic Context Management for Long Horizon Taskscited by 16
7 more
- 2026ContextBudget: Budget-Aware Context Management for Long-Horizon Search Agentscited by 15
- 2026LongSeeker: Elastic Context Orchestration for Long-Horizon Search Agentscited by 12
- 2026Beyond Compaction: Structured Context Eviction for Long-Horizon Agentscited by 10
- 2026Parallel Context Compaction for Long-Horizon LLM Agent Servingcited by 9
- 2025PIS: Linking Importance Sampling and Attention Mechanisms for Efficient Prompt Compressioncited by 6
- 2026Context Compaction Theorycited by 5
- 2026ACE: Pluggable Adaptive Context Elasticizer across Agentscited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Benchmarks Are Surprisingly Compaction-Friendly
- 2026CarryOn: Learning What to Keep in Context for Long-Horizon LLM Agents
- 2026Persistent Context Graphs for Efficient Memory Compaction in LLM Agents
- 2026How Fast Do Agents Rot? An Empirical Study of Long-Horizon Degradation in LLM Agents for Production Decision-Making
- 2026Self-Compacting Language Model Agents
- 2025TRAJECT-Bench:A Trajectory-Aware Benchmark for Evaluating Agentic Tool Use
- 2026Bud ContextCompact 2.0: Context Compaction for Agent Success and Accuracy with Small Language Models and Constrained Context Windows
- 2026LLM Agents Are Latent Context Managers: Eliciting Self-Managed Context via State Proprioception