Lune

ICLR2023Top-tier venue

Evaluating Long-Term Memory in 3D Mazes

Jurgis Pasukonis, Timothy P. Lillicrap, Danijar Hafner

Abstract

Intelligent agents need to remember salient information to reason in partiallyobserved environments. For example, agents with a first-person view should remember the positions of relevant objects even if they go out of view. Similarly, to effectively navigate through rooms agents need to remember the floor plan of how rooms are connected. However, most benchmark tasks in reinforcement learning do not test long-term memory in agents, slowing down progress in this important research direction. In this paper, we introduce the Memory Maze, a 3D domain of randomized mazes specifically designed for evaluating long-term memory in agents. Unlike existing benchmarks, Memory Maze measures long-term memory separate from confounding agent abilities and requires the agent to localize itself by integrating information over time. With Memory Maze, we propose an online reinforcement learning benchmark, a diverse offline dataset, and an offline probing evaluation. Recording a human player establishes a strong baseline and verifies the need to build up and retain memories, which is reflected in their gradually increasing rewards within each episode. We find that current algorithms benefit from training with truncated backpropagation through time and succeed on small mazes, but fall short of human performance on the large mazes, leaving room for future algorithmic designs to be evaluated on the Memory Maze. Videos are available on the website: https://github.com/jurgisp/memory-maze

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.

23 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Mastering Atari with Discrete World Models cites Agent57: Outperforming the Atari Human Benchmark
  • Mastering Atari with Discrete World Models cites A Simple Framework for Contrastive Learning of Visual Representations
  • 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 Mastering Memory Tasks with World Models
  • Memory, Benchmark & Robots: A Benchmark for Solving Complex Tasks with Reinforcement Learning cites When Do Transformers Shine in RL? Decoupling Memory from Credit Assignment
  • Semantic HELM: A Human-Readable Memory for Reinforcement Learning cites Mastering Atari with Discrete World Models
  • Semantic HELM: A Human-Readable Memory for Reinforcement Learning cites Stabilizing Transformers for Reinforcement Learning
  • Mastering Memory Tasks with World Models cites Mastering Atari with Discrete World Models
  • Mastering Memory Tasks with World Models cites Stabilizing Transformers for Reinforcement Learning
  • Mastering Memory Tasks with World Models cites Facing Off World Model Backbones: RNNs, Transformers, and S4
  • Mastering Memory Tasks with World Models cites When Do Transformers Shine in RL? Decoupling Memory from Credit Assignment
  • Facing Off World Model Backbones: RNNs, Transformers, and S4 cites Mastering Atari with Discrete World Models
  • Facing Off World Model Backbones: RNNs, Transformers, and S4 cites Leveraging Procedural Generation to Benchmark Reinforcement Learning
  • Facing Off World Model Backbones: RNNs, Transformers, and S4 cites Stabilizing Transformers for Reinforcement Learning
  • When Do Transformers Shine in RL? Decoupling Memory from Credit Assignment cites Stabilizing Transformers for Reinforcement Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers23

  1. When Do Transformers Shine in RL? Decoupling Memory from Credit AssignmentTianwei Ni, Michel Ma, Benjamin Eysenbach, Pierre-Luc BaconNeurIPS 2023 · 77 citations
  2. Facing Off World Model Backbones: RNNs, Transformers, and S4Fei Deng, Junyeong Park, Sungjin AhnNeurIPS 2023 · 53 citations
  3. Memory, Benchmark & Robots: A Benchmark for Solving Complex Tasks with Reinforcement LearningEgor Cherepanov, Nikita Kachaev, Alexey K. Kovalev, Aleksandr I. PanovICLR 2026 · 43 citations
  4. Mastering Memory Tasks with World ModelsMohammad Reza Samsami, Artem Zholus, Janarthanan Rajendran, Sarath ChandarICLR 2024 · 42 citations
  5. Semantic HELM: A Human-Readable Memory for Reinforcement LearningFabian Paischer, Thomas Adler, Markus Hofmarcher, Sepp HochreiterNeurIPS 2023 · 21 citations

Builds on7

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Mastering Atari with Discrete World ModelsDanijar Hafner, Timothy P. Lillicrap, Mohammad Norouzi, Jimmy BaICLR 2021 · 1,170 citations
  3. Leveraging Procedural Generation to Benchmark Reinforcement LearningKarl Cobbe, Christopher Hesse, Jacob Hilton, John SchulmanICML 2020 · 685 citations
  4. Agent57: Outperforming the Atari Human BenchmarkAdrià Puigdomènech Badia, Bilal Piot, Steven Kapturowski, Pablo Sprechmann et al.ICML 2020 · 584 citations
  5. Stabilizing Transformers for Reinforcement LearningEmilio Parisotto, H. Francis Song, Jack W. Rae, Razvan Pascanu et al.ICML 2020 · 464 citations

Related papers

  1. Benchmarking Agent Memory in Interdependent Multi-Session Agentic TasksZexue He, Yu Wang, Churan Zhi, Yuanzhe Hu et al.ICML 2026 · 2 citations
  2. 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
  3. Evaluating Memory in LLM Agents via Incremental Multi-Turn InteractionsYuanzhe Hu, Yu Wang, Julian McAuleyICLR 2026 · 246 citations
  4. Memory Gym: Partially Observable Challenges to Memory-Based AgentsMarco Pleines, Matthias Pallasch, Frank Zimmer, Mike PreussICLR 2023
  5. EvoEmpirBench: Dynamic Spatial Reasoning with Agent-ExpVerPukun Zhao, Longxiang Wang, Miaowei Wang, Chen Chen et al.AAAI 2026 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines