Robust Category-Level 3D Pose Estimation from Synthetic Data

Jiahao Yang, Wufei Ma, Angtian Wang, Xiaoding Yuan, Alan L. Yuille, Adam KortylewskiarXiv 2023

Abstract

Obtaining accurate 3D object poses is vital for numerous computer vision applications, such as 3D reconstruction and scene understanding. However, annotating real-world objects is time-consuming and challenging. While synthetically generated training data is a viable alternative, the domain shift between real and synthetic data is a significant challenge. In this work, we aim to narrow the performance gap between models trained on synthetic data and few real images and fully supervised models trained on large-scale data. We achieve this by approaching the problem from two perspectives: 1) We introduce SyntheticP3D, a new synthetic dataset for object pose estimation generated from CAD models and enhanced with a novel algorithm. 2) We propose a novel approach (CC3D) for training neural mesh models that perform pose estimation via inverse rendering. In particular, we exploit the spatial relationships between features on the mesh surface and a contrastive learning scheme to guide the domain adaptation process. Combined, these two approaches enable our models to perform competitively with state-of-the-art models using only 10% of the respective real training images, while outperforming the SOTA model by 10.4% with a threshold of $\pi/18$ using only 50% of the real training data. Our trained model further demonstrates robust generalization to out-of-distribution scenarios despite being trained with minimal real data.

Introduction

Estimating the 3D orientation (pose) of an object from a 2D image is a cornerstone of computer vision, yet it faces a massive data bottleneck. Annotating real-world images with precise 3D poses is prohibitively expensive and time-consuming. While researchers often turn to synthetic data—renders of CAD models—to solve this, they frequently encounter the "domain shift" problem. Models trained on clean, computer-generated images often fail when faced with the messy textures, lighting, and backgrounds of the real world. Furthermore, models often learn "spurious correlations," identifying a pose based on environmental cues (like a road) rather than the object's actual geometry.

Methods: The SyntheticP3D Pipeline

To bridge the synthetic-to-real gap, the authors developed a multi-stage framework that combines high-quality data generation with a robust training architecture. The first pillar of this framework is SyntheticP3D, a dataset generated through a graphics-guided style transfer pipeline.

The SyntheticPASCAL3D pipeline overview, illustrating the transition from graphics-based rendering to OOD-aware synthetic images.

Graphics-Guided Style Transfer

The generation process focuses on three key areas:

  1. Structure Preservation: CAD models are rendered to extract Canny edges, which serve as a structural skeleton to ensure 3D consistency.
  2. Realistic Texturing: A pre-trained generative model uses these edges to fill in realistic textures and lighting. By using 3D-consistent prior noise and prompt engineering, the system creates images that look real while maintaining perfect geometric alignment.
  3. OOD-Aware Generation: To prevent the model from relying on backgrounds (spurious correlations), the pipeline intentionally randomizes environments—placing boats in jungles or planes on city streets. This forces the model to focus strictly on the object's features for pose estimation.
Evolution of synthetic image generation from basic CAD models to prompt-engineered, 3D-consistent textured images.

CC3D: Contrastive Consistency 3D

The second pillar is the CC3D training approach, which utilizes Neural Mesh Models (NMMs) to represent object categories as 3D cuboid meshes. The framework employs a Domain Contrastive Loss to encourage the model to extract features that are invariant to the domain (synthetic vs. real). Additionally, the model uses unsupervised domain adaptation via "pseudo-labels," estimating the pose of unlabeled real images using its synthetic knowledge and then fine-tuning itself on the real-world domain.

Results and Discussion

The efficacy of the SyntheticP3D and CC3D combination was evaluated on the PASCAL3D+ benchmark and the OOD-CV dataset.

  • Data Efficiency: On PASCAL3D+, the CC3D model using only 10% of real training labels performed competitively with state-of-the-art (SOTA) models trained on 100% of the data. When provided with 50% of the real data, CC3D outperformed the previous SOTA by 10.4% at the strict $\pi/18$ error threshold.
  • Robustness: In Out-Of-Distribution (OOD) tests involving unusual textures and contexts, CC3D significantly outperformed standard baselines like ResNet50. This suggests the model successfully learned generalizable geometric features rather than domain-specific shortcuts.

Conclusion

By combining a novel, realistically textured synthetic dataset with a contrastive neural mesh training approach, this work demonstrates that the reliance on massive real-world 3D annotations can be significantly reduced. While challenges remain in matching the infinite complexity of real-world textures and extending the scope to deformable objects, the results suggest that generative models may eventually eliminate the need for manual real-world 3D annotations entirely.

Summary updated

BibTeX
@misc{yang2023robust,
  author = {Jiahao Yang and Wufei Ma and Angtian Wang and Xiaoding Yuan and Alan L. Yuille and Adam Kortylewski},
  title = {{Robust Category-Level 3D Pose Estimation from Synthetic Data}},
  year = {2023},
  eprint = {2305.16124},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.16124},
}
Figure