3D Copy-Paste: Physically Plausible Object Insertion for Monocular 3D Detection

Yunhao Ge, Hong-Xing Yu, Cheng Zhao, Yuliang Guo, Xinyu Huang, Liu Ren, Laurent Itti, Jiajun Wu

Introduction

Monocular 3D object detection—the task of estimating 3D bounding boxes from a single 2D image—is a critical capability for low-cost robotics and augmented reality. However, it remains a significant challenge because a single image lacks explicit depth information. Consequently, models are highly dependent on large-scale, diverse training data.

Existing indoor datasets like SUN RGB-D are expensive to label and suffer from severe class imbalance. For example, while chairs are abundant, categories like bathtubs or dressers are rare. While 2D "copy-paste" augmentation has been highly effective for 2D tasks, it fails in 3D. Inserting a 3D object into a scene without considering floor height, existing furniture, or local lighting creates physically nonsensical data that confuses neural networks rather than training them.

Methodology: Ensuring Physical Realism

The researchers propose 3D Copy-Paste, a pipeline designed to insert virtual 3D objects into real-world images with high physical fidelity. The method ensures that "pasted" objects look and act as if they belong in the scene through three primary steps:

The 3D Copy-Paste pipeline integrates external 3D objects into indoor scene datasets by ensuring physical plausibility through lighting and geometric constraints.
  1. Ground Plane Selection: To prevent objects from floating, the system analyzes scene geometry using plane extraction (Agglomerative Hierarchical Clustering) and optimization to identify valid floor surfaces.
  2. Constrained Insertion Search: To avoid "clipping" or overlapping with existing objects, the authors developed an efficient search algorithm. By projecting 3D volumes into 2D top-down views, the system quickly checks for collisions. It also samples object sizes and rotations based on real-world distributions.
  3. Spatially-Varying Illumination: Realism is finalized through deep inverse rendering. The method estimates an environment map for the specific insertion point, refines it for high-dynamic-range (HDR) details, and uses a renderer to generate realistic soft shadows and inter-reflections.

Experimental Results

The effectiveness of 3D Copy-Paste was evaluated on the SUN RGB-D and ScanNet benchmarks. The results demonstrate that physical realism is not just a visual preference but a functional requirement for data augmentation.

Examples of augmented indoor scenes using 3D Copy-Paste, demonstrating realistic object placement and lighting across various categories.

Key Performance Metrics

  • SUN RGB-D: The method improved the baseline ImVoxelNet model from 40.96% to 43.79% mAP.
  • ScanNet: Performance increased from 14.1% to 16.9% mAP.
  • Rare Category Boost: Significant gains were observed in sparse categories. By "hallucinating" rare objects like dressers into common scenes, the system effectively mitigated the long-tail distribution problem.

Crucially, the study found that naive augmentation hurts performance. Inserting objects randomly without collision checks or proper lighting dropped the model's accuracy to approximately 37% mAP, confirming that data augmentation only helps if it respects the laws of physics.

Conclusion

3D Copy-Paste proves that generative techniques can be a primary driver for improving discriminative tasks like 3D detection. By enforcing physical plausibility, the method allows researchers to leverage massive 3D model libraries like Objaverse to overcome the limitations of manually labeled datasets. Future work may explore the use of Neural Radiance Fields (NeRFs) for even higher-quality assets and more complex semantic context rules to ensure objects are placed in appropriate room types.

Summary updated

BibTeX
@inproceedings{ge2023d,
  author = {Yunhao Ge and Hong-Xing Yu and Cheng Zhao and Yuliang Guo and Xinyu Huang and Liu Ren and Laurent Itti and Jiajun Wu},
  title = {{3D Copy-Paste: Physically Plausible Object Insertion for Monocular 3D Detection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=d86B6Mdweq},
}
Figure