Analyzing Visual Representations in Embodied Navigation Tasks

Erik Wijmans, Julian Straub, Dhruv Batra, Irfan Essa, Judy Hoffman, Ari MorcosarXiv 2020

Introduction

Deep Reinforcement Learning (RL) in Embodied AI often faces challenges with data efficiency and generalization. A critical concern is whether agents trained for specific navigation tasks—such as finding a refrigerator versus finding a chair—develop highly specialized visual systems that fail to generalize to new objectives. This paper investigates whether different embodied navigation tasks induce distinct visual representations or if they converge toward a general-purpose "understanding" of the 3D environment.

Methodology: Measuring Representation Similarity

To compare internal neural representations, the authors utilize Projection Weighted Canonical Correlation Analysis (PWCCA). Unlike standard distance metrics, PWCCA accounts for affine transformations, allowing researchers to determine if two networks have learned the same features even if they use different internal "languages."

The experimental framework involves:

  1. Task Splitting: Target objects are divided into disjoint sets (Set A and Set B).
  2. Training: Agents are trained on Task A, Task B, or a combined Task A+B using the AI Habitat platform and the Replica dataset.
  3. Comparison: PWCCA distances are measured between encoders trained on the same task (with different seeds) and encoders trained on different tasks.

Results: Task-Agnostic Visual Encoders

The study reveals a surprising degree of similarity across tasks. The distance between a network trained on Task A and one trained on Task B is virtually indistinguishable from the distance between two networks trained on Task A with different random initializations.

PWCCA distance across layers for SqueezeNet, comparing same-task (A, B) and cross-task (A-B) representations.

This "Similarity Invariance" suggests that the visual encoder primarily learns to represent the 3D structure and visual diversity of the environment rather than features specific to the reward-giving objects. As long as the agent explores the same physical space, the resulting visual representation remains task-agnostic.

Transfer Learning and Efficiency

The task-agnostic nature of these representations has significant implications for transfer learning. If the visual system is general-purpose, an encoder trained on one task should be immediately useful for another. The researchers tested this by freezing a visual encoder trained on Task A and using it to train a policy for Task B.

Reward curves for Task B, comparing training from scratch versus transferring a frozen or fine-tuned encoder from Task A.

As shown in the reward curves, agents utilizing transferred representations reach high performance thresholds significantly faster than those trained from scratch. This suggests that the visual backbone can be treated as a foundation model for various robotic skills within a given environment, effectively making transfer learning "free" in terms of visual feature extraction.

Conclusion

This research provides strong evidence that embodied navigation tasks induce task-agnostic visual representations. This finding simplifies the challenge of scaling Embodied AI by suggesting that we can build general-purpose visual encoders that serve as a stable foundation for a wide array of downstream tasks. Future work will explore whether this principle holds for more divergent tasks, such as moving from navigation to object manipulation.

Summary updated

BibTeX
@misc{wijmans2020analyzing,
  author = {Erik Wijmans and Julian Straub and Dhruv Batra and Irfan Essa and Judy Hoffman and Ari Morcos},
  title = {{Analyzing Visual Representations in Embodied Navigation Tasks}},
  year = {2020},
  eprint = {2003.05993},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.05993},
}
Figure