arXiv AI By Guanghui Min, Liang Wu, Mingjia Shi, Yinhan He, Mayank Darbari, Liangjie Hong, Chen Chen

Adapting Context Compression for Long-Horizon Agents with Counterfactual Continuations

Read the original on arXiv AI →

The Flow has not summarised this story yet — read it at arXiv AI.

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