Don't Lose the Thread: Empowering Long-Horizon LLM Agents with Cognitive Resource Self-Allocation
Abstract
Agents powered by large language models (LLMs) have demonstrated remarkable progress in solving complex reasoning tasks. However, LLM agents often falter on long-horizon tasks due to cognitive overload, as their working memory becomes cluttered with expanding and irrelevant information, which dilutes their attention and hinders effective planning and reasoning. To mitigate this challenge, we introduce Cognitive Resource Self-Allocation (CORAL), a novel reasoning paradigm that empowers agents to proactively optimize their context. Implemented as an agent-callable working memory management toolset, CORAL allows an agent to checkpoint its task progress and verified facts, and adaptively initiate a new problem-solving episode by resetting cluttered context while preserving only the checkpointed information, enabling it to resume reasoning from a clean state. We further enhance the agent's checkpointing capabilities using a Multi-episode Agentic Reinforced Policy Optimization algorithm. On the GAIA benchmark, CORAL with an 8B model achieves 42.8% average accuracy, with particularly strong gains on the most challenging long-horizon tasks (Level 2 and Level 3). Crucially, these gains come at a substantially lower inference cost: CORAL consumes 6-7 fewer input tokens than a ReAct agent. It also generalizes to multi-hop Knowledge QA benchmarks and to the considerably harder BrowseComp, where it improves a strong proprietary agent by 8.0 points.
Create a lesson
Metadata
- Comments
- Accepted at COLM 2026. Code is available at https://github.com/JIA-Lab-research/CORAL
Related papers
MemRole: From Memories to Decisions for Long-Horizon Reasoning in Role-Playing Agents
Shared title terminologycs.CLMengting Li, Xilong Cheng, Zhihao Xiao et al.
KEEPER: Learning Control-Sufficient Textual Memory for Long-Horizon LLM Agents
Shared title terminologycs.CLJinkyeong Choi, Chaebin Jeong, Junsung Jeon et al.
In-Model Context Compression with Agentic Soft Tokens for Long-Horizon LLM Agents
Shared title terminologycs.CLXuning He, Kai Fan, Runyu Zhang et al.
MERIT: Experience-Guided Memory for Long-Horizon Persona-Specific Persuasive Dialogue
Shared title terminologycs.CLRohan Kirti, Akash Ghosh, Pratik Amrit et al.
TrackMem: Tracking Evolving Beliefs in Long-Horizon Financial Dialogue
Shared title terminologycs.CLAustin M. Y. Cheung, Harsh Vardhan Gupta, Go Nam Lui et al.
ContextFact: Remembering Facts in Context for Long-Term Conversational Agents
Shared title terminologycs.CLJiayu Huang, Yichao Cai, Xinyu Li et al.