HyperMem: Hypergraph Memory for Long-Term Conversations
Organizations: Institute of Information Engineering, Chinese Academy of Sciences · School of Cyber Security, University of Chinese Academy of Sciences · EverMind AI
Abstract
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.
Figures & tables
| Methods | Single-hop | Multi-hop | Temporal | Open Domain | Overall |
|---|---|---|---|---|---|
| GraphRAG Edge et al. (2024) | 79.55 | 54.96 | 50.16 | 58.33 | 67.60 |
| LightRAG Guo et al. (2025) | 86.68 | 84.04 | 60.75 | 71.88 | 79.87 |
| HippoRAG 2 Gutiérrez et al. (2025) | 86.44 | 75.89 | 78.50 | 66.67 | 81.62 |
| HyperGraphRAG Luo et al. (2025) | 90.61 | 80.85 | 85.36 | 70.83 | 86.49 |
| OpenAI 1 | 63.79 | 42.92 | 21.71 | 62.29 | 52.90 |
| LangMem 2 | 62.23 | 47.92 | 23.43 | 71.12 | 58.10 |
| Configuration | Overall (%) | |
|---|---|---|
| HyperMem | 92.66 | – |
| w/o FC | 91.75 | 0.91 |
| w/o EC | 88.90 | 3.76 |
| w/o TR | 91.94 | 0.72 |
| w/o TR & FC | 91.75 | 0.91 |
| w/o TR & EC | 88.83 | 3.83 |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
Long-Term Conversational Memory
Long-term conversational memory helps AI assistants retain, update, and use information from past conversations across sessions.
See all 267 papers