Curious Representation Learning for Embodied Intelligence

Yilun Du, Chuang Gan, Phillip Isola

TL;DR

Curious Representation Learning (CRL) is a new framework that enables agents to learn powerful visual representations by exploring their environment without any human supervision. By setting up a "minimax" game where an exploration policy tries to find images that surprise a vision model, the system automatically gathers the most informative data, resulting in representations that outperform standard ImageNet pretraining on complex navigation tasks.

What Problem Does This Paper Address?

Most modern AI vision systems are trained on massive, curated datasets like ImageNet. While effective, this approach differs fundamentally from how biological agents—like human infants—learn. Infants aren't handed a million labeled photos; they learn by actively poking, prodding, and crawling through their surroundings.

For an artificial agent, learning from an interactive environment presents a "chicken-and-egg" problem: to learn a good visual representation, the agent needs to explore and see diverse things; but to explore effectively, it needs a good visual understanding of the world. Current methods often rely on random exploration or hand-designed rewards, which fail to capture the rich, task-agnostic knowledge needed for truly "embodied" intelligence.

Methods

The authors introduce Curious Representation Learning (CRL), which treats representation learning as a two-player competitive game:

  1. The Representation Learner ($M_\phi$): This model uses contrastive learning (specifically SimCLR) to learn what things look like by comparing similar and different images. Its goal is to minimize its prediction error.
  2. The Exploration Policy ($\pi_\theta$): This is a reinforcement learning agent whose "reward" is exactly the loss of the representation learner. It is literally incentivized to be "curious"—to seek out observations that the vision model finds confusing or novel.
Figure 2: Overview of CRL (curious representation learning). We jointly train a RL policy and visual representation learning model to learn visual representations in interactive environments. The RL policy and visual representation learning model engage in a mini-max game where the policy maximizes reward which is set to representation learning model’s loss, while the model minimizes its own loss. For the representation learning model we use the contrastive learning method SimCLR [10]. In the figure, we only diagram the full contrastive setup for the first frame, but note that it is applied to each frame.

This creates a synergistic loop: the policy finds "hard" data to challenge the model, and as the model improves, the policy must explore even further to find new surprises.

Datasets

The researchers trained and evaluated CRL across several sophisticated environments:

  • Matterport3D: A large-scale dataset of photorealistic 3D indoor environments used for pretraining the agents in the Habitat simulator.
  • Gibson: Used for validating the learned representations on downstream navigation tasks.
  • Places: A real-world photographic dataset used to test if representations learned in simulation can transfer to actual photos of rooms.

Key Insights and Ideas

  • Adversarial Data Collection: Instead of just seeing more data, CRL focuses on seeing better data. By treating image gathering as an adversarial process, the agent avoids redundant observations and focuses on visually salient areas.
  • The "Freezing" Requirement: A critical finding was that when transferring these learned representations to new tasks (like navigation), it is essential to freeze the visual weights. The "noisy" gradients from reinforcement learning can easily destroy a well-learned visual foundation if allowed to fine-tune.
  • Task-Agnosticism: Unlike many RL methods that learn features specific to one goal (like "find the chair"), CRL learns a general understanding of space and objects that can be reused for different tasks, from following language instructions to simple image recognition.
Figure 5: Illustration of data acquired for contrastive training uti- lizing either a random agent, a learned counts agent or CRL on 4 different environments. Data collected by a random agent exhibit limited diversity, while data collected by a learned counts are di- verse but not visually interesting (indicated by black backgrounds). Data collected by CRL is diverse.

Key Results

  • Superior Exploration: CRL agents explored significantly more of their environments than standard curiosity baselines (like RND) or agents trained on specific navigation goals.
  • Navigation Performance: On the "ObjectNav" task (finding a specific object in a new house), CRL achieved a success rate of 4.0%, significantly higher than training from scratch (0.3%) or using ImageNet-pretrained weights (1.0%).
  • Sim-to-Real Transfer: Despite never seeing a real photo during training, the CRL model achieved 21.22% Top-1 accuracy on the Places dataset when used as a fixed feature extractor, outperforming other self-supervised methods trained in the same simulator.
Figure 3: Plots of the average number of tiles explored in a across separate environments of different reinforcement learning agents. To gather images that have high contrastive loss, CRL explores effectively around the surrounding environment, outperforming RND and PointNav agents, and performs similar to a learned counts agent that is explicitly encouraged to maximize tile exploration.

Limitations and Future Work

While promising, the authors note several areas for growth:

  • The Performance Gap: While CRL beats other simulation-trained methods, it still lags behind models trained on massive supervised datasets like ImageNet for real-world recognition.
  • Sensory Constraints: The current model relies solely on RGB images. Incorporating depth, touch, or sound could lead to even more robust embodied representations.
  • Complexity of Interaction: The agent's interactions are currently limited to moving and looking. Future work could involve more complex manipulation (picking up objects) to learn about physics and material properties.

Summary updated

BibTeX
@misc{du2021curious,
  author = {Yilun Du and Chuang Gan and Phillip Isola},
  title = {{Curious Representation Learning for Embodied Intelligence}},
  year = {2021},
  eprint = {2105.01060},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.01060},
}
Figure