# Summary: 2026-10-22_18-15-54Z_BenchmarksAreSurprisinglyCompaction_Friendly.md Saved: 2026-10-25 21:55 Source: 2026-10-22_18-15-54Z_BenchmarksAreSurprisinglyCompaction_Friendly.md Model: None --- ## Summary This paper investigates the impact of context compaction on long-horizon agentic tasks, a critical mechanism for LLM agents operating beyond their context window limits. The authors systematically evaluate five compaction strategies within a fixed agent scaffold (OpenCode) using three frontier models across three realistic benchmarks: PaperBench, ProgramBench, and PostTrainBench. Contrary to concerns that compaction significantly degrades performance by losing task constraints or reasoning, the study finds that current benchmarks are surprisingly "compaction-friendly." The authors argue this is because benchmark objectives are fixed and agent progress is often persisted on disk, allowing most discarded information to be recovered, with the notable exception of implicit constraints that exist only in the context window. ## Key Contributions - **Benchmark Compaction-Friendliness:** The study demonstrates that for two frontier models with 1M context windows, varying compaction thresholds does not measurably affect task performance on long-horizon benchmarks. This suggests current evaluation suites may not adequately stress-test the fragility of agent memory and constraint retention. - **Model-Specific Vulnerabilities:** While some models are robust to compaction, GPT-5.3-Codex (with a smaller context window) shows degraded performance at lower compaction thresholds on PaperBench and PostTrainBench, highlighting that model architecture and context size significantly influence susceptibility to information loss. - **Silent Constraint Loss:** Compaction methods silently discard critical task constraints. On ProgramBench, the first compaction summary removes approximately one-third of anti-cheating rules on average, with this loss increasing monotonically as more compactions occur. Similarly, in real user-agent sessions (SWE-chat), instructions about *how* to work are dropped six times more frequently than specifications of *what* to build. ## Methodology The authors employed a controlled experimental setup by fixing the agent scaffold to OpenCode and implementing five distinct compaction strategies within it. They evaluated three frontier models against three long-horizon agentic benchmarks: PaperBench, ProgramBench, and PostTrainBench. Unlike previous studies that used smaller open-weight models on synthetic or toy trajectories, this work focuses on realistic tasks with frontier models to assess practical impacts. The methodology involved measuring task performance across different compaction thresholds and analyzing the content of compaction summaries to quantify what specific types of information (e.g., constraints, instructions, reasoning) were lost during the compression process. ## Results Experimental results indicate that no compaction method outperforms default self-summarization in terms of final task success rates for most models. However, aggressive compaction methods that discard more content can reduce performance by up to 20 points for certain models while leaving others unaffected. The analysis of compaction summaries revealed a systematic bias in information retention: specifications of the desired output ("what to build") are preserved much better than procedural instructions or constraints ("how to work" or "what not to do"). For instance, anti-cheating rules in ProgramBench were frequently dropped in early compaction steps. The study concludes that while benchmarks appear robust to compaction due to external state persistence (disk storage of progress), agents remain vulnerable to losing implicit constraints that are not stored elsewhere. ## Significance This research is significant because it challenges the assumption that context compaction is a major bottleneck for current LLM agent performance on standard benchmarks. It reveals a potential blind spot in current evaluation methodologies: benchmarks may be "compaction-friendly" by design, masking the fragility of agents in real-world scenarios where constraints are implicit and not persisted to disk. This insight urges developers to design more rigorous benchmarks that test constraint retention and highlights the need for compaction strategies that prioritize preserving procedural instructions and negative constraints, which are currently disproportionately lost. ## Related Concepts - Context Compaction - Long-Horizon Agentic Tasks - LLM Agent Scaffolds (OpenCode) - Frontier Models (GPT-5.3-Codex) - Benchmark Evaluation (PaperBench, ProgramBench, PostTrainBench) - Information Loss in Compression - Self-Summarization Strategies ## Original research paper [Canonical original paper: http://arxiv.org/abs/2610.31778v1](http://arxiv.org/abs/2610.31778v1)