HyperMem: Hypergraph Memory for Long-Term Conversations
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Question Answering | LoCoMo (test) | Single-hop Score96.08 | 24 | |
| Long-Memory Question Answering | Locomo | Accuracy (Single-Hop)96.08 | 22 | |
| Long-term memory conversation-based question answering | Locomo | Accuracy (Single-Hop)96.08 | 11 | |
| Associative multi-session conversation question answering | LoCoMo-Plus | Accuracy48.63 | 8 | |
| Multi-session Conversation Question Answering | Locomo | Accuracy77.01 | 8 | |
| Proactive memory triggering | ProactiveMemBench | Recall@5 (Behavioral)58.51 | 8 |