arXiv 2611.31258 · cs.CL · 2026-10-19
RECAP: Training Long-horizon LLM Agents with Context Compaction
Yulun Jiang, Maria Brbic, Michael Moor
Affiliation unverified
In latest · #555 Added on 2026-11-25
One-line takeaway
RECAP jointly optimizes summary generation and post-compaction behavior to improve long-horizon performance within limited context budgets.
RECAP框架通过行为一致性目标联合优化摘要生成与后续决策,使长时序任务下LLM代理在有限上下文内表现更优,显著提升BrowseComp-plus和SWE-bench Verified上的性能。
Key points
RECAP introduces a reinforcement learning framework that jointly trains context compaction and agent policy by enforcing behavioral consistency between original and compressed interaction histories. The method uses a distortion objective to measure behavioral divergence, decomposing into signals for summary generation and self-distillation of subsequent actions. Experiments on Qwen3.5-4B show consistent performance gains across long-horizon tasks.
- RECAP enforces behavioral consistency between original and compressed interaction histories.
- It uses a distortion objective to measure behavioral divergence during training.
- The gradient decomposes into signals for summary generation and self-distillation of actions.
- Outperforms task-reward-only baselines by 4.6% and 4.3% on BrowseComp-plus and SWE-bench Verified.
Written only from the official arXiv abstract by an open-source model, then checked automatically (every number and name must appear in the abstract). The paper is authoritative.
Read on arXiv PDF Hugging Face discussion Code Project page
Topics & disciplines
Related papers
- Same topic · Don't Just Trust Your Memory: Evidence-Linked Memory Reduces Memory-Induced Degradation in LLM Agents 2026-11-10
- Same topic · Harness-S: Learning from Sibling Harnesses for Generalizable Agent Training 2026-11-03
- Same period · Focused Omni-Modal GUI Agents 2026-10-19
About this data
Metadata from the arXiv API (verified); upvotes from Hugging Face Daily Papers; citations from Semantic Scholar. Last refreshed 2026-11-30.
The takeaway is written by AIMap from the abstract; the abstract itself is not reproduced — read the original.