Scaling Long-Horizon Agent via Context Folding
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 18:47 UTC · f16e7646c29f ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,27 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "JaLXQnA2wi"- }- ],- "title": "Scaling Long-Horizon Agent via Context Folding",- "authors": [- "Weiwei Sun",- "Miao Lu",- "Zhan Ling",- "Kang Liu",- "Xuesong Yao",- "Yiming Yang",- "Jiecao Chen"- ],- "abstract": "Large language model (LLM) agents are fundamentally constrained by context length on long-horizon tasks. \nExisting agent frameworks usually rely on manually defined context engineering pipelines, such as multi-agent or post-hoc summary.\nWe introduce Context Folding, a framework that empowers agents to actively manage their working context. \nAn agent can procedurally branch into a sub-trajectory to handle a subtask and then fold it upon completion, collapsing the intermediate steps while retaining a concise summary of the outcome. \nTo make this behavior learnable, we propose FoldPO, an end-to-end reinforcement learning framework with specific process rewards to encourage effective task decomposition and context management. \nOn complex long-horizon tasks, our agent matches the performance of baselines while using an active context up to 10$\\times$ smaller, and significantly outperforms models constrained to the same context size.",- "year": 2026,- "venue": "ICLR 2026 submission",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "6580d3d5-373b-4ac5-a69f-d7e55e582761"}
paper.json added
+++ b/paper.json@@ -0,0 +1,17 @@+{+ "title": "Scaling Long-Horizon Agent via Context Folding",+ "authors": [+ "Weiwei Sun",+ "Miao Lu",+ "Zhan Ling",+ "Kang Liu",+ "Xuesong Yao",+ "Yiming Yang",+ "Jiecao Chen"+ ],+ "abstract": "Large language model (LLM) agents are fundamentally constrained by context length on long-horizon tasks. \nExisting agent frameworks usually rely on manually defined context engineering pipelines, such as multi-agent or post-hoc summary.\nWe introduce Context Folding, a framework that empowers agents to actively manage their working context. \nAn agent can procedurally branch into a sub-trajectory to handle a subtask and then fold it upon completion, collapsing the intermediate steps while retaining a concise summary of the outcome. \nTo make this behavior learnable, we propose FoldPO, an end-to-end reinforcement learning framework with specific process rewards to encourage effective task decomposition and context management. \nOn complex long-horizon tasks, our agent matches the performance of baselines while using an active context up to 10$\\times$ smaller, and significantly outperforms models constrained to the same context size.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}