Abstract
Complex reasoning in tool-augmented agent frameworks is inherently long-horizon, causing reasoning traces and transient tool artifacts to accumulate and strain the bounded working context of large language models. Without explicit memory mechanisms, such accumulation disrupts logical continuity and undermines task alignment. This positions memory not as an auxiliary efficiency concern, but as a core component for sustaining coherent, goal-directed reasoning over long horizons. We propose MemoBrain, an executive memory model for tool-augmented agents that constructs a dependency-aware memory over reasoning steps, capturing salient intermediate states and their logical relations. Operating as a co-pilot alongside the reasoning agent, MemoBrain organizes reasoning progress without blocking execution and actively manages the working context. Specifically, it prunes invalid steps, folds completed sub-trajectories, and preserves a compact, high-salience reasoning backbone under a fixed context budget. Together, these mechanisms enable explicit cognitive control over reasoning trajectories rather than passive context accumulation. We evaluate MemoBrain on challenging long-horizon benchmarks, including GAIA, WebWalker, and BrowseComp-Plus, demonstrating consistent improvements over strong baselines.
Abstract (translated)
在增强型代理框架中,复杂的推理本质上具有长远的时间跨度,导致推理过程中的痕迹和临时工具生成的副产品积累,并给大型语言模型的工作上下文带来了压力。如果没有明确的记忆机制,在这种情况下积累的现象会破坏逻辑连贯性并削弱任务的相关性。因此,记忆不再是辅助性的效率问题,而是维持长时间范围内连贯、目标导向推理的核心组成部分。 我们提出了一种名为MemoBrain的执行记忆模型,该模型专门针对增强型代理设计,能够在每次推理步骤中构建一个依赖关系感知的记忆结构,捕捉到显著的中间状态及其逻辑关联。作为推理代理的一个助手,MemoBrain组织推理过程而不阻碍执行,并积极管理工作上下文。具体来说,它会删除无效步骤、折叠已完成的子轨迹,并在固定的工作上下文预算下保留紧凑且具有高相关性的推理骨干。 通过这些机制,MemoBrain能够实现对推理路径的显性认知控制,而不是被动地积累背景信息。我们已经在包括GAIA、WebWalker和BrowseComp-Plus在内的挑战性长时域基准测试中评估了MemoBrain,并证明它比强大的基线模型有持续改进的表现。
URL
https://arxiv.org/abs/2601.08079