AR2-D2: Training a Robot Without a Robot

Jiafei Duan, Yi Ru Wang, Mohit Shridhar, Dieter Fox, Ranjay Krishna

Abstract

Diligently gathered human demonstrations serve as the unsung heroes empowering the progression of robot learning. Today, demonstrations are collected by training people to use specialized controllers, which (tele-)operate robots to manipulate a small number of objects. By contrast, we introduce AR2-D2: a system for collecting demonstrations which (1) does not require people with specialized training, (2) does not require any real robots during data collection, and therefore, (3) enables manipulation of diverse objects with a real robot. AR2-D2 is a framework in the form of an iOS app that people can use to record a video of themselves manipulating any object while simultaneously capturing essential data modalities for training a real robot. We show that data collected via our system enables the training of behavior cloning agents in manipulating real objects. Our experiments further show that training with our AR data is as effective as training with real-world robot demonstrations. Moreover, our user study indicates that users find AR2-D2 intuitive to use and require no training in contrast to four other frequently employed methods for collecting robot demonstrations.

Introduction

Imitation learning has emerged as a powerful paradigm for teaching robots complex manipulation tasks. However, the scalability of this approach is severely limited by a significant data bottleneck. Collecting high-quality demonstrations typically requires physical access to expensive robotic hardware and specialized expertise in teleoperation interfaces, such as VR controllers, 3D mice, or kinesthetic teaching. These requirements often confine data collection to laboratory settings and limit the diversity of objects and environments a robot can learn to interact with.

To address these challenges, we present AR2-D2, a novel framework that enables the collection of real-world robot demonstrations using only a consumer smartphone, completely bypassing the need for a physical robot during the data collection phase.

The AR2-D2 Framework

The core of AR2-D2 is an iOS application that leverages the advanced sensing capabilities of modern mobile devices, specifically LiDAR and human pose estimation.

AR Projection and Hand Tracking

The system projects a 3D URDF model of a robot arm (e.g., a Franka Panda) into the user's physical environment via Augmented Reality (AR). Using real-time human pose detection, the app tracks the user's hand movements at 30 frames per second. The AR robot's end-effector is then mapped to mirror these movements, providing the user with immediate visual feedback on how a robot would interact with the scene.

AR2-D2 interface showing an AR robot arm overlaid on a user's hand during data collection.

Data Processing Pipeline

To transform AR videos into training data for a real robot, AR2-D2 employs a multi-stage processing pipeline:

  1. Hand Removal: The Segment-Anything model (SAM) is used to identify and mask the user's hand in the video frames.
  2. In-painting: A video in-painting technique (E2FGVI) fills the masked areas with the background, creating a clean video of the AR robot arm interacting with the environment.
  3. Feature Extraction: The system extracts 3D voxel data and RGB-D frames from the processed video and the device's LiDAR sensors.
  4. Policy Training: This data is used to train a Perceiver-Actor (PerAct) behavior cloning agent.

Experimental Evaluation

We evaluated AR2-D2 through a comprehensive user study and real-world robot experiments. The user study involved 10 participants collecting 300 demonstrations to compare AR2-D2 against traditional methods: keyboard/mouse, 3D mouse, kinesthetic teaching, and VR teleoperation.

Real-world robot setup used for evaluating policies trained with AR2-D2 data.

Real-World Deployment and Fine-Tuning

To bridge the sensor domain gap between the iPhone's camera and the robot's onboard sensors (e.g., a Kinect), we perform minimal fine-tuning. By providing just five real-world demonstrations on "dummy" objects—a process taking approximately 10 minutes—the agent learns to adapt its visual features to the target hardware.

Results and Discussion

Our results demonstrate that AR2-D2 is both more efficient and as effective as traditional data collection methods.

  • Efficiency: Participants using AR2-D2 were able to collect demonstrations approximately twice as fast as those using kinesthetic teaching. For a standard manipulation task, AR2-D2 averaged 22.1 seconds per demonstration compared to 41.6 seconds for kinesthetic teaching, with identical success rates.
  • Performance: Policies trained on AR2-D2 data achieved success rates comparable to those trained on real-world VR teleoperation data. For example, in a task involving picking up a takeaway bag, the AR-trained policy achieved a 63.3% success rate, slightly outperforming the VR baseline of 60%.
  • 3D Representation: Ablation studies confirmed that utilizing 3D voxelized inputs from LiDAR is crucial, significantly outperforming 2D image-based behavior cloning.

Conclusion

AR2-D2 represents a significant step toward democratizing robot training. By decoupling data collection from physical hardware and providing an intuitive, hand-based interface, it enables the rapid acquisition of diverse, real-world manipulation data. This approach paves the way for scaling robot learning through crowdsourced demonstrations in varied everyday environments.

Summary updated

BibTeX
@inproceedings{duan2023ar,
  author = {Jiafei Duan and Yi Ru Wang and Mohit Shridhar and Dieter Fox and Ranjay Krishna},
  title = {{AR2-D2: Training a Robot Without a Robot}},
  booktitle = {Conference on Robot Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=NQXpY3iSKz},
}
Figure