MemWeaver: 为可追溯的长 horizon 代理推理编织混合记忆
MemWeaver: Weaving Hybrid Memories for Traceable Long-Horizon Agentic Reasoning
AI总结:
MemWeaver通过编织混合记忆系统,提升长 horizon 代理推理的准确性与可追溯性,减少输入上下文长度
摘要:
基于大语言模型的代理在长 horizon 交互中需要支持时间一致性、多跳推理和跨会话证据支持重用的记忆系统。现有方法大多依赖于无结构检索或粗略抽象,往往导致时间冲突、脆弱推理和有限可追溯性。我们提出MemWeaver,一种统一的记忆框架,将长期代理经验整合到三个相互关联的组件中:一个时间接地的图记忆用于结构化关系推理,一个经验记忆抽象出重复观察中的交互模式,以及一个段落记忆保存原始文本证据。MemWeaver采用双通道检索策略,联合检索结构化知识和支撑证据以构建紧凑但信息密集的推理上下文。在LoCoMo基准测试中,MemWeaver显著提高了多跳和时间推理准确性,同时将输入上下文长度比长上下文基线减少了超过95%。
英文摘要:
Large language model-based agents operating in long-horizon interactions require memory systems that support temporal consistency, multi-hop reasoning, and evidence-grounded reuse across sessions. Existing approaches largely rely on unstructured retrieval or coarse abstractions, which often lead to temporal conflicts, brittle reasoning, and limited traceability. We propose MemWeaver, a unified memory framework that consolidates long-term agent experiences into three interconnected components: a temporally grounded graph memory for structured relational reasoning, an experience memory that abstracts recurring interaction patterns from repeated observations, and a passage memory that preserves original textual evidence. MemWeaver employs a dual-channel retrieval strategy that jointly retrieves structured knowledge and supporting evidence to construct compact yet information-dense contexts for reasoning. Experiments on the LoCoMo benchmark demonstrate that MemWeaver substantially improves multi-hop and temporal reasoning accuracy while reducing input context length by over 95\% compared to long-context baselines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。