English

Evaluating Long-Term Memory in 3D Mazes

Artificial Intelligence 2022-10-25 v1 Machine Learning

Abstract

Intelligent agents need to remember salient information to reason in partially-observed 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.

Keywords

Cite

@article{arxiv.2210.13383,
  title  = {Evaluating Long-Term Memory in 3D Mazes},
  author = {Jurgis Pasukonis and Timothy Lillicrap and Danijar Hafner},
  journal= {arXiv preprint arXiv:2210.13383},
  year   = {2022}
}

Comments

Project website: https://github.com/jurgisp/memory-maze

R2 v1 2026-06-28T04:22:52.320Z