[Paper Review] Teaching a Machine to Read Maps with Deep Reinforcement Learning
This paper presents a deep reinforcement learning agent that learns to read 2D maps and navigate 3D mazes using a modular architecture combining A3C, a Recurrent Localization Cell, and a local map estimation module. The agent achieves robust generalization, successfully navigating mazes up to three times larger than those seen during training by fusing visual input, orientation, and map feedback to localize itself and plan shortest paths.
The ability to use a 2D map to navigate a complex 3D environment is quite remarkable, and even difficult for many humans. Localization and navigation is also an important problem in domains such as robotics, and has recently become a focus of the deep reinforcement learning community. In this paper we teach a reinforcement learning agent to read a map in order to find the shortest way out of a random maze it has never seen before. Our system combines several state-of-the-art methods such as A3C and incorporates novel elements such as a recurrent localization cell. Our agent learns to localize itself based on 3D first person images and an approximate orientation angle. The agent generalizes well to bigger mazes, showing that it learned useful localization and navigation capabilities.
Motivation & Objective
- To enable an agent to learn navigation in unseen 3D mazes using only a 2D map and first-person visual input.
- To address the challenge of sparse rewards in navigation tasks by integrating auxiliary learning for map estimation and localization.
- To develop a modular reinforcement learning framework where subtasks like localization, map interpretation, and path planning are solved by specialized components.
- To improve generalization to larger mazes by training on smaller ones using a combination of on-policy and off-policy learning with prioritized replay.
Proposed method
- The agent uses a modified A3C architecture with on-policy learning for the reactive policy and off-policy learning with prioritized replay for the localization and mapping modules.
- A Recurrent Localization Cell estimates the agent's position on the map by correlating a learned local map with a rasterized global map, using a softmax over correlation scores.
- A mapping module generates a visible local 2D map from 3D RGB input, which is updated using egomotion estimates and a trainable feedback weight λ.
- The local map is refined by shifting the previous estimate using estimated egomotion and fusing it with a map feedback signal, both clipped to [−0.5, +0.5] to stabilize training.
- A shortest path planning algorithm computes target directions using a recursive multiplicative update over a grid maze, assigning values based on proximity to the exit.
- The agent uses a sharp softmax over neighboring cells to output action probabilities, with the final policy guiding navigation toward the target.
Experimental results
Research questions
- RQ1Can a deep reinforcement learning agent learn to localize itself in a 3D maze using only visual input and a 2D map, without explicit state supervision?
- RQ2How can auxiliary tasks such as local map estimation improve the agent’s ability to generalize to larger, unseen mazes?
- RQ3To what extent does the integration of a Recurrent Localization Cell enhance position estimation accuracy and navigation performance?
- RQ4Can a modular architecture combining reactive policy learning with intermediate subtask modules (localization, map feedback) outperform end-to-end training in sparse-reward navigation?
- RQ5How effective is the use of map feedback and egomotion estimation in stabilizing and improving the construction of the local map over time?
Key findings
- The agent successfully navigates mazes up to three times larger than the largest mazes seen during training, demonstrating strong generalization capabilities.
- The Recurrent Localization Cell enables accurate position estimation, with the agent correctly localizing itself in a 21×21 maze (estimated position [23,17], actual [22,17]) with high confidence.
- The mapping module produces a robust local map even when the agent’s compass is inaccurate, thanks to the integration of visual and egomotion cues.
- The use of auxiliary tasks, including map feedback and egomotion-based map shifting, significantly improves the stability and accuracy of the local map estimation.
- The agent learns to associate map symbols with rewards—positive for the target, negative for walls—demonstrating effective map interpretation.
- The shortest path planning algorithm, based on iterative value propagation, enables the agent to compute optimal action directions with high precision, as shown in the policy probability distribution.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.