From Isolated Conversations to Hierarchical Schemas: Dynamic Tree Memory Representation for LLMs
摘要
Recent advancements in large language models have significantly improved their context windows, yet challenges in effective long-term memory management remain. We introduce MemTree, an algorithm that leverages a dynamic, treestructured memory representation to optimize the organization, retrieval, and integration of information, akin to human cognitive schemas. MemTree organizes memory hierarchically, with each node encapsulating aggregated textual content, corresponding semantic embeddings, and varying abstraction levels across the tree's depths. Our algorithm dynamically adapts this memory structure by computing and comparing semantic embeddings of new and existing information to enrich the model's context-awareness. This approach allows MemTree to handle complex reasoning and extended interactions more effectively than traditional memory augmentation methods, which often rely on flat lookup tables. Evaluations on benchmarks such as the Multi-Session Chat (MSC) and MultiHop RAG show that MemTree significantly enhances performance in scenarios that demand structured memory management. Figure 1: MemTree (subset) developed on the MultiHop RAG [18]. MemTree updates its structured knowledge when new information arrives, enhancing inference-time reasoning capabilities of LLMs. Related Work Recent large language models (LLMs), such as , PaLM [3], and LLaMA [19], excel in various natural language processing tasks but struggle with long-term memory and retrieving information from past interactions. Researchers have explored leveraging external memory for longrange reasoning in traditional RNNs [20, 16, 10, 12] . Building on these concepts, recent methods aim to augment LLMs with enhanced memory capabilities.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- MemoryBank: Enhancing Large Language Models with Long-Term Memory 引用了 Beyond Goldfish Memory: Long-Term Open-Domain Conversation
- CAM: A Constructivist View of Agentic Memory for LLM-Based Reading Comprehension 引用了 MemoryBank: Enhancing Large Language Models with Long-Term Memory
- CAM: A Constructivist View of Agentic Memory for LLM-Based Reading Comprehension 引用了 RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
- CAM: A Constructivist View of Agentic Memory for LLM-Based Reading Comprehension 引用了 Generative Agents: Interactive Simulacra of Human Behavior
- From Single to Multi-Granularity: Toward Long-Term Memory Association and Selection of Conversational Agents 引用了 MemoryBank: Enhancing Large Language Models with Long-Term Memory
- From Single to Multi-Granularity: Toward Long-Term Memory Association and Selection of Conversational Agents 引用了 Beyond Goldfish Memory: Long-Term Open-Domain Conversation
- From Single to Multi-Granularity: Toward Long-Term Memory Association and Selection of Conversational Agents 引用了 RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
- From Single to Multi-Granularity: Toward Long-Term Memory Association and Selection of Conversational Agents 引用了 Generative Agents: Interactive Simulacra of Human Behavior
- Mem2ActBench: A Benchmark for Evaluating Long-Term Memory Utilization in Task-Oriented Autonomous Agents 引用了 MemoryBank: Enhancing Large Language Models with Long-Term Memory
- Mem2ActBench: A Benchmark for Evaluating Long-Term Memory Utilization in Task-Oriented Autonomous Agents 引用了 Beyond Goldfish Memory: Long-Term Open-Domain Conversation
- Mem2ActBench: A Benchmark for Evaluating Long-Term Memory Utilization in Task-Oriented Autonomous Agents 引用了 Generative Agents: Interactive Simulacra of Human Behavior
- Explicit v.s. Implicit Memory: Exploring Multi-hop Complex Reasoning Over Personalized Information 引用了 MemoryBank: Enhancing Large Language Models with Long-Term Memory
- LongRoPE: Extending LLM Context Window Beyond 2 Million Tokens 引用了 Generative Agents: Interactive Simulacra of Human Behavior
- LightMem: Lightweight and Efficient Memory-Augmented Generation 引用了 MemoryBank: Enhancing Large Language Models with Long-Term Memory
- LightMem: Lightweight and Efficient Memory-Augmented Generation 引用了 RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
- LightMem: Lightweight and Efficient Memory-Augmented Generation 引用了 Generative Agents: Interactive Simulacra of Human Behavior
引用它的顶会 Paper16
- LightMem: Lightweight and Efficient Memory-Augmented GenerationJizhan Fang, Xinle Deng, Haoming Xu, Ziyan Jiang 等ICLR 2026 · 162 次引用
- CAM: A Constructivist View of Agentic Memory for LLM-Based Reading ComprehensionRui Li, Zeyu Zhang, Xiaohe Bo, Zihang Tian 等NeurIPS 2025 · 29 次引用
- From Single to Multi-Granularity: Toward Long-Term Memory Association and Selection of Conversational AgentsDerong Xu, Yi Wen, Pengyue Jia, Yingyi Zhang 等ICLR 2026 · 28 次引用
- Mem2ActBench: A Benchmark for Evaluating Long-Term Memory Utilization in Task-Oriented Autonomous AgentsYiting Shen, Kun Li, Wei Zhou, Songlin HuACL 2026 · 12 次引用
- Explicit v.s. Implicit Memory: Exploring Multi-hop Complex Reasoning Over Personalized InformationZeyu Zhang, Yang Zhang, Haoran Tan, Rui Li 等KDD 2026 · 11 次引用
它引用的 Paper5
- Generative Agents: Interactive Simulacra of Human BehaviorJoon Sung Park, Joseph C. O'Brien, Carrie Jun Cai, Meredith Ringel Morris 等UIST 2023 · 1,882 次引用
- RAPTOR: Recursive Abstractive Processing for Tree-Organized RetrievalParth Sarthi, Salman Abdullah, Aditi Tuli, Shubh Khanna 等ICLR 2024 · 460 次引用
- MemoryBank: Enhancing Large Language Models with Long-Term MemoryWanjun Zhong, Lianghong Guo, Qiqi Gao, He Ye 等AAAI 2024 · 394 次引用
- Beyond Goldfish Memory: Long-Term Open-Domain ConversationJing Xu, Arthur Szlam, Jason WestonACL 2022 · 329 次引用
- LongRoPE: Extending LLM Context Window Beyond 2 Million TokensYiran Ding, Li Lyna Zhang, Chengruidong Zhang, Yuanyuan Xu 等ICML 2024 · 316 次引用
相关 Paper
- MemInsight: Autonomous Memory Augmentation for LLM AgentsRana Salama, Jason Cai, Michelle Yuan, Anna Currey 等EMNLP 2025 · 1 次引用
- M+: Extending MemoryLLM with Scalable Long-Term MemoryYu Wang, Dmitry Krotov, Yuanzhe Hu, Yifan Gao 等ICML 2025
- MemGraphRAG: Memory-based Multi-Agent System for Graph Retrieval-Augmented GenerationChuanjie Wu, Zhishang Xiang, Yunbo Tang, Zerui Chen 等KDD 2026 · 1 次引用
- LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive MemoryDi Wu, Hongwei Wang, Wenhao Yu, Yuwei Zhang 等ICLR 2025
- HGMem: Hypergraph-based Working Memory to Improve Multi-step RAG for Long-Context Complex Relational ModelingChulun Zhou, Chunkang Zhang, Guoxin Yu, Fandong Meng 等ICML 2026 · 4 次引用
