atlas

Research map / Multi-agent systems and games / LLM agents

Scaling Long-Horizon Agent via Context Folding

ICML 2026 · Multi-agent systems and games › LLM agents · approach: Self-evolving language agent learning

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Context Folding, where an LLM agent learns to branch into sub-trajectories and fold them back into a summary, trained end-to-end with FoldGRPO (GRPO plus token-level process rewards), reaching 62.0% on BrowseComp-Plus and 58.0% on SWE-Bench Verified with a 32K active context.

Problem

LLM agents on long-horizon tasks accumulate ever-growing interaction histories, which degrade reasoning and efficiency; existing fixes are post-hoc summarization or handcrafted multi-agent workflows that resist end-to-end optimization.

Approach

Give the agent learnable branch and return tools that fold the intermediate steps of a sub-task into a short return message, and train this behavior with RL using a folded-context GRPO variant with token-level process penalties (unfolded token, out-of-scope, failure) on top of outcome reward.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: BrowseComp-Plus SWE-Gym SWE-Rebench

Benchmarks: BrowseComp-Plus SWE-Bench Verified

Metrics: pass@1 tool calls finish rate scope accuracy number of branches

Baselines: ReAct agent Summary agent GRPO GPT-5 GPT-4.1 DeepSeek-V3.1 GLM-4.5-Air Qwen3-235B-A22B

Builds on: GRPO ReAct VeRL OpenHands

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy