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

Mnemis:基于分层图的双路检索用于长期LLM记忆

Mnemis: Dual-Route Retrieval on Hierarchical Graphs for Long-Term LLM Memory

Microsoft(微软)

Zihao Tang, Xin Yu, Ziyu Xiao, Zengxuan Wen, Zelin Li, Jiaxi Zhou, Hualei Wang, Haohua Wang, Haizhen Huang, Weiwei Deng, Feng Sun, Qi Zhang

AI总结:

Mnemis提出一种结合系统1相似性搜索和系统2全局选择机制的新型记忆框架,通过分层图实现语义层次的自顶向下检索,提升长期记忆检索性能。

摘要:

AI记忆,特别是模型如何组织和检索历史信息,对大型语言模型(LLMs)越来越有价值,但现有方法(RAG和Graph-RAG)主要通过相似性机制进行检索。虽然高效,但此类系统1式检索在需要全局推理或全面覆盖相关信息的场景中表现不足。在本文中,我们提出了Mnemis,一种新的记忆框架,整合了系统1相似性搜索与互补的系统2机制,称为全局选择。Mnemis将记忆组织为一个基础图用于相似性检索,以及一个分层图,使能够在语义层次上进行自顶向下的深入遍历。通过结合两种检索路线的互补优势,Mnemis检索出既在语义上又在结构上相关的信息。Mnemis在所有比较方法上均在长期记忆基准测试中取得最佳性能,使用GPT-4.1-mini在LoCoMo上得分为93.9,在LongMemEval-S上得分为91.6。

英文摘要:

AI Memory, specifically how models organizes and retrieves historical messages, becomes increasingly valuable to Large Language Models (LLMs), yet existing methods (RAG and Graph-RAG) primarily retrieve memory through similarity-based mechanisms. While efficient, such System-1-style retrieval struggles with scenarios that require global reasoning or comprehensive coverage of all relevant information. In this work, We propose Mnemis, a novel memory framework that integrates System-1 similarity search with a complementary System-2 mechanism, termed Global Selection. Mnemis organizes memory into a base graph for similarity retrieval and a hierarchical graph that enables top-down, deliberate traversal over semantic hierarchies. By combining the complementary strength from both retrieval routes, Mnemis retrieves memory items that are both semantically and structurally relevant. Mnemis achieves state-of-the-art performance across all compared methods on long-term memory benchmarks, scoring 93.9 on LoCoMo and 91.6 on LongMemEval-S using GPT-4.1-mini.

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

↑