Skip to content
English

Switch theme

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.

6HF upvotes
1GitHub stars
0Citations (Semantic Scholar)
23.3Buzz score

Read on arXiv PDF Hugging Face discussion Code Project page

Related papers

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.

Data updated: Latest AI papers(UTC+8)