arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.05794cs.AI
收藏

从被动检索到主动记忆导航:学习将记忆用作结构化动作空间

From Passive Retrieval to Active Memory Navigation: Learning to Use Memory as a Structured Action Space

Alibaba(阿里巴巴);ShanghaiTech University(上海科技大学);Zhejiang University(浙江大学);Peking University(北京大学);National University of Singapore(新加坡国立大学)

Yue Xu, Yutao Sun, Yihao Liu, Mengyu Zhou, Jiayi Qiao, Lu Ma, Kai Tang, Wenjie Wang, Xiaoxi Jiang, Guanjun Jiang

AI总结:

研究针对个性化对话代理中记忆系统的被动性问题,提出NapMem框架,将用户记忆组织成多粒度金字塔并通过工具暴露层次,经记忆工具强化学习训练智能体,在多任务实验中具竞争力,还进行了多方面分析,证明结构化存储与策略结合对长期用户记忆有益。

摘要:

长期用户记忆对个性化对话代理至关重要,但许多记忆系统仍通过被动检索接口暴露记忆,使模型成为预选证据的消费者。我们引入了NapMem框架,用于学习将长期用户记忆用作结构化动作空间而非被动检索的上下文。NapMem将用户历史组织成一个链接的多粒度记忆金字塔,通过溯源关系连接原始对话、类型化记忆记录、主题轨迹和用户简档,并通过记忆工具暴露这些层次。智能体经过训练,根据查询和中间证据选择记忆,使其在回答前能检查不同的记忆粒度。在PersonaMem-v2、LongMemEval和LoCoMo上的实验表明,通过记忆工具强化学习训练的NapMem智能体在各种记忆密集型任务中具有竞争力,而在非记忆任务上的评估表明,学习到的策略在很大程度上保留了一般推理和工具使用能力。额外的分析研究了存储、推理成本、工具使用行为以及对导航、记忆粒度和强化学习训练的消融。我们的结果表明,长期用户记忆受益于将结构化存储与以适当粒度使用记忆的学习策略相结合。

英文摘要:

Long-term user memory is essential for personalized conversational agents, yet many memory systems still expose memory through passive retrieval interfaces, making the model a consumer of pre-selected evidence. We introduce NapMem, a framework for learning to use long-term user memory as a structured action space rather than passively retrieved context. NapMem organizes user history into a linked multi-granularity memory pyramid, where raw conversations, typed memory records, topic tracks, and user profiles are connected through provenance relations, and exposes these levels through memory tools. The agent is trained to select memory according to the query and intermediate evidence, allowing it to inspect different memory granularities before answering. Experiments on PersonaMem-v2, LongMemEval, and LoCoMo show that a NapMem agent trained with memory-tool reinforcement learning is competitive across diverse memory-intensive tasks, while evaluations on non-memory tasks suggest that the learned policy largely preserves general reasoning and tool-use abilities. Additional analyses examine storage, inference cost, tool-use behavior, and ablations over navigation, memory granularity, and RL training. Our results suggest that long-term user memory benefits from coupling structured storage with a learned policy for using memory at the appropriate granularity.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑