RECAP: RL Framework for Context Compaction Boosts LLM Agents by 4.6% on BrowseComp-plus
Yulun Jiang · hf · 2026-11-25
Researchers from EPFL and ETH Zurich introduce RECAP, a reinforcement learning framework that optimizes context compaction so LLM agents can handle long-horizon tasks within limited context budgets.
- Core principle: a good summary should preserve the behavior induced by the original interaction history, formalized as a behavioral distortion objective measuring divergence between agent behavior under compressed vs. original contexts.
- The objective's gradient decomposes into two complementary signals: distortion-based reward for summary generation and self-distillation for subsequent actions.
- On Qwen3.5-4B, RECAP consistently beats task-reward-only RL baselines, with absolute gains of 4.6% on BrowseComp-plus and 4.3% on SWE-bench Verified.
- Ablations highlight the value of jointly supervising summaries and actions.
More from coding & agent
- Moltspace: A Public MCP Directory Where AI Agents Register Themselves and Log Their Work — junksone · 2026-11-25
- Solo Dev Built a Clinic Waitlist Automation in Zapier, Asks What to Automate Next — SexyMint · 2026-11-25
- Code to Video meets Video to Code: Guizang demos bidirectional MAGI-2 workflow — op7418 · 2026-11-25
- Hugging Face open-sources Nightwatch, a security agent that caught a zero-day exploit attempt in the wild — Thom_Wolf · 2026-11-25
- "RAG is GenAI's most economically impactful application" — Cursor and Claude Code are RAG at core — js_craft_hq · 2026-11-25
- Mystery model HungerG aces real coding test: interactive dashboard with linked filters and self-checks — Div_pradeep · 2026-11-25