LeanMem: Simple and Efficient Long-Term Memory for LLM Agents
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Long-term memory is essential for LLM-based agents to sustain interactions and reliably leverage distant history. However, existing memory systems typically process heterogeneous dialogue content through a uniform summarization and retrieval pipeline, leading to either excessive token consumption or irreversible loss of fine-grained evidence. We argue that historical dialogue content should be handled differently according to its compressibility, temporal dynamics, and fidelity requirements. Based on this insight, we propose LeanMem, a lightweight long-term memory framework. LeanMem first filters out low-value content, then stores informative segments as compact profile memory, temporally structured event memory, or source-grounded record memory, depending on the nature of the information. During maintenance, only dynamically evolving event memories are selectively updated, avoiding redundant consolidation of stable profiles and immutable records. During inference, LeanMem dynamically selects memory types and allocates retrieval budgets according to query-specific evidence demands, assembling relevant evidence on demand. On LoCoMo and LongMemEval-S with GPT-4.1-mini and Qwen3-8B, LeanMem improves accuracy over the strongest memory-based baseline in every setting, by up to 15.1 points, at the lowest or near-lowest construction cost, inference tokens, and latency. The code and datasets are included in the supplementary materials.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 18 of its 20 references that are in the map. First posted on arXiv 4 Aug 2026.
Builds on
18 of 20 references.
Closest ancestors · 10
Same direction, newest first
- 2026MemSearch-o1: Empowering Large Language Models with Reasoning-Aligned Memory Growth in Agentic Search19 Apr
- 2026Exploratory Memory-Augmented LLM Agent via Hybrid On- and Off-Policy Optimization26 Feb
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agents14 Jan
- 2026SimpleMem: Efficient Lifelong Memory for LLM Agents5 Jan
- 2025Memory in the Age of AI Agents15 Dec
- 2025CAM: A Constructivist View of Agentic Memory for LLM-Based Reading Comprehension7 Oct
- 2025In Prospect and Retrospect: Reflective Memory Management for Long-term Personalized Dialogue Agents11 Mar
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
- 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb
Other references · 8
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 707
- 2025LightMem: Lightweight and Efficient Memory-Augmented Generationcited by 180
- 2025From LLM Reasoning to Autonomous AI Agents: A Comprehensive Reviewcited by 149
- 2025From Human Memory to AI Memory: A Survey on Memory Mechanisms in the Era of LLMscited by 124
- 2025On Memory Construction and Retrieval for Personalized Conversational Agentscited by 105
- 2025Pre-Storage Reasoning for Episodic Memory: Shifting Inference Burden to Memory for Personalized Dialoguecited by 18
- 2026From Atom to Community: Structured and Evolving Agent Memory for User Behavior Modelingcited by 3
- 2026HingeMem: Boundary Guided Long-Term Memory with Query Adaptive Retrieval for Scalable Dialoguescited by 2
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Mnemon: Raw Records, Fast Judgments, Slow Thoughtscited by 2
- 2026When Does Selection Replace Extraction? A Pre-Registered Test of Agent Memory with a Typed Decision Modelcited by 1
- 2026MemFold: Learning Compact Soft Memory for Long-Context Personalization via On-Policy Optimizationcited by 0
- 2026When Should Agents Check External State? Budgeting Observations for Stored Intentionscited by 0
- 2026When Should Agents Check External State? Budgeting Observations for Stored Intentions29 Sep 2026
- 2026MemFold: Learning Compact Soft Memory for Long-Context Personalization via On-Policy Optimization29 Sep 2026
- 2026Mnemon: Raw Records, Fast Judgments, Slow Thoughts28 Sep 2026
- 2026When Does Selection Replace Extraction? A Pre-Registered Test of Agent Memory with a Typed Decision Model28 Sep 2026
Similar, not cited
Close in wording, no citation either way
- 2026LazyMem: Retrieve Broadly, Construct Selectively for Efficient Long-Term Agent Memory
- 2026DimMem: Dimensional Structuring for Efficient Long-Term Agent Memory
- 2026HiGMem: A Hierarchical and LLM-Guided Memory System for Long-Term Conversational Agents
- 2026Remember by Asking: Retrieval-Induced Memory Evolution for LLM Agents
- 2026Beyond Memory Construction: Rethinking Memory Access for LLM-based Conversational Agents
- 2026Beyond Dialogue Time: Temporal Semantic Memory for Personalized LLM Agents
- 2026MemRefine: LLM-Guided Compression for Long-Term Agent Memory
- 2026HiMem: Hierarchical Long-Term Memory for LLM Long-Horizon Agents