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

HyperMem:用于长期对话的超图记忆

HyperMem: Hypergraph Memory for Long-Term Conversations

Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);EverMind AI

Juwei Yue, Chuanrui Hu, Jiawei Sheng, Zuyi Zhou, Wenyuan Zhang, Tingwen Liu, Li Guo, Yafeng Deng

AI总结:

HyperMem通过超图结构建模高阶关联,提升长期对话中的记忆检索效率与准确性,实验表明其在LoCoMo基准上达到92.73%的LLM-as-a-judge准确率。

摘要:

长期记忆对于对话代理维持连贯性、跟踪持续任务和提供个性化交互至关重要。然而,现有方法如检索增强生成(RAG)和基于图的记忆大多依赖于成对关系,难以捕捉高阶关联,即多个元素之间的联合依赖,导致检索碎片化。为此,我们提出HyperMem,一种基于超图的分层记忆架构,通过超边显式建模这些关联。特别地,HyperMem将记忆分为三个层级:主题、片段和事实,并通过超边将相关片段及其事实分组,将分散内容统一为连贯单元。利用此结构,我们设计了一个混合的词法-语义索引和粗到细的检索策略,支持高阶关联的准确高效检索。在LoCoMo基准上的实验表明,HyperMem在LLM-as-a-judge准确率上达到92.73%,证明了HyperMem在长期对话中的有效性。

英文摘要:

Long-term memory is essential for conversational agents to maintain coherence, track persistent tasks, and provide personalized interactions across extended dialogues. However, existing approaches as Retrieval-Augmented Generation (RAG) and graph-based memory mostly rely on pairwise relations, which can hardly capture high-order associations, i.e., joint dependencies among multiple elements, causing fragmented retrieval. To this end, we propose HyperMem, a hypergraph-based hierarchical memory architecture that explicitly models such associations using hyperedges. Particularly, HyperMem structures memory into three levels: topics, episodes, and facts, and groups related episodes and their facts via hyperedges, unifying scattered content into coherent units. Leveraging this structure, we design a hybrid lexical-semantic index and a coarse-to-fine retrieval strategy, supporting accurate and efficient retrieval of high-order associations. Experiments on the LoCoMo benchmark show that HyperMem achieves state-of-the-art performance with 92.73% LLM-as-a-judge accuracy, demonstrating the effectiveness of HyperMem for long-term conversations.

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

↑