Unraveling the Complexity of Memory in RL Agents: an Approach for Classification and Evaluation
Egor Cherepanov, Nikita Kachaev, Artem Zholus, Alexey K. Kovalev, Aleksandr I. Panov
Abstract
The incorporation of memory into agents is essential for numerous tasks within the domain of Reinforcement Learning (RL). In particular, memory is paramount for tasks that require the use of past information, adaptation to novel environments, and improved sample efficiency. However, the term ``memory'' encompasses a wide range of concepts, which, coupled with the lack of a unified methodology for validating an agent's memory, leads to erroneous judgments about agents' memory capabilities and prevents objective comparison with other memory-enhanced agents. This paper aims to streamline the concept of memory in RL by providing practical precise definitions of agent memory types, such as long-term vs. short-term memory and declarative vs. procedural memory, inspired by cognitive science. Using these definitions, we categorize different classes of agent memory, propose a robust experimental methodology for evaluating the memory capabilities of RL agents, and standardize evaluations. Furthermore, we empirically demonstrate the importance of adhering to the proposed methodology when evaluating different types of agent memory by conducting experiments with different RL agents and what its violation leads to.
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.
2 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
- Memory, Benchmark & Robots: A Benchmark for Solving Complex Tasks with Reinforcement Learning cites Efficiently Modeling Long Sequences with Structured State Spaces
- Memory, Benchmark & Robots: A Benchmark for Solving Complex Tasks with Reinforcement Learning cites Stabilizing Transformers for Reinforcement Learning
- Memory, Benchmark & Robots: A Benchmark for Solving Complex Tasks with Reinforcement Learning cites Decision Transformer: Reinforcement Learning via Sequence Modeling
- Memory, Benchmark & Robots: A Benchmark for Solving Complex Tasks with Reinforcement Learning cites Behaviour Suite for Reinforcement Learning
- ELMUR: External Layer Memory with Update/Rewrite for Long-Horizon RL Problems cites Memory, Benchmark & Robots: A Benchmark for Solving Complex Tasks with Reinforcement Learning
- ELMUR: External Layer Memory with Update/Rewrite for Long-Horizon RL Problems cites Efficiently Modeling Long Sequences with Structured State Spaces
- ELMUR: External Layer Memory with Update/Rewrite for Long-Horizon RL Problems cites Stabilizing Transformers for Reinforcement Learning
- ELMUR: External Layer Memory with Update/Rewrite for Long-Horizon RL Problems cites Decision Transformer: Reinforcement Learning via Sequence Modeling
- Decision Transformer: Reinforcement Learning via Sequence Modeling cites Stabilizing Transformers for Reinforcement Learning
Cited by top-tier papers2
- Memory, Benchmark & Robots: A Benchmark for Solving Complex Tasks with Reinforcement LearningEgor Cherepanov, Nikita Kachaev, Alexey K. Kovalev, Aleksandr I. PanovICLR 2026 · 43 citations
- ELMUR: External Layer Memory with Update/Rewrite for Long-Horizon RL ProblemsEgor Cherepanov, Alexey Kovalev, Aleksandr PanovICLR 2026 · 1 citation
Builds on24
- Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 citations
- Decision Transformer: Reinforcement Learning via Sequence ModelingLili Chen, Kevin Lu, Aravind Rajeswaran, Kimin Lee et al.NeurIPS 2021 · 2,557 citations
- Stabilizing Transformers for Reinforcement LearningEmilio Parisotto, H. Francis Song, Jack W. Rae, Razvan Pascanu et al.ICML 2020 · 464 citations
- VariBAD: A Very Good Method for Bayes-Adaptive Deep RL via Meta-LearningLuisa M. Zintgraf, Kyriacos Shiarlis, Maximilian Igl, Sebastian Schulze et al.ICLR 2020 · 315 citations
- Behaviour Suite for Reinforcement LearningIan Osband, Yotam Doron, Matteo Hessel, John Aslanides et al.ICLR 2020 · 204 citations
Related papers
- Evaluating Memory in LLM Agents via Incremental Multi-Turn InteractionsYuanzhe Hu, Yu Wang, Julian McAuleyICLR 2026 · 246 citations
- Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model AgentsYi Yu, Liuyi Yao, Yuexiang Xie, Qingquan Tan et al.ACL 2026 · 40 citations
- A Machine with Short-Term, Episodic, and Semantic Memory SystemsTaewoon Kim, Michael Cochez, Vincent François-Lavet, Mark A. Neerincx et al.AAAI 2023 · 8 citations
- MemBench: Towards More Comprehensive Evaluation on the Memory of LLM-based AgentsHaoran Tan, Zeyu Zhang, Chen Ma, Xu Chen et al.ACL Findings 2025 · 7 citations
- Large Language Models Are Semi-Parametric Reinforcement Learning AgentsDanyang Zhang, Lu Chen, Situo Zhang, Hongshen Xu et al.NeurIPS 2023 · 56 citations
