Emergence of Maps in the Memories of Blind Navigation Agents

Erik Wijmans, Manolis Savva, Irfan Essa, Stefan Lee, Ari S. Morcos, Dhruv Batra · DOI

Abstract

Can an artificial intelligence agent navigate a complex, unseen environment without visual or tactile input? This paper investigates whether spatial mapping is a fundamental, emergent property of intelligent navigation or merely a human-engineered design choice. By training "blind" agents—equipped only with egomotion sensors—to perform PointGoal navigation, we demonstrate that these agents spontaneously develop internal "mental maps" within their recurrent memory. These emergent representations allow agents to navigate novel floor plans with high success rates, detect collisions without touch sensors, and even identify shortcuts through unexplored space.

Introduction

In the field of embodied AI, a central debate persists: should navigation agents rely on explicit, human-designed mapping modules, or can they learn to navigate "map-free" using end-to-end neural networks? While recent models have achieved impressive performance, the internal mechanisms driving their success remain opaque. This research seeks to determine if mapping is an "ontogenetic" necessity—a solution that an agent must inevitably discover to solve the problem of navigation.

To isolate this phenomenon, the study introduces a "blind" agent paradigm. These agents are deprived of vision, depth sensing, and tactile feedback, relying solely on a "GPS+Compass" sensor that tracks relative movement (egomotion). If such an impoverished agent can successfully navigate and optimize its paths, it provides strong evidence that spatial representations are an emergent property of the learning process itself.

Methodology

Agent Architecture and Training

The researchers utilized a generic reinforcement learning architecture centered on a three-layer Long Short-Term Memory (LSTM) network. To ensure no human bias was introduced, the architecture contained no explicit map-like structures or spatial inductive biases. The agents were trained using Decentralized Distributed Proximal Policy Optimization (DD-PPO) on the PointGoal navigation task, where the objective is to reach a specific coordinate $(x, y)$ relative to the starting position.

Simulation and Datasets

The study leveraged the Habitat simulator to provide high-performance 3D environments. Training was conducted on the Gibson dataset (411 scenes), while evaluation took place on the Matterport3D (MP3D) dataset (18 scenes, 1008 episodes). This separation ensured that the agents' performance reflected a generalized ability to navigate novel floor plans rather than simple memorization of training environments.

Probing the Internal Map

To verify the existence of an internal map, the researchers employed two primary techniques:

  1. Memory Transplants: The hidden state (memory) of an agent that had completed a long, circuitous path was "transplanted" into a new "probe" agent. If the probe agent could then take a direct shortcut to the goal through areas the original agent had not physically traversed, it would prove the memory contained a functional spatial representation.
  2. Occupancy Decoding: Separate, non-learning decoders were trained to reconstruct a top-down occupancy grid (a floor plan) solely from the agent's hidden LSTM states. Success here would indicate that the agent's memory explicitly encodes the geometry of its environment.

Key Results

Despite their lack of visual sensors, the blind agents achieved a remarkable 95.1% success rate in novel environments. Their efficiency, measured by Success weighted by Path Length (SPL), reached 62.9%. While this trails behind sighted agents (83% SPL), it significantly outperforms traditional geometric navigation strategies like the "Bug" algorithm (46% SPL), suggesting the agents are doing more than just following walls.

Evidence of Emergent Mapping

The decoding experiments revealed that the agent's memory stores a surprisingly accurate representation of the environment. The decoders reconstructed occupancy maps with an Intersection over Union (IoU) of 32.4%, nearly triple the accuracy of untrained agents (12.4%). Furthermore, in memory transplant experiments, probe agents achieved an efficiency of 85% SPL, demonstrating that the emergent mental maps are robust enough to facilitate complex spatial reasoning and shortcutting.

Emergent Properties and Insights

  • Collision Detection without Touch: The agents developed "collision neurons." By comparing intended movement with actual egomotion, the LSTM learned to signal when the agent had encountered an invisible obstacle, effectively creating a synthetic sense of touch.
  • Memory Saturation: Performance only peaked when the agents were allowed to retain approximately 1,000 steps of experience. This suggests that a significant memory capacity is required to "buffer" the layout of a large-scale indoor environment.
  • Task-Dependent Forgetting: The internal maps are not literal copies of the environment but are optimized for the task. When an agent takes a redundant detour, its internal memory eventually "forgets" the inefficient path, preserving only the features necessary for the most direct route to the goal.

Conclusion and Limitations

This study provides compelling evidence that spatial mapping is a natural solution to the navigation problem. Even without visual input or explicit architectural guidance, neural networks under the pressure of reinforcement learning develop sophisticated internal representations of space.

However, several limitations remain. The current agents operate on a 2D manifold with perfect actuation (no wheel slip), which may not translate directly to the noise of the physical world or 3D flight. Additionally, the agents' memories are reset every episode, leaving the challenges of lifelong mapping for future research. Understanding the exact "neural code" used by the LSTM to store these coordinates remains a key objective for the next phase of embodied AI research.

Summary updated

BibTeX
@article{wijmans2023emergence,
  author = {Erik Wijmans and Manolis Savva and Irfan Essa and Stefan Lee and Ari S. Morcos and Dhruv Batra},
  title = {{Emergence of Maps in the Memories of Blind Navigation Agents}},
  journal = {AI Matters},
  year = {2023},
  doi = {10.1145/3609468.3609471},
}
Figure