Cognitive Mapping and Planning for Visual Navigation

Saurabh Gupta, James Davidson, Sergey Levine, Rahul Sukthankar, Jitendra Malik

Abstract

Navigating novel environments requires an agent to build internal representations of space while planning actions toward a goal. This paper presents the Cognitive Mapper and Planner (CMP), a unified neural architecture that learns to map and plan jointly. By utilizing a differentiable mapping module and a multi-scale hierarchical planner, CMP achieves superior generalization in unseen indoor environments compared to standard reactive and memory-based models.

Introduction

Traditional robotic navigation often relies on Simultaneous Localization and Mapping (SLAM) to build explicit 3D geometric maps. While precise, these methods can be fragile in texture-less environments and typically require exhaustive exploration before planning. Conversely, end-to-end deep learning models often lack explicit spatial reasoning, relying on reactive policies or simple recurrent memories (LSTMs) that struggle to generalize to novel floor plans.

The Cognitive Mapper and Planner (CMP) bridges these approaches by learning to build "cognitive maps"—latent top-down representations of the environment—that are optimized specifically for the navigation task.

The CMP Architecture

The CMP architecture consists of two primary differentiable components trained end-to-end: the Mapper and the Hierarchical Planner.

The CMP architecture integrates a differentiable mapper and a hierarchical planner to generate actions from first-person views.

The Differentiable Mapper

The Mapper processes first-person observations (RGB or Depth) to maintain a top-down egocentric belief map. It uses a ResNet-50 encoder to extract spatial features and a differentiable warping layer to update the map based on the agent's egomotion. Unlike classical maps, this representation is latent; it is not supervised to match ground-truth geometry but instead learns to capture features essential for planning, such as the presence of obstacles or potential paths.

The Hierarchical Planner

Planning is implemented via a Differentiable Hierarchical Planner based on Value Iteration Networks (VIN). To maintain computational efficiency over long distances, the planner operates across multiple scales. It first computes a coarse plan on a downsampled map and then refines it at higher resolutions. This hierarchical approach allows the agent to reason about distant goals with logarithmic time complexity.

Experimental Setup

The system was evaluated using the Stanford Large-Scale 3D Indoor Spaces (S3DIS) dataset, featuring high-fidelity scans of office and educational buildings. The model was trained on two buildings and tested on a third, entirely unseen building to measure generalization. Tasks included geometric navigation (reaching specific coordinates) and semantic navigation (finding objects like "chairs" or "doors"). Training was conducted using DAGGER (Dataset Aggregation) to mimic expert shortest-path trajectories.

Key Results and Analysis

CMP demonstrated significant improvements over reactive and LSTM-based baselines in both RGB and Depth modalities.

Performance comparison across RGB and Depth modalities shows CMP outperforming reactive and LSTM baselines in success rate and distance to goal.

In geometric tasks within novel environments, CMP achieved a 78.3% success rate using depth images, outperforming the LSTM baseline (71.8%) and a reactive agent (21.9%). In semantic tasks, such as finding a chair, CMP reached a 40% success rate, nearly doubling the performance of the reactive baseline.

A critical insight is that CMP learns to exploit statistical regularities of indoor spaces. For example, it can "predict" the existence of a room behind a door frame even before entering it. Furthermore, the performance gap between training and testing environments was notably smaller for CMP than for baselines, indicating that the model learns generalizable navigation strategies rather than environment-specific maps.

Conclusion

CMP represents a significant step toward robust visual navigation by unifying mapping and planning in a single differentiable framework. While the current model assumes perfect egomotion and static environments, its ability to learn spatial "common sense" and plan hierarchically provides a strong foundation for future research in complex, dynamic real-world settings.

Summary updated

BibTeX
@inproceedings{gupta2017cognitive,
  author = {Saurabh Gupta and James Davidson and Sergey Levine and Rahul Sukthankar and Jitendra Malik},
  title = {{Cognitive Mapping and Planning for Visual Navigation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.769},
}
Figure