Learning to Navigate Using Mid-Level Visual Priors

Alexander Sax, Jeffrey O. Zhang, Bradley Emi, Amir Zamir, Silvio Savarese, Leonidas J. Guibas, Jitendra Malik

Abstract

How much does having visual priors about the world (e.g. the fact that the world is 3D) assist in learning to perform downstream motor tasks (e.g. navigating a complex environment)? What are the core visual features that an agent needs to learn to navigate? This research explores the integration of mid-level visual representations into Reinforcement Learning (RL) to bridge the gap between raw perception and high-level control.

Introduction: The Tabula Rasa Problem in Deep RL

Deep Reinforcement Learning (RL) typically follows an "end-to-end" training paradigm where agents learn directly from raw RGB pixels. While powerful, this "tabula rasa" approach is notoriously data-hungry, often requiring millions of frames to learn fundamental concepts like 3D geometry or object boundaries. Furthermore, agents trained this way tend to overfit to specific visual textures—memorizing a particular wallpaper rather than understanding spatial layout—leading to poor generalization in unseen environments.

The central question of this work is: How much does pre-existing knowledge of 3D structure and semantics assist in learning motor tasks?

Methodology: Integrating Mid-Level Vision

To address the limitations of learning from scratch, the researchers propose a framework that provides agents with "mid-level" visual features. Instead of processing raw pixels, the policy network receives features extracted by pre-trained, frozen encoders from the "Taskonomy" project.

The mid-level vision pipeline: raw observations are transformed into structured features like edges and normals before being fed into the policy network.

As shown in the pipeline above, the agent's visual observation is passed through a set of encoders that produce representations such as 2D edges, surface normals, and room layouts. These features serve as a fixed "skill set" for perception, allowing the RL agent to focus solely on the control policy.

Mid-Level Visual Representations

The study utilizes a diverse "Representation Dictionary" to map raw inputs into a structured representation space. These representations are categorized into:

  • Geometric: Depth estimation, surface normals, and edge detection.
  • Semantic: Object classification and semantic segmentation.
  • Structural: Room layout and vanishing points.
Representations transform raw inputs from pixel space to a more generalizable representation space, utilizing a dictionary of pre-trained features.

By mapping raw inputs into a structured representation space ($\phi$), the agent can better generalize across different environments (e.g., from training set $\mathcal{P}$ to test set $\mathcal{Q}$). Since no single feature is optimal for every task, the authors also introduced a Max-Coverage Feature Set—a computationally selected subset of features designed to provide broad utility across various downstream navigation goals.

Key Insights and Emergent Behavior

The research yielded several critical insights into how visual priors affect agent behavior:

  1. Rank Reversal: The effectiveness of a specific visual feature is highly task-dependent. For instance, geometric features like distance estimation are superior for exploration tasks, whereas semantic features like object classification are essential for target-driven navigation.
  2. Desirable Emergent Behavior: Agents using mid-level vision naturally developed safer and smoother movement patterns. They experienced significantly fewer collisions and less "jerk" (sudden acceleration) than agents learning from raw pixels, despite no explicit reward for these behaviors.
  3. Robustness to Noise: Mid-level agents proved far more resilient to sensor noise. In scenarios where ground-truth localization was removed, these agents maintained high performance, whereas traditional SLAM and "from-scratch" RL methods failed.

Results and Performance

The benefits of mid-level priors were quantified across massive datasets, including Gibson, Habitat, and ViZDoom:

  • Sample Efficiency: Mid-level agents reached the peak performance of "from-scratch" agents using only 15% of the training data, representing a nearly 10x improvement in learning speed.
  • Generalization: While "from-scratch" agents often performed no better than a blind agent in new buildings, mid-level agents generalized robustly to unseen layouts.
  • Success Metrics: In local planning tasks, mid-level agents achieved a Success weighted by Path Length (SPL) of 0.74, significantly outperforming other representation learning methods like Curiosity (0.56 SPL) or VAEs.

Conclusion and Future Directions

Providing agents with mid-level visual priors dramatically improves the efficiency and robustness of navigation policies. While freezing the encoders ensures modularity and efficiency, future work could investigate the trade-offs of fine-tuning these representations for specific tasks. Additionally, extending this approach to complex manipulation tasks could reveal new requirements for the "best" visual features in interactive environments.

Summary updated

BibTeX
@inproceedings{sax2019learning,
  author = {Alexander Sax and Jeffrey O. Zhang and Bradley Emi and Amir Zamir and Silvio Savarese and Leonidas J. Guibas and Jitendra Malik},
  title = {{Learning to Navigate Using Mid-Level Visual Priors}},
  booktitle = {Conference on Robot Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=LFTt_pX05hr},
}
Figure