potentialpaper

RECAP: Training Long-horizon LLM Agents with Context Compaction

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:45 UTC · 43c5e6f084e1 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "ndcpJFV6A3"
- }
- ],
- "title": "RECAP: Training Long-horizon LLM Agents with Context Compaction",
- "authors": [],
- "abstract": "Context compaction enables large language model (LLM) agents to tackle long-horizon tasks within limited context budgets by replacing interaction histories with compressed summaries. However, learning effective compaction jointly with the agent policy remains challenging, as each summary’s effect on task success unfolds over many subsequent interactions. We introduce RECAP, a reinforcement learning (RL) framework based on the principle that a summary should preserve the behavior induced by the original interaction history. We formalize this principle with a behavior distortion objective that measures the divergence between the agent’s subsequent behavior under compressed and original contexts. Its gradient decomposes into two complementary learning signals: distortion-based reward for summary generation and self-distillation for subsequent actions. Together with the task-success objective, these signals jointly optimize context compaction and the agent policy. Experiments on BrowseComp-Plus and SWE-bench Verified demonstrate the benefit of \\method compared to other RL baselines.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "14a4aaf9-8d6e-4e3d-a79a-87acfea3de52"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "RECAP: Training Long-horizon LLM Agents with Context Compaction",
+ "authors": [],
+ "abstract": "Context compaction enables large language model (LLM) agents to tackle long-horizon tasks within limited context budgets by replacing interaction histories with compressed summaries. However, learning effective compaction jointly with the agent policy remains challenging, as each summary’s effect on task success unfolds over many subsequent interactions. We introduce RECAP, a reinforcement learning (RL) framework based on the principle that a summary should preserve the behavior induced by the original interaction history. We formalize this principle with a behavior distortion objective that measures the divergence between the agent’s subsequent behavior under compressed and original contexts. Its gradient decomposes into two complementary learning signals: distortion-based reward for summary generation and self-distillation for subsequent actions. Together with the task-success objective, these signals jointly optimize context compaction and the agent policy. Experiments on BrowseComp-Plus and SWE-bench Verified demonstrate the benefit of \\method compared to other RL baselines.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}