Cognitive Mapping and Planning for Visual Navigation

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

Abstract

Cognitive Mapping and Planning (CMP) is a unified neural architecture designed for visual navigation in indoor environments. Unlike traditional geometric SLAM or purely reactive deep learning models, CMP learns to build a top-down egocentric map that captures environmental regularities. By combining a differentiable mapper with a hierarchical value-iteration planner, the system demonstrates "environmental common sense," allowing it to navigate unseen spaces efficiently. CMP is trained end-to-end and shows significant performance gains over baseline methods in both simulation and real-world robotic deployments.

Introduction

Navigating unfamiliar indoor spaces is a fundamental challenge in robotics. Humans excel at this by leveraging spatial priors—understanding that hallways connect rooms and doors lead to new spaces. Traditional robotic approaches typically fall into two categories: classical SLAM and reactive deep learning. Classical SLAM systems are purely geometric and cannot infer unobserved areas. Conversely, reactive models map pixels directly to actions, lacking the persistent memory required for long-range planning.

Cognitive Mapping and Planning (CMP) bridges this gap. It is a system that learns to construct a map specifically optimized for planning, effectively internalizing the statistical regularities of indoor layouts.

Methods

The CMP architecture integrates two primary modules into a single differentiable framework, allowing for joint optimization of mapping and planning.

The Cognitive Mapping and Planning (CMP) architecture, featuring a differentiable mapper and planner.

The Mapper

The Mapper module processes first-person RGB or depth images alongside the robot's egomotion data. It utilizes a convolutional neural network to generate a top-down, egocentric "belief map." A key innovation is the differentiable warping unit, which updates the map by shifting the previous belief state based on the robot's movement. Because the entire pipeline is differentiable, the map does not need to be a perfect reconstruction; instead, it evolves to store information most relevant to the planning task.

Detailed view of the differentiable mapper, showing the warping and update process for the belief map.

The Planner

For pathfinding, CMP employs a Value Iteration Network (VIN), a differentiable neural network that approximates the value iteration algorithm. To manage long-distance navigation, the authors introduced a hierarchical version of the VIN. This planner operates at multiple scales (from coarse to fine), reducing the computational complexity from linear to logarithmic relative to the distance to the goal.

The system is trained end-to-end using DAGGER (Dataset Aggregation), an imitation learning technique where the agent learns to mimic an expert's shortest path while exploring the environment.

Experiments and Results

The model was evaluated on the S3DIS (Stanford Large-Scale 3D Indoor Spaces) and Matterport3D datasets, which provide 3D scans of real-world office buildings. CMP was trained on a subset of buildings and tested on entirely novel ones to evaluate generalization.

Key Results

  • Generalization: CMP outperformed LSTM-based and reactive baselines. In geometric tasks using RGB input, CMP achieved a 63% success rate, compared to 52% for an LSTM agent.
  • Efficiency: CMP demonstrated a significantly higher Success weighted by Path Length (SPL), indicating more direct and efficient routes to goals.
  • Semantic Navigation: The architecture naturally extended to semantic tasks (e.g., "find a chair"), outperforming classical frontier exploration methods.
  • Real-World Deployment: The simulation-trained model was deployed on a physical TurtleBot 2. Despite the domain gap, it achieved a 68% success rate in a complex office environment using only monocular RGB images.

Discussion

A core insight of CMP is emergent mapping: the model is never explicitly supervised to identify walls or obstacles. Instead, mapping behavior emerges as the optimal strategy for minimizing navigation error. This allows the system to develop predictive capabilities, such as "filling in" unobserved hallway space based on learned priors.

However, limitations remain. The current model assumes perfect odometry, which is rarely the case in real-world scenarios where sensor drift and wheel slip occur. Additionally, while the hierarchical planner improves scaling, grid-based metric maps still face challenges in extremely large environments. Future work may involve moving from imitation learning to pure reinforcement learning to discover more complex navigation strategies.

Summary updated

BibTeX
@inproceedings{gupta2017cognitive,
  author = {Saurabh Gupta and Varun Tolani 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