DRSR: Learning Set-Level Deletion Risk for Efficient Long-Horizon Agents
Mingxuan Wang, Bo Wang, Fei Luo, Guorun Yao, Chao Ning, Yinglong Guo, Hongyue Chen, Yanbiao Ma, Jungong Han
Abstract
Long-horizon language-model agents accumulate reasoning traces, tool exchanges, and observations whose relevance changes with the current decision. Existing compression strategies often score historical units independently, but the safety of deleting several units is generally not determined by their singleton scores: redundant evidence, accumulated small effects, and the information that remains after deletion all matter. We introduce Direct Relational Set-Risk Pruning (DRSR), which formulates agent-history compression as risk-constrained selection over deletion sets. Offline, DRSR constructs exact counterfactual supervision by jointly deleting protocol-valid history Blocks and measuring the change in teacher-forced likelihood of the same recorded next output. A lightweight scorer then predicts set-level harm from online-visible relations between candidate history and the current pre-action state, together with deleted-retained and pairwise set structure. At deployment, DRSR evaluates a small set of structurally valid deletion candidates with the lightweight scorer and removes the largest feasible set under recency, protocol, budget, and learned-risk constraints, abstaining when no set is sufficiently safe. On WorkBuddyBench Full260, DRSR increases mean reward from 0.699 to 0.802 while reducing total model tokens by 20.820%. On the fixed Eval40 comparison, it obtains 0.794 reward at 1.211M tokens per task, using 35.850% fewer tokens than the uncompressed agent. Mechanistic analyses and ablations further show that decision-conditioned relations, retained-context information, pair interactions, and abstention each contribute to reliable pruning.
Create a lesson
Metadata
- Comments
- 34 pages
Related papers
Stable Geometry with Divergent Task Evidence for Efficient Long-Horizon Agent Compression
Shared title terminologycs.AIMingxuan Wang, Fei Luo, Bo Wang et al.
CliffCompaction: Cost-Efficient Compaction for Long-Horizon Coding Agents
Shared title terminologycs.AITrang Nguyen, Eulrang Cho, Bingqing Chen et al.
DMC-5: Dual-Model Collaboration with Cache-aware Context Compression for Long-horizon Agents
Shared title terminologycs.AIHaochen Li, Xiaobing Tu, Yinggui Wang et al.
When Can Agents Forget Their Reasoning? ICLR for Long-Horizon Agent Context Compression
Shared title terminologycs.AIMingxuan Wang, Fei Luo, Bo Wang et al.
The Tasteful Agent: Measuring and Improving Taste in Long-Horizon Tasks
Shared title terminologycs.AIWenbo Pan, Zhichao Liu, Shujie Liu et al.
E2SIM: Long-Horizon Simulation of Everyday Human Behavior with Evolving States
Shared title terminologycs.AIZiwei Gong, Xiangyang Yin, Thai Quoc On et al.