LightMem: Lightweight and Efficient Memory-Augmented Generation
Jizhan Fang, Xinle Deng, Haoming Xu, Ziyan Jiang, Yuqi Tang, Ziwen Xu, Shumin Deng, Yunzhi Yao, Mengru Wang, Shuofei Qiao, Huajun Chen, Ningyu Zhang
Abstract
Despite their remarkable capabilities, Large Language Models (LLMs) struggle to effectively leverage historical interaction information in dynamic and complex environments. Memory systems enable LLMs to move beyond stateless interactions by introducing persistent information storage, retrieval, and utilization mechanisms. However, existing memory systems often introduce substantial time and computational overhead. To this end, we introduce a new memory system called LightMem, which strikes a balance between the performance and efficiency of memory systems. Inspired by the Atkinson-Shiffrin model of human memory, LightMem organizes memory into three complementary stages. First, cognition-inspired sensory memory rapidly filters irrelevant information through lightweight compression and groups information according to their topics. Next, topic-aware short-term memory consolidates these topic-based groups, organizing and summarizing content for more structured access. Finally, long-term memory with sleep-time update employs an offline procedure that decouples consolidation from online inference. On LONGMEMEVAL and LOCOMO, using GPT and Qwen backbones, LightMem consistently surpasses strong baselines, improving QA accuracy by up to 7.7% / 29.3%, reducing total token usage by up to 38× / 20.9× and API calls by up to 30× / 55.5×, while purely online test-time costs are even lower, achieving up to 106× / 117× token reduction and 159× / 310× fewer API calls. The code is available at https://github.com/zjunlp/LightMem .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Fine-Mem: Fine-Grained Feedback Alignment for Long-Horizon Memory Management cites A-Mem: Agentic Memory for LLM Agents
- RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- What Deserves Memory: Adaptive Memory Distillation for LLM Agents cites Generative Agents: Interactive Simulacra of Human Behavior
- What Deserves Memory: Adaptive Memory Distillation for LLM Agents cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- What Deserves Memory: Adaptive Memory Distillation for LLM Agents cites A-Mem: Agentic Memory for LLM Agents
- HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models cites RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
- HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Memory is Reconstructed, Not Retrieved: Graph Memory for LLM Agents cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Memory is Reconstructed, Not Retrieved: Graph Memory for LLM Agents cites A-Mem: Agentic Memory for LLM Agents
- HyperMem: Hypergraph Memory for Long-Term Conversations cites RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
- HyperMem: Hypergraph Memory for Long-Term Conversations cites HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models
- HyperMem: Hypergraph Memory for Long-Term Conversations cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- HyperMem: Hypergraph Memory for Long-Term Conversations cites A-Mem: Agentic Memory for LLM Agents
- A-Mem: Agentic Memory for LLM Agents cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Cited by top-tier papers8
- What Deserves Memory: Adaptive Memory Distillation for LLM AgentsWenquan Ma, Jiayan Nan, Wenlong WuACL 2026 · 32 citations
- MemOCR: Layout-Aware Visual Memory for Efficient Long-Horizon ReasoningYaorui Shi, Shugui Liu, Yu Yang, Wenyu Mao et al.ICML 2026 · 13 citations
- HyperMem: Hypergraph Memory for Long-Term ConversationsJuwei Yue, Chuanrui Hu, Jiawei Sheng, Zuyi Zhou et al.ACL 2026 · 4 citations
- Memory is Reconstructed, Not Retrieved: Graph Memory for LLM AgentsShuo Ji, yibo li, Bryan HooiICML 2026 · 3 citations
- Fine-Mem: Fine-Grained Feedback Alignment for Long-Horizon Memory ManagementWeitao Ma, Xiaocheng Feng, Lei Huang, Xiachong Feng et al.ACL 2026 · 2 citations
Builds on21
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
- Generative Agents: Interactive Simulacra of Human BehaviorJoon Sung Park, Joseph C. O'Brien, Carrie Jun Cai, Meredith Ringel Morris et al.UIST 2023 · 1,882 citations
- A-Mem: Agentic Memory for LLM AgentsWujiang Xu, Zujie Liang, Kai Mei, Hang Gao et al.NeurIPS 2025 · 1,138 citations
- RAPTOR: Recursive Abstractive Processing for Tree-Organized RetrievalParth Sarthi, Salman Abdullah, Aditi Tuli, Shubh Khanna et al.ICLR 2024 · 460 citations
- HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language ModelsBernal Jimenez Gutierrez, Yiheng Shu, Yu Gu, Michihiro Yasunaga et al.NeurIPS 2024 · 395 citations
Related papers
- Lightweight LLM Agent Memory with Small Language ModelsJiaquan Zhang, Chaoning Zhang, Shuxu Chen, Zhenzhen Huang et al.ACL 2026 · 4 citations
- SimpleMem: Efficient Lifelong Memory for LLM AgentsJiaqi Liu, Yaofeng Su, Peng Xia, Siwei Han et al.ICML 2026 · 112 citations
- HingeMem: Boundary Guided Long-Term Memory with Query Adaptive Retrieval for Scalable DialoguesYijie Zhong, Yunfan Gao, Haofen WangWWW 2026
- RecMem: Recurrence-based Memory Consolidation for Efficient and Effective Long-Running LLM AgentsZijie Dai, Shiyuan Deng, Sheng Guan, Yizhou Tian et al.ACL Findings 2026
- Chain-of-Memory: Lightweight Memory Construction with Dynamic Evolution for LLM AgentsXiucheng Xu, Bingbing Xu, Tian Xueyun, Zihe Huang et al.ACL 2026 · 4 citations
