Lightweight LLM Agent Memory with Small Language Models
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Although LLM agents can leverage tools for complex tasks, they still need memory to maintain cross-turn consistency and accumulate reusable information in long-horizon interactions. However, retrieval-based external memory systems incur low online overhead but suffer from unstable accuracy due to limited query construction and candidate filtering. In contrast, many systems use repeated large-model calls for online memory operations, improving accuracy but accumulating latency over long interactions. We propose LightMem, a lightweight memory system for better agent memory driven by Small Language Models (SLMs). LightMem modularizes memory retrieval, writing, and long-term consolidation, and separates online processing from offline consolidation to enable efficient memory invocation under bounded compute. We organize memory into short-term memory (STM) for immediate conversational context, mid-term memory (MTM) for reusable interaction summaries, and long-term memory (LTM) for consolidated knowledge, and uses user identifiers to support independent retrieval and incremental maintenance in multi-user settings. Online, LightMem operates under a fixed retrieval budget and selects memories via a two-stage procedure: vector-based coarse retrieval followed by semantic consistency re-ranking. Offline, it abstracts reusable interaction evidence and incrementally integrates it into LTM. Experiments show consistent gains across model scales, with an average F1 improvement of about 2.5 over A-MEM on LoCoMo, while achieving higher efficiency and low median latency (83 ms for retrieval and 581 ms end-to-end).
Key facts. Cited by 13 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 16 of its 42 references that are in the map. First posted on arXiv 9 Apr 2026.
Builds on
16 of 42 references.
Closest ancestors · 5
Same direction, newest first
- 2025MemBench: Towards More Comprehensive Evaluation on the Memory of LLM-based Agents20 Jun
- 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
- 2024A Human-Inspired Reading Agent with Gist Memory of Very Long Contexts15 Feb
Other references · 11
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
- 2024Understanding the planning of LLM agents: A surveycited by 421
- 2022Teaching Small Language Models to Reasoncited by 284
- 2025MultiAgentBench: Evaluating the Collaboration and Competition of LLM agentscited by 178
- 2024Small Language Model Can Self-correctcited by 23
- 2026Learning Global Hypothesis Space for Enhancing Synergistic Reasoning Chaincited by 17
- 2026Text summarization via global structure awarenesscited by 12
- 2024Are Small Language Models Ready to Compete with Large Language Models for Practical Applications?cited by 9
- 2024Smaller Large Language Models Can Do Moral Self-Correctioncited by 5
Built on by
Citing papers per year: 2026: 13.
13 papers.
Sort:
By area:
- 2026Anticipate and Learn: Unleashing Idle-Time Compute in Proactive Agentscited by 4
- 2026Transforming External Knowledge into Triplets for Enhanced Retrieval in RAG of LLMscited by 3
- 2026The Retriever Should Remember: Experience-Amortized Reranking for Long-Term Agent Memorycited by 2
- 2026CAP-CoT: Cycle Adversarial Prompt for Improving Chain of Thoughts in LLM Reasoningcited by 1
- 2026From Similarity to Structure: Training-free LLM Context Compression with Hybrid Graph Priorscited by 1
- 2026Making Prospective Memory SLM-Shaped: Typed Intention Stores for Small-Model Agentscited by 1
- 2026Memory Control Signals Emerge Before Action in Long Horizon Agentscited by 1
- 2026TF-SNO: Time-Frequency Gated Spectral Neural Operators for Learning Non-Stationary Partial Differential Equationscited by 0
- 2026State Compression in Two-Agent LLM Relays: A Closed-World Study of Constraint Preservationcited by 0
- 2026BudgetBench: A Budget-Tiered Protocol and Pilot Harness for Memory Strategy Evaluation in Local Large Language Model Agentscited by 0
- 2026When Should Agents Check External State? Budgeting Observations for Stored Intentionscited by 0
- 2026Learning to Retrieve Missing Evidence for Long-Term Memory QAcited by 0
1 more
- 2026Learning to Retrieve Missing Evidence for Long-Term Memory QA29 Sep 2026
- 2026When Should Agents Check External State? Budgeting Observations for Stored Intentions29 Sep 2026
- 2026MoR-MLLM: Mixture of Recursions for Efficient Multimodal Large Language Models27 Sep 2026
- 2026Memory Control Signals Emerge Before Action in Long Horizon Agents23 Sep 2026
- 2026Making Prospective Memory SLM-Shaped: Typed Intention Stores for Small-Model Agents1 Sep 2026
- 2026The Retriever Should Remember: Experience-Amortized Reranking for Long-Term Agent Memory24 Aug 2026
- 2026BudgetBench: A Budget-Tiered Protocol and Pilot Harness for Memory Strategy Evaluation in Local Large Language Model Agents1 Jul 2026
- 2026TF-SNO: Time-Frequency Gated Spectral Neural Operators for Learning Non-Stationary Partial Differential Equations19 Jun 2026
- 2026Anticipate and Learn: Unleashing Idle-Time Compute in Proactive Agents25 May 2026
- 2026State Compression in Two-Agent LLM Relays: A Closed-World Study of Constraint Preservation20 May 2026
- 2026From Similarity to Structure: Training-free LLM Context Compression with Hybrid Graph Priors25 Apr 2026
- 2026CAP-CoT: Cycle Adversarial Prompt for Improving Chain of Thoughts in LLM Reasoning25 Apr 2026
1 more
- 2026The Retriever Should Remember: Experience-Amortized Reranking for Long-Term Agent Memorycited by 2
- 2026Making Prospective Memory SLM-Shaped: Typed Intention Stores for Small-Model Agentscited by 1
- 2026Memory Control Signals Emerge Before Action in Long Horizon Agentscited by 1
- 2026State Compression in Two-Agent LLM Relays: A Closed-World Study of Constraint Preservationcited by 0
- 2026BudgetBench: A Budget-Tiered Protocol and Pilot Harness for Memory Strategy Evaluation in Local Large Language Model Agentscited by 0
- 2026Memory Control Signals Emerge Before Action in Long Horizon Agents23 Sep 2026
- 2026Making Prospective Memory SLM-Shaped: Typed Intention Stores for Small-Model Agents1 Sep 2026
- 2026The Retriever Should Remember: Experience-Amortized Reranking for Long-Term Agent Memory24 Aug 2026
- 2026BudgetBench: A Budget-Tiered Protocol and Pilot Harness for Memory Strategy Evaluation in Local Large Language Model Agents1 Jul 2026
- 2026State Compression in Two-Agent LLM Relays: A Closed-World Study of Constraint Preservation20 May 2026
- 2026Anticipate and Learn: Unleashing Idle-Time Compute in Proactive Agentscited by 4
- 2026TF-SNO: Time-Frequency Gated Spectral Neural Operators for Learning Non-Stationary Partial Differential Equationscited by 0
- 2026When Should Agents Check External State? Budgeting Observations for Stored Intentionscited by 0
- 2026Learning to Retrieve Missing Evidence for Long-Term Memory QAcited by 0
- 2026Learning to Retrieve Missing Evidence for Long-Term Memory QA29 Sep 2026
- 2026When Should Agents Check External State? Budgeting Observations for Stored Intentions29 Sep 2026
- 2026TF-SNO: Time-Frequency Gated Spectral Neural Operators for Learning Non-Stationary Partial Differential Equations19 Jun 2026
- 2026Anticipate and Learn: Unleashing Idle-Time Compute in Proactive Agents25 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026Reproducing LightMem: Naive RAG Is Just as Good for Memory Management ↗
- 2025LightMem: Lightweight and Efficient Memory-Augmented Generation
- 2024On the Structural Memory of LLM Agents
- 2026Evaluating Memory Structure in LLM Agents
- 2026DimMem: Dimensional Structuring for Efficient Long-Term Agent Memory
- 2026EdgeMem: LLM-Free Agent Memory Construction and Retrieval via Evidence-Preserving Multi-Anchor Hypergraph
- 2026SimpleMem: Efficient Lifelong Memory for LLM Agents
- 2026RecMem: Recurrence-based Memory Consolidation for Efficient and Effective Long-Running LLM Agents