arXiv AI

Adapting Context Compression for Long-Horizon Agents with Counterfactual Continuations

arXiv Machine Learning
Oct 16

Towards Reliable Context Compression for Long-Horizon Agents: An Empirical Study of Execution Instability

The paper investigates how recurrent context compression affects long‑horizon agents, finding that compression can diminish the impact of recent interactions, leading to more blocked actions, repeated exploration, and run‑to‑run instability. To address this, the authors propose TRACE, a verifier‑guided framework that evaluates individual compression events via paired closed‑loop continuations and optimizes a natural‑language compression prompt while keeping all models frozen. Early experiments on AppWorld demonstrate that TRACE improves task performance, multi‑run reliability, and context‑execution efficiency compared to existing compression baselines.

By Guanghui Min, Liang Wu, Mayank Darbari, Chen Chen, Liangjie Hong
Hugging Face Trending Papers
Aug 2

Control Under Compression: Reliability Frontiers for Tool-Using Agents

Tool-using language-model agents are governed not only by task prompts but also by persistent system-side instructions that specify tools, arguments, policies, execution protocols, and recovery. Compressing these agent control contexts (ACCs) can reduce input cost and context use, yet existing prompt-compression evaluations do not reveal whether the resulting control remains operationally reliable.

arXiv AI
Sep 24

StateComp: Learning When to Compress History in Long Horizon Agents

StateComp introduces a method for long‑horizon agents to decide when to compress historical interactions based on the current agent state, rather than relying on fixed windows or periodic schedules. The framework uses a two‑stage annotation process to create KEEP and READY labels, trains an imbalance‑aware router on frozen language model representations, and groups adjacent READY interactions into compact summaries. Experiments on WorkBuddyBench show that StateComp cuts agent and summarization tokens by 52.27% and speeds up representation extraction 12.67‑fold while preserving task performance.

By Mingxuan Wang, Hongyue Chen, Yinglong Guo, Fei Luo, Chao Ning, Bo Wang, Guorun Yao, Yanbiao Ma, Jungong Han
arXiv AI
Oct 19

When to Forget: Risk-Controlled Context Adaptation for Long-Horizon Agents

The paper introduces RECAP, a framework for deciding when to retain, compress, or discard parts of a long-horizon agent’s history to improve future performance. RECAP uses matched context interventions, execution-relational prediction, and independent policy certification to evaluate the value of a failure block relative to the current execution. Experiments across five backbones show that RECAP can edit a significant portion of retained checkpoints while maintaining high continuation success and reducing prompt costs.

By Chenle Chen, Yangbo Wei, Zhijie Zheng, Zhenyu Su, Qifan Wang, Junhong Qian, Chao Yao, Chen Wu, Lei He
arXiv AI
Aug 7

TRAJDEBUG: Tracing Error Lifecycle to Identify Critical Failures in Long-Horizon Agent Trajectories

arXiv:2608. 06346v1 Announce Type: new Abstract: LLM-based agentic systems have shown remarkable capabilities in complex domains, while suffering from cascading errors and difficulty in debugging.

By Yunjia Qi, Zehua Yin, Xintong Shi, Hao Peng, Songyuanyi Lu, Yixian Liu, Richeng Xuan, Yuhong Liu, Zhichao Hu, Xiaozhi Wang, Lei Hou, Bin Xu, Juanzi Li
arXiv AI
Sep 30

FOCUS: Training-Free Decision-Preserving Context Compression for LLM Agents

The paper introduces FOCUS, a training‑free framework that compresses the interaction history of large language model agents by preserving only the past interactions that causally influence future decisions. Unlike prior methods that learn compression policies offline, FOCUS operates entirely at test time, requiring no additional data collection or fine‑tuning and can be applied to any closed‑API model. Experiments on a variety of agentic benchmarks show that FOCUS reduces peak context length by up to 48% and dependency by 73%, while improving task success by up to 8.9 percentage points.

By Shantanu Dixit, Anson Bastos, Xuchao Zhang, Chetan Bansal, Saravan Rajmohan