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

TL;DR

Training robots to grasp objects usually requires millions of expensive real-world trials. This paper demonstrates that by combining large-scale simulation with a novel domain adaptation technique called GraspGAN, researchers can reduce the need for labeled real-world data by up to 50 times. Remarkably, their unsupervised approach achieves grasping performance using zero real-world labels that is comparable to a model trained on nearly a million human-annotated real-world samples.

What Problem Does This Paper Address?

Deep learning has revolutionized robotic grasping, but it has a massive "data hunger" problem. Collecting millions of physical grasp attempts is time-consuming, wears out hardware, and requires complex auto-labeling setups. While simulators offer an infinite supply of "cheap" data with perfect labels, models trained in simulation often fail in the real world due to the reality gap—differences in lighting, textures, and physics between the virtual and physical domains.

This paper specifically tackles the challenge of bridging this gap for monocular RGB images. Unlike depth sensors, which abstract away many appearance issues, raw RGB images are highly sensitive to domain shifts, making simulation-to-real transfer exceptionally difficult.

Methods

The authors propose a multi-layered approach to domain adaptation:

  1. GraspGAN (Pixel-Level Adaptation): This is a generative adversarial network (GAN) designed to "translate" synthetic images into realistic-looking ones. It uses a U-Net generator and a novel multi-scale patch-based discriminator that looks at both global consistency and local texture realism. To ensure the GAN doesn't change the underlying meaning of the scene (e.g., moving an object's position), they incorporate semantic consistency losses using segmentation masks and feature-level similarity.

    Fig. 1: Bridging the reality gap: our proposed pixel-level domain adaptation model takes as input (a) synthetic images produced by our simulator and produces (b) adapted images that look similar to (c) real-world ones produced by the camera over the physical robot’s shoulder. We then train a deep vision-based grasping network with adapted and real images, which we further refine with feature-level adaptation.
  2. Feature-Level Adaptation (DANN): They use Domain-Adversarial Neural Networks to force the grasping model to learn features that are invariant to whether the input is real or synthetic.

  3. Domain-Specific Batch Normalization (DBN): Recognizing that sim and real data have different statistics, they use separate batch normalization layers for each domain during training, which significantly stabilizes the learning process.
  4. Simulation Strategy: They utilized the Bullet physics engine to generate 8 million synthetic grasp attempts. They experimented with different levels of randomization (visual and dynamics) and different types of 3D models.
The GraspGAN architecture and training flow

Datasets

  • Real-World Data: A large-scale dataset of ~1 million grasp attempts (9.4 million images) collected using 6 Kuka IIWA robot arms on ~1,100 different objects.
  • Synthetic Data: 8 million samples generated in simulation.
  • Evaluation Set: 36 diverse, "unseen" physical objects (e.g., transparent bottles, deformable objects, tools) that were never used during training.
  • 3D Model Sources: They compared ShapeNet (realistic household objects) against Procedural Objects (randomly generated geometric clusters).

Key Insights and Ideas

  • Diversity Trumps Realism: Surprisingly, models trained on procedural objects (randomly stuck-together blocks) outperformed those trained on realistic ShapeNet models. This suggests that for grasping, seeing a vast variety of geometric configurations is more important than seeing "realistic" looking objects.

    Comparison of procedural, ShapeNet, and real objects
  • The Power of Unsupervised Transfer: The GraspGAN model achieved a 63.4% success rate using zero labeled real-world data. This is nearly identical to the 62.75% success rate of a model trained on 939,777 labeled real-world samples.

  • Hybrid Adaptation is Best: Combining pixel-level (GraspGAN) and feature-level (DANN) adaptation provided the most robust results, especially when real-world data was scarce.
  • Semantic Anchoring is Critical: Standard GANs often "hallucinate" or move objects to satisfy the discriminator. The authors' use of segmentation masks and perceptual losses was vital to ensure the labels from simulation remained valid for the adapted images.

Key Results

The primary metric was the success rate on 36 novel physical objects.

  • Data Efficiency: By adding simulated data and using domain adaptation, the team achieved the same performance with 1% of the real data (93k samples) as a baseline model achieved with 50% of the real data (4.7M samples).
  • Quantitative Gains: As shown in the figure below, the "Sim+Real" approach (orange) consistently outperformed the "Real-Only" baseline (blue), particularly in low-data regimes.

    Grasp success rates across different data regimes
  • Final Performance: Their best hybrid model reached a 76.67% success rate when using the full dataset, a significant improvement over the 67.65% real-only baseline.

Limitations and Future Work

  • Invariance vs. Reasoning: The current methods focus on making features invariant to the domain. The authors note that future work could involve explicitly reasoning about physical discrepancies (like friction or mass) between sim and real.
  • Monocular Focus: While monocular RGB is a "hard" case, the authors acknowledge that extending this to stereo or depth cameras would likely yield even higher absolute success rates.
  • Task Complexity: The study focused on top-down pinch grasps. More complex manipulation tasks (like re-orienting objects) would provide a stiffer test for these domain adaptation techniques.

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