用事件图结构让智能体像读逻辑地图一样高效回忆与推理。
Memory Matters More: Event-Centric Memory as a Logic Map for Agent Searching and Reasoning
- 以事件为单位构建带逻辑关系的内存图,替代扁平存储。
- 在LoCoMo和NarrativeQA上提升检索与长程推理效果。
- 适合需要复杂决策链的长期任务智能体使用。
大型语言模型正被广泛部署为能推理、规划并交互的智能体。为应对长周期任务,关键能力是具备可保留、组织和检索过往经验的记忆机制。然而,现有方法多采用扁平化存储,并依赖简单的相似性检索。即使引入结构化记忆,也常难以显式捕捉经验间的逻辑关系。且记忆访问与结构脱节,仍依赖浅层语义匹配,阻碍了对长周期依赖关系的逻辑推理。本文提出CompassMem,受事件分割理论启发,将记忆增量式划分为事件并以显式逻辑关系连接,形成事件图作为逻辑地图。该图支持智能体进行结构化、目标导向的记忆导航,逐步汇聚有价值信息以支撑长周期推理。在LoCoMo和NarrativeQA上的实验表明,CompassMem在多个主干模型上均持续提升检索与推理性能。
原文摘要 · Abstract (English)
Large language models (LLMs) are increasingly deployed as intelligent agents that reason, plan, and interact with their environments. To effectively scale to long-horizon scenarios, a key capability for such agents is a memory mechanism that can retain, organize, and retrieve past experiences to support downstream decision-making. However, most existing approaches organize and store memories in a flat manner and rely on simple similarity-based retrieval techniques. Even when structured memory is introduced, existing methods often struggle to explicitly capture the logical relationships among experiences or memory units. Moreover, memory access is largely detached from the constructed structure and still depends on shallow semantic retrieval, preventing agents from reasoning logically over long-horizon dependencies. In this work, we propose CompassMem, an event-centric memory framework inspired by Event Segmentation Theory. CompassMem organizes memory as an Event Graph by incrementally segmenting experiences into events and linking them through explicit logical relations. This graph serves as a logic map, enabling agents to perform structured and goal-directed navigation over memory beyond superficial retrieval, progressively gathering valuable memories to support long-horizon reasoning. Experiments on LoCoMo and NarrativeQA demonstrate that CompassMem consistently improves both retrieval and reasoning performance across multiple backbone models.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。