Using Simulation and Domain Adaptation to Improve Efficiency of Deep Robotic Grasping

Konstantinos Bousmalis, Alex Irpan, Paul Wohlhart, Yunfei Bai, Matthew Kelcey, Mrinal Kalakrishnan, Laura Downs, Julian Ibarz, Peter Pastor, Kurt Konolige, Sergey Levine, Vincent Vanhoucke · DOI

Abstract

Instrumenting and collecting annotated visual grasping datasets to train modern machine learning algorithms can be extremely time-consuming and expensive. An appealing alternative is to use off-the-shelf simulators to render synthetic data for which ground-truth annotations are generated automatically. Unfortunately, models trained purely on simulated data often fail to generalize to the real world. We study how randomized simulated environments and domain adaptation methods can be extended to train a grasping system to grasp novel objects from raw monocular RGB images. We extensively evaluate our approaches with a total of more than 25,000 physical test grasps, studying a range of simulation conditions and domain adaptation methods, including a novel extension of pixel-level domain adaptation that we term the GraspGAN. We show that, by using synthetic data and domain adaptation, we are able to reduce the number of real-world samples needed to achieve a given level of performance by up to 50 times, using only randomly generated simulated objects. We also show that by using only unlabeled real-world data and our GraspGAN methodology, we obtain real-world grasping performance without any real-world labels that is similar to that achieved with 939,777 labeled real-world samples.

Introduction

Deep robotic grasping—the ability of a robot to pick up arbitrary objects using only visual input—is a notoriously "data-hungry" problem. Achieving high success rates typically requires months of continuous data collection across multiple robot arms, generating millions of expensive real-world trials. While physics simulators offer a path to "infinite" free data, a significant "reality gap" persists. Simulated images are often too clean and simple, lacking the messy textures, complex lighting, and sensor noise found in physical environments. Consequently, models trained purely in simulation often fail when deployed on real hardware. This research explores how to bridge this gap using domain adaptation, allowing simulation to perform the heavy lifting of training.

Methodology: Bridging the Reality Gap

The core of this work is a multi-layered approach to domain adaptation that ensures the robot can transfer knowledge from simulation to reality effectively. The authors combine pixel-level and feature-level techniques to create a robust training pipeline.

GraspGAN (Pixel-Level Adaptation)

The primary novelty is GraspGAN, a Generative Adversarial Network designed to "translate" synthetic images into a style that mimics real camera output. Unlike standard GANs, GraspGAN is constrained to preserve the semantic content of the scene—such as the exact position and orientation of objects—by utilizing segmentation masks and a content-similarity loss. This ensures that the labels generated in simulation remain valid for the adapted images.

Comparison of synthetic, adapted (GraspGAN), and real images.

Feature-Level and Statistical Adaptation

Beyond visual translation, the authors employ Domain-Adversarial Neural Networks (DANN) to encourage the model to extract "domain-invariant" features. This ensures the robot's internal representations are consistent whether it is viewing a real or simulated image. Additionally, Domain-Specific Batch Normalization (DBN) was used to calculate batch statistics separately for real and simulated data, which significantly boosted performance during hybrid training.

Experimental Setup and Datasets

The study utilized a massive scale of data to validate these methods:

  • Real-World Data: Approximately 1 million grasp attempts (9.4 million images) collected by six Kuka IIWA robot arms.
  • Simulated Data: 8 million simulated grasp attempts generated using the Bullet physics engine.
  • Object Diversity: Training involved both realistic models from ShapeNet (51,300 models) and "procedural objects" (1,000 randomly generated shapes).

To test generalization, the system was evaluated on 36 diverse real-world objects never seen during training, including challenging items like transparent bottles and deformable sponges.

The diverse set of real-world objects used for testing generalization.

Key Results and Insights

1. The Power of Unsupervised Learning

One of the most striking findings was the success of unsupervised domain adaptation. Using GraspGAN with zero labeled real-world samples, the model achieved a 63.4% success rate on real objects. This actually outperformed a baseline model trained on nearly 1 million labeled real-world samples, which achieved 62.7%. This demonstrates that simulation, when properly adapted, can replace massive real-world labeling efforts.

2. Massive Efficiency Gains

When combining simulation with a small amount of real data, the efficiency gains were substantial. The GraspGAN approach required 50 times fewer real-world labeled samples to reach the same performance level as a model trained on real data alone. By adding just 1% of the real-world dataset to the adapted simulation data, the researchers achieved results that previously required half of the entire real-world dataset.

3. Randomness Trumps Realism

Counter-intuitively, training on "procedural" objects (randomly generated blocks) led to better real-world generalization than training on realistic ShapeNet models. This suggests that for the task of grasping, geometric diversity and the resulting robustness are more critical than visual fidelity to specific real-world objects.

Conclusion

By leveraging GraspGAN and hybrid domain adaptation techniques, this research demonstrates that the "reality gap" in robotic grasping can be bridged without the need for exhaustive real-world data collection. The ability to achieve state-of-the-art performance using primarily synthetic data marks a significant step toward making deep robotic manipulation more accessible and scalable for industrial and domestic applications.

Summary updated

BibTeX
@misc{bousmalis2017using,
  author = {Konstantinos Bousmalis and Alex Irpan and Paul Wohlhart and Yunfei Bai and Matthew Kelcey and Mrinal Kalakrishnan and Laura Downs and Julian Ibarz and Peter Pastor and Kurt Konolige and Sergey Levine and Vincent Vanhoucke},
  title = {{Using Simulation and Domain Adaptation to Improve Efficiency of Deep Robotic Grasping}},
  year = {2017},
  eprint = {1709.07857},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1709.07857},
}
Figure