HyperMem: Hypergraph Memory for Long-Term Conversations
AI 摘要
HyperMem提出了一种基于超图的层次化记忆架构,用于增强对话Agent的长期记忆能力。
主要贡献
- 提出基于超图的层次化记忆架构HyperMem
- 设计混合词汇-语义索引和粗到精的检索策略
- 在LoCoMo基准测试上取得了SOTA性能
方法论
利用超边显式建模高阶关联,构建主题-事件-事实三层记忆,并采用混合索引和粗到精检索。
原文摘要
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.