Cut, Paste and Learn: Surprisingly Easy Synthesis for Instance Detection

Debidatta Dwibedi, Ishan Misra, Martial Hebert

Training modern object detectors typically requires massive, manually annotated datasets—a process that is both time-consuming and expensive. In their influential work, Dwibedi et al. challenge the assumption that synthetic data must be physically perfect to be effective. They demonstrate that a simple "cut and paste" approach, when handled with care regarding edge artifacts, can produce training data that rivals or even exceeds the performance of real-world datasets.

The Challenge of Instance Detection

While large-scale datasets exist for general categories like "dogs" or "chairs," instance detection—recognizing a specific product or personal object—presents a unique scaling problem. Collecting and annotating thousands of images for every new object in diverse environments is a "mammoth task" that hinders progress in robotics and personalized AI.

Previous attempts to bridge this gap often relied on complex 3D rendering. However, these methods frequently suffer from a "domain gap," where models trained on synthetic graphics fail to generalize to the visual noise of the real world.

The Cut-and-Paste Pipeline

The authors propose a straightforward four-step pipeline to generate training data:

  1. Object Acquisition: High-resolution images of objects are taken from multiple viewpoints (e.g., using the BigBIRD dataset).
  2. Mask Prediction: A Fully Convolutional Network (FCN) automatically segments the object from its original, simple background.
  3. Random Pasting: These object "cutouts" are pasted onto random indoor background images (e.g., from the UW Scenes dataset).
  4. Blending (The "Secret Sauce"): Naive pasting creates sharp boundary artifacts. To prevent the neural network from simply becoming an "artifact detector," the authors apply Gaussian and Poisson blurring to soften edges and blend lighting.
Figure 5: Examples of synthetic training images where various object instances are pasted onto random kitchen and dining room backgrounds.

Key Insights: Patch-Level Realism

A provocative finding of this research is that modern detectors like Faster R-CNN primarily rely on "patch-level" features. A physically accurate scene—where objects obey gravity and logical placement—is not strictly necessary for training.

As long as the pixels inside and immediately around the object's bounding box look realistic, the model receives a valid training signal. This allows for "floating" objects or atypical rotations that provide the viewpoint diversity necessary for robust detection in the wild.

Figure 3: A synthesized training image showing objects like cereal boxes and snack cans "floating" in an office environment, providing diverse training signals.

Experimental Results

The effectiveness of this "easy" synthesis is borne out in the results:

  • Outperforming Real Data: On the GMU Kitchen dataset, synthetic data alone achieved a Mean Average Precision (mAP) of 76.2. When combined with real data, it provided a 21% relative improvement over using real data alone.
  • The 10% Rule: In cross-domain tests, a model trained on synthetic data plus just 10% of the real dataset outperformed a model trained on 100% of the real data.
  • Ablation of Blending: Training the model to be invariant to different blending modes (the "All Blend" strategy) resulted in a significant 8 AP point boost over naive pasting, confirming that managing edge artifacts is critical.

Conclusion

Dwibedi et al. show that for instance detection, "good enough" synthesis is surprisingly powerful. By focusing on local realism and artifact management rather than global scene consistency, researchers can rapidly generate high-quality training data for new objects, significantly lowering the barrier to deploying effective detection systems in real-world environments.

Summary updated

BibTeX
@inproceedings{dwibedi2017cut,
  author = {Debidatta Dwibedi and Ishan Misra and Martial Hebert},
  title = {{Cut, Paste and Learn: Surprisingly Easy Synthesis for Instance Detection}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  url = {https://openreview.net/forum?id=Hyb1dbfu-S},
}
Figure