arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.06152cs.AI
收藏

HiMeS:基于海马体的记忆系统用于个性化AI助手

HiMeS: Hippocampus-inspired Memory System for Personalized AI Assistants

Tencent Inc.(腾讯公司)

Hailong Li, Feifei Li, Wenhui Que, Xingyu Fan

AI总结:

HiMeS通过融合短期和长期记忆机制,提升个性化AI助手在知识密集型场景中的问答质量与用户定制能力。

摘要:

大型语言模型(LLMs) powering 许多交互系统,如聊天机器人、客户服务代理和个人助手。在需要用户特定个性化知识密集型场景中,传统检索增强生成(RAG)管道表现出有限的记忆容量和检索机制与用户特定对话历史之间协调不足,导致冗余澄清、不相关文档和降级的用户体验。受海马体-新皮层记忆机制的启发,我们提出了HiMeS,一种融合短期和长期记忆的AI助手架构。我们的贡献有四点:(1)一个短期记忆提取器通过强化学习端到端训练,压缩最近对话并主动从知识库预检索文档,模拟海马体与前额叶皮层的协作交互。(2)一个分区的长期记忆网络存储用户特定信息并重新排序检索文档,模拟分布式皮层存储和记忆再激活。(3)在真实世界工业数据集上,HiMeS在问答质量上显著优于级联RAG基线。(4)消融研究证实了两个记忆模块的必要性,并建议了一条通往更可靠、上下文感知、用户定制的基于LLM的助手的实用路径。

英文摘要:

Large language models (LLMs) power many interactive systems such as chatbots, customer-service agents, and personal assistants. In knowledge-intensive scenarios requiring user-specific personalization, conventional retrieval-augmented generation (RAG) pipelines exhibit limited memory capacity and insufficient coordination between retrieval mechanisms and user-specific conversational history, leading to redundant clarification, irrelevant documents, and degraded user experience. Inspired by the hippocampus-neocortex memory mechanism, we propose HiMeS, an AI-assistant architecture that fuses short-term and long-term memory. Our contributions are fourfold: (1) A short-term memory extractor is trained end-to-end with reinforcement learning to compress recent dialogue and proactively pre-retrieve documents from the knowledge base, emulating the cooperative interaction between the hippocampus and prefrontal cortex. (2) A partitioned long-term memory network stores user-specific information and re-ranks retrieved documents, simulating distributed cortical storage and memory reactivation. (3) On a real-world industrial dataset, HiMeS significantly outperforms a cascaded RAG baseline on question-answering quality. (4) Ablation studies confirm the necessity of both memory modules and suggest a practical path toward more reliable, context-aware, user-customized LLM-based assistants.

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

↑