Skip to main content
QUICK REVIEW

[Paper Review] Neural Map: Structured Memory for Deep Reinforcement Learning

Emilio Parisotto, Ruslan Salakhutdinov|arXiv (Cornell University)|Feb 27, 2017
Reinforcement Learning in RoboticsComputer Science22 references102 citations
TL;DR

Introduces Neural Map, a structured, write-enabled 2D external memory for DRL that writes only at the agent’s current location and uses global and context reads to store and retrieve environmental information, improving memory-based reasoning in 2D/3D mazes and enabling generalization to unseen environments.

ABSTRACT

A critical component to enabling intelligent reasoning in partially observable environments is memory. Despite this importance, Deep Reinforcement Learning (DRL) agents have so far used relatively simple memory architectures, with the main methods to overcome partial observability being either a temporal convolution over the past k frames or an LSTM layer. More recent work (Oh et al., 2016) has went beyond these architectures by using memory networks which can allow more sophisticated addressing schemes over the past k frames. But even these architectures are unsatisfactory due to the reason that they are limited to only remembering information from the last k frames. In this paper, we develop a memory system with an adaptable write operator that is customized to the sorts of 3D environments that DRL agents typically interact with. This architecture, called the Neural Map, uses a spatially structured 2D memory image to learn to store arbitrary information about the environment over long time lags. We demonstrate empirically that the Neural Map surpasses previous DRL memories on a set of challenging 2D and 3D maze environments and show that it is capable of generalizing to environments that were not seen during training.

Motivation & Objective

  • Motivate and address memory limitations in DRL agents operating in partially observable, navigation-heavy 3D environments.
  • Propose a structured external memory (Neural Map) with adaptive, location-specific writes to store salient environmental information over long time horizons.
  • Demonstrate that Neural Map outperforms LSTM and MemNN baselines on 2D maze tasks and generalizes to unseen environments, including a 3D Doom setting.

Proposed method

  • Define a 2D/3D spatial memory M as a C x H x W map tied to the agent's position.
  • Use a global read to produce r_t from M via a convolutional network.
  • Use a context read with soft attention over M to produce a context vector c_t from a query derived from s_t and r_t.
  • Compute a local write w_{t+1}^{(x_t,y_t)} from s_t, r_t, c_t, and the current map value, then update M at the agent's location.
  • Optionally extend with variants: (i) localized read, (ii) key-value context read, (iii) GRU-based gated local write.
  • Optionally extend to ego-centric coordinates by applying a counter-transform to keep the agent at the map center and updating via egoupdate.
  • Train with an asynchronous-advantage actor-critic framework (A3C) modified to synchronous updates across multiple environments.

Experimental results

Research questions

  • RQ1Can a spatially structured external memory with write-locality and context addressing improve memory-based decision making in partially observable environments?
  • RQ2Does the Neural Map memory enable longer time-horizon reasoning and better generalization to unseen mazes and more complex 3D environments?
  • RQ3How do variants like GRU-based write, key-value context, and ego-centric mapping affect performance and stability?
  • RQ4How does Neural Map compare to LSTM and MemNN baselines on 2D goal-search mazes and 3D Doom mazes?

Key findings

  • Neural Map achieves higher success rates than LSTM and MemNN on 2D Goal-Search training and held-out test mazes.
  • GRU-based Neural Map further improves training speed, final performance, and training stability compared to the standard Neural Map.
  • On Doom 3D mazes, LSTM+Neural Map (GRU) surpasses all other methods in both training and unseen maps.
  • Qualitative analysis shows the context read focuses on landmark indicators, demonstrating effective use of memory for long-range associations.
  • Memory networks with fixed-size histories struggle with longer mazes, while Neural Map scales better with map-based memory.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.