Real-World Robot Learning with Masked Visual Pre-training

Ilija Radosavovic, Tete Xiao, Stephen James, Pieter Abbeel, Jitendra Malik, Trevor Darrell

Abstract

In this work, we explore self-supervised visual pre-training on images from diverse, in-the-wild videos for real-world robotic tasks. Like prior work, our visual representations are pre-trained via a masked autoencoder (MAE), frozen, and then passed into a learnable control module. Unlike prior work, we show that the pre-trained representations are effective across a range of real-world robotic tasks and embodiments. We find that our encoder consistently outperforms CLIP (up to 75%), supervised ImageNet pre-training (up to 81%), and training from scratch (up to 81%). Finally, we train a 307M parameter vision transformer on a massive collection of 4.5M images from the Internet and egocentric videos, and demonstrate clearly the benefits of scaling visual pre-training for robot learning.

Introduction

Learning to control a robot directly from raw pixels is notoriously difficult and sample-inefficient. Traditionally, researchers have relied on visual encoders pre-trained on curated, object-centric datasets like ImageNet. However, such data often fails to capture the spatial nuances and egocentric perspectives required for physical manipulation. In this paper, we investigate whether large-scale self-supervised learning can create a "foundation model" for robot perception. We propose Masked Visual Pre-training (MVP), which leverages massive "in-the-wild" video datasets to build a visual encoder that is effective across different robots, tasks, and environments without task-specific fine-tuning.

Overview of the Masked Visual Pre-training (MVP) framework, illustrating the integration of diverse data sources, the MAE architecture, and real-world robotic evaluation.

Methodology

The MVP approach follows a three-step pipeline designed for scalability and general-purpose utility:

  1. Self-Supervised Pre-training: We utilize a Masked Autoencoder (MAE) architecture. During training, random patches of an image (up to 75%) are masked out, and a Vision Transformer (ViT) is tasked with reconstructing the missing pixels. This forces the model to learn a deep understanding of spatial structures and object relationships.
  2. Frozen Representations: Once pre-trained on a massive dataset of "in-the-wild" videos, the vision encoder is frozen. Its weights remain static during the subsequent robot learning phase.
  3. Policy Learning: A small, learnable control module (a simple MLP) is added on top of the frozen encoder. This module is trained via Behavior Cloning (BC) using a limited number of human demonstrations (20–80 per task) to map visual features and robot joint states to actions.

Experimental Setup and Datasets

We compiled a massive dataset of 4.5 million images from five diverse sources, including Ego4D (egocentric video), ImageNet, and datasets focused on human-object interactions like Epic Kitchens and 100 Days of Hands.

Evaluation was conducted through 981 real-world experiments using two distinct robot setups:

  • UFACTORY xArm7: A 7-DoF arm used for tasks such as ReachBlock, PushCube, PickFruit, and PickSink (picking a bottle from a cluttered sink).
  • Allegro Hand: A multi-fingered hand used for FlipCube and reaching tasks to test generalization across different robot morphologies.
The real-world robotic tasks used for evaluation, featuring the xArm and Allegro hand across eight diverse scenes and objects.

Results and Discussion

Our experiments yielded several key insights into the scaling of visual pre-training for robotics:

  • Performance Gains: MVP significantly outperformed baselines, exceeding CLIP's success rates by up to 75% and supervised ImageNet pre-training by up to 81%.
  • The Scaling Law of Robotics: We found that scaling model capacity (e.g., to a 307M parameter ViT-Large) only improves performance if the pre-training data is scaled proportionally.
  • MAE vs. CLIP: While CLIP is effective for semantic tasks, MAE-based pre-training proved superior for manipulation. The reconstruction task in MAE forces the model to capture precise spatial geometry, which is more critical for grasping and reaching than high-level semantic labels.
  • Sample Efficiency: MVP reached the performance levels of the strongest baselines while using 50% fewer human demonstrations, highlighting its potential for reducing the cost of real-world deployment.

Conclusion

This work demonstrates that self-supervised pre-training on diverse, uncurated video data provides a powerful visual prior that transcends specific robot hardware. By scaling both model size and data diversity, we can move closer to universal visual foundation models for robotics. Future research will focus on increasing environment diversity and testing the framework on long-horizon, multi-step planning tasks.

Summary updated

BibTeX
@inproceedings{radosavovic2022real,
  author = {Ilija Radosavovic and Tete Xiao and Stephen James and Pieter Abbeel and Jitendra Malik and Trevor Darrell},
  title = {{Real-World Robot Learning with Masked Visual Pre-training}},
  booktitle = {Conference on Robot Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=sZXs0hIv4q},
}
Figure