Learn to Memorize: Optimizing LLM-based Agents with Adaptive Memory Framework
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
LLM-based agents have been extensively applied across various domains, where memory stands out as one of their most essential capabilities. Previous memory mechanisms of LLM-based agents are manually predefined by human experts, leading to higher labor costs and suboptimal performance. In addition, these methods overlook the memory cycle effect in interactive scenarios, which is critical to optimizing LLM-based agents for specific environments. To address these challenges, in this paper, we propose to optimize LLM-based agents with an adaptive and data-driven memory framework by modeling memory cycles. Specifically, we design an MoE gate function to facilitate memory retrieval, propose a learnable aggregation process to improve memory utilization, and develop task-specific reflection to adapt memory storage. Our memory framework empowers LLM-based agents to learn how to memorize information effectively in specific environments, with both off-policy and on-policy optimization. In order to evaluate the effectiveness of our proposed methods, we conduct comprehensive experiments across multiple aspects. To benefit the research community in this area, we release our project at https://github.com/nuster1128/learn_to_memorize.
Key facts. Cited by 25 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 25 of its 29 references that are in the map. First posted on arXiv 15 Aug 2025.
Builds on
25 of 29 references.
Closest ancestors · 3
Same direction, newest first
- 2025MemEngine: A Unified and Modular Library for Developing Advanced Memory of LLM-based Agents4 May
- 2024MemSim: A Bayesian Simulator for Evaluating Memory of LLM-based Personal Assistants30 Sep
- 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
Other references · 22
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2015Continuous control with deep reinforcement learningcited by 3,407
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,274
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 769
10 more
- 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 556
- 2024Understanding the planning of LLM agents: A surveycited by 421
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Securitycited by 260
- 2023Large Language Models Empowered Agent-based Modeling and Simulation: A Survey and Perspectivescited by 257
- 2023SCM: Enhancing Large Language Model with Self-Controlled Memory Frameworkcited by 98
- 2024From Isolated Conversations to Hierarchical Schemas: Dynamic Tree Memory Representation for LLMscited by 79
- 2024Large Language Model Agent in Financial Trading: A Surveycited by 60
- 2024Memory3: Language Modeling with Explicit Memorycited by 40
- 2025A Survey of Large Language Model Empowered Agents for Recommendation and Search: Towards Next-Generation Information Retrievalcited by 33
- 2024Emotional RAG: Enhancing Role-Playing Agents through Emotional Retrievalcited by 26
Built on by
Citing papers per year: 2025: 6; 2026: 19.
25 papers.
Sort:
By area:
- 2025Memory in the Age of AI Agentscited by 303
- 2026MemRL: Self-Evolving Agents via Runtime Reinforcement Learning on Episodic Memorycited by 129
- 2026Externalization in LLM Agents: A Unified Review of Memory, Skills, Protocols and Harness Engineeringcited by 74
- 2025Mem-α: Learning Memory Construction via Reinforcement Learningcited by 55
- 2026SkillOS: Learning Skill Curation for Self-Evolving Agentscited by 49
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agentscited by 44
- 2025IterResearch: Rethinking Long-Horizon Agents with Interaction Scalingcited by 23
- 2026AtomMem : Learnable Dynamic Agentic Memory with Atomic Memory Operationcited by 15
- 2025AI Meets Brain: Memory Systems from Cognitive Neuroscience to Autonomous Agentscited by 12
- 2026NextMem: Towards Latent Factual Memory for LLM-based Agentscited by 12
- 2026MemMA: Coordinating the Memory Cycle through Multi-Agent Reasoning and In-Situ Self-Evolutioncited by 12
- 2026Auto-Dreamer: Learning Offline Memory Consolidation for Language Agentscited by 10
13 more
- 2025Beyond Pipelines: A Survey of the Paradigm Shift toward Model-Native Agentic AIcited by 8
- 2026Fine-Mem: Fine-Grained Feedback Alignment for Long-Horizon Memory Managementcited by 8
- 2026Metis: Memory Foundation Modelcited by 7
- 2026Gated Differentiable Working Memory for Long-Context Language Modelingcited by 6
- 2026Aligning Agentic World Models via Knowledgeable Experience Learningcited by 5
- 2026MonoScale: Scaling Multi-Agent System with Monotonic Improvementcited by 5
- 2026Complementary RL: Towards Efficient Experience-Driven Agent Learningcited by 5
- 2025Reinforced Strategy Optimization for Conversational Recommender Systems via Network-of-Expertscited by 4
- 2026Organize then Retrieve: Hierarchical Memory Navigation for Efficient Agentscited by 3
- 2026PATH-Bench: Path-Dependent Evaluation of Lifelong Agentscited by 3
- 2026TraceMem: Weaving Narrative Memory Schemata from User Conversational Tracescited by 2
- 2026RoMeRL: Balancing Feedback Coverage and the Memory-Reward Trap in Self-Evolving Agent Memory via Reduced-Order Utility Statescited by 2
- 2026CoMIC: Collaborative Memory and Insights Circulation for Long-Horizon LLM Agents in Cloud-Edge Systemscited by 0
- 2026RoMeRL: Balancing Feedback Coverage and the Memory-Reward Trap in Self-Evolving Agent Memory via Reduced-Order Utility States3 Aug 2026
- 2026PATH-Bench: Path-Dependent Evaluation of Lifelong Agents2 Aug 2026
- 2026Metis: Memory Foundation Model29 Jul 2026
- 2026Organize then Retrieve: Hierarchical Memory Navigation for Efficient Agents10 Jun 2026
- 2026CoMIC: Collaborative Memory and Insights Circulation for Long-Horizon LLM Agents in Cloud-Edge Systems30 May 2026
- 2026Auto-Dreamer: Learning Offline Memory Consolidation for Language Agents20 May 2026
- 2026SkillOS: Learning Skill Curation for Self-Evolving Agents7 May 2026
- 2026Externalization in LLM Agents: A Unified Review of Memory, Skills, Protocols and Harness Engineering9 Apr 2026
- 2026MemMA: Coordinating the Memory Cycle through Multi-Agent Reasoning and In-Situ Self-Evolution19 Mar 2026
- 2026Complementary RL: Towards Efficient Experience-Driven Agent Learning18 Mar 2026
- 2026NextMem: Towards Latent Factual Memory for LLM-based Agents26 Feb 2026
- 2026TraceMem: Weaving Narrative Memory Schemata from User Conversational Traces10 Feb 2026
13 more
- 2026MonoScale: Scaling Multi-Agent System with Monotonic Improvement30 Jan 2026
- 2026Aligning Agentic World Models via Knowledgeable Experience Learning19 Jan 2026
- 2026Gated Differentiable Working Memory for Long-Context Language Modeling19 Jan 2026
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agents14 Jan 2026
- 2026Fine-Mem: Fine-Grained Feedback Alignment for Long-Horizon Memory Management13 Jan 2026
- 2026AtomMem : Learnable Dynamic Agentic Memory with Atomic Memory Operation13 Jan 2026
- 2026MemRL: Self-Evolving Agents via Runtime Reinforcement Learning on Episodic Memory6 Jan 2026
- 2025AI Meets Brain: Memory Systems from Cognitive Neuroscience to Autonomous Agents29 Dec 2025
- 2025Memory in the Age of AI Agents15 Dec 2025
- 2025IterResearch: Rethinking Long-Horizon Agents with Interaction Scaling10 Nov 2025
- 2025Beyond Pipelines: A Survey of the Paradigm Shift toward Model-Native Agentic AI19 Oct 2025
- 2025Reinforced Strategy Optimization for Conversational Recommender Systems via Network-of-Experts30 Sep 2025
- 2025Mem-α: Learning Memory Construction via Reinforcement Learning30 Sep 2025
- 2025Memory in the Age of AI Agentscited by 303
- 2026Externalization in LLM Agents: A Unified Review of Memory, Skills, Protocols and Harness Engineeringcited by 74
- 2026SkillOS: Learning Skill Curation for Self-Evolving Agentscited by 49
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agentscited by 44
- 2025IterResearch: Rethinking Long-Horizon Agents with Interaction Scalingcited by 23
- 2026AtomMem : Learnable Dynamic Agentic Memory with Atomic Memory Operationcited by 15
- 2025AI Meets Brain: Memory Systems from Cognitive Neuroscience to Autonomous Agentscited by 12
- 2026NextMem: Towards Latent Factual Memory for LLM-based Agentscited by 12
- 2025Beyond Pipelines: A Survey of the Paradigm Shift toward Model-Native Agentic AIcited by 8
- 2026Fine-Mem: Fine-Grained Feedback Alignment for Long-Horizon Memory Managementcited by 8
- 2026MonoScale: Scaling Multi-Agent System with Monotonic Improvementcited by 5
- 2026Complementary RL: Towards Efficient Experience-Driven Agent Learningcited by 5
12 most cited of 16 All 16 (JSON)
- 2026RoMeRL: Balancing Feedback Coverage and the Memory-Reward Trap in Self-Evolving Agent Memory via Reduced-Order Utility States3 Aug 2026
- 2026PATH-Bench: Path-Dependent Evaluation of Lifelong Agents2 Aug 2026
- 2026Organize then Retrieve: Hierarchical Memory Navigation for Efficient Agents10 Jun 2026
- 2026CoMIC: Collaborative Memory and Insights Circulation for Long-Horizon LLM Agents in Cloud-Edge Systems30 May 2026
- 2026SkillOS: Learning Skill Curation for Self-Evolving Agents7 May 2026
- 2026Externalization in LLM Agents: A Unified Review of Memory, Skills, Protocols and Harness Engineering9 Apr 2026
- 2026Complementary RL: Towards Efficient Experience-Driven Agent Learning18 Mar 2026
- 2026NextMem: Towards Latent Factual Memory for LLM-based Agents26 Feb 2026
- 2026MonoScale: Scaling Multi-Agent System with Monotonic Improvement30 Jan 2026
- 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agents14 Jan 2026
- 2026Fine-Mem: Fine-Grained Feedback Alignment for Long-Horizon Memory Management13 Jan 2026
- 2026AtomMem : Learnable Dynamic Agentic Memory with Atomic Memory Operation13 Jan 2026
12 newest of 16 All 16 (JSON)
- 2026Auto-Dreamer: Learning Offline Memory Consolidation for Language Agentscited by 10
- 2026Gated Differentiable Working Memory for Long-Context Language Modelingcited by 6
- 2025Reinforced Strategy Optimization for Conversational Recommender Systems via Network-of-Expertscited by 4
- 2026TraceMem: Weaving Narrative Memory Schemata from User Conversational Tracescited by 2
- 2026Auto-Dreamer: Learning Offline Memory Consolidation for Language Agents20 May 2026
- 2026TraceMem: Weaving Narrative Memory Schemata from User Conversational Traces10 Feb 2026
- 2026Gated Differentiable Working Memory for Long-Context Language Modeling19 Jan 2026
- 2025Reinforced Strategy Optimization for Conversational Recommender Systems via Network-of-Experts30 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2026Rosetta Memory: Adaptive Memory for Cross-LLM Agents
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions
- 2026Choosing How to Remember: Adaptive Memory Structures for LLM Agents
- 2026Adaptive Memory Admission Control for LLM Agents
- 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Framework
- 2025How Memory Management Impacts LLM Agents: An Empirical Study of Experience-Following Behavior
- 2026Memory for Autonomous LLM Agents:Mechanisms, Evaluation, and Emerging Frontiers
- 2026Evaluating Memory Structure in LLM Agents