Label-Free Synthetic Pretraining of Object Detectors

Hei Law, Jia Deng

Abstract

Modern object detection models typically rely on large-scale, human-annotated datasets or computationally intensive self-supervised learning on real images. We introduce SOLID (Synthetic Optimized Layout with Instance Detection), a framework that leverages unlabeled 3D models to generate synthetic pretraining data. By optimizing scene layouts through geometric proxy metrics and employing a novel instance detection pretext task, SOLID achieves performance competitive with state-of-the-art self-supervised methods on the COCO benchmark while requiring significantly fewer computational resources and no manual labels.

Introduction

The development of high-performance object detectors is often limited by the availability of massive, manually-labeled datasets like COCO. While self-supervised learning (SSL) on real images has emerged as a powerful alternative, it often depends on hand-crafted 2D augmentations or reconstruction tasks that may not capture the geometric nuances essential for detection. Synthetic data offers a scalable solution, but the "domain gap" between rendered and real-world images remains a challenge. This paper explores whether synthetic data can be effectively used for pretraining by prioritizing geometric complexity—such as occlusion and scale variation—over perfect visual realism.

The SOLID Framework

The SOLID framework consists of two primary components designed to learn robust, transferable features for object detection without semantic labels.

Synthetic Optimized Layout

The first pillar of SOLID is the generation of synthetic scenes that are intentionally "difficult" from a geometric perspective. Unlabeled 3D models from ShapeNet are placed into background environments from SceneNet. Crucially, the scene layout is not random; it is optimized using proxy metrics such as average occlusion, scale distribution, and object count.

The synthetic layout optimization process using proxy metrics like occlusion and object count.

By maximizing these metrics, the framework ensures that the network encounters complex scenarios—like heavy overlap and varying distances—during pretraining. This approach allows the model to learn geometric invariances (e.g., viewpoint and illumination) that are fundamental to detection, regardless of the object's semantic category.

Instance Detection Pretraining

The second pillar is a novel pretext task called "instance detection." Instead of traditional category-based detection, the model is trained to find a specific instance of an object.

The instance detection pretext task, where the model matches a query object to instances in a target scene.

Given a query image of a 3D model and a target image containing a rendered scene, the detector must identify all instances of that exact object. The architecture uses a contrastive loss to align the embeddings of the query and the corresponding detected boxes in the target image. This forces the model to focus on object-level features rather than global image statistics, making the learned representations highly effective for downstream detection tasks.

Experimental Results

The authors evaluated SOLID by pretraining on synthetic data and fine-tuning on the COCO dataset.

  • Competitive Performance: SOLID achieved a 39.0% AP on COCO (using Mask R-CNN), matching the performance of state-of-the-art SSL methods like MoCov2 and DetCon that pretrain on real images.
  • Efficiency: The method is highly efficient, achieving these results with significantly fewer computational resources (e.g., 8 GPUs) compared to the large-scale clusters often required for SSL on ImageNet.
  • Low-Data Regime: In scenarios with limited real-world labels (e.g., 10% of COCO), SOLID pretraining outperformed supervised ImageNet pretraining and several SSL methods, demonstrating its robustness as an initialization strategy.
  • Ablation Insights: Moving from random object placement to an optimized layout improved COCO AP from 37.2% to 39.0%, confirming that geometric complexity in synthetic data is a key driver of performance.

Conclusion

SOLID demonstrates that synthetic data, when optimized for geometric difficulty and paired with an appropriate pretext task, can serve as a powerful and efficient alternative to real-world data for pretraining object detectors. While the current approach proves that perfect realism is not required, future work could explore more sophisticated rendering and a wider variety of 3D models to further bridge the domain gap.

Summary updated

BibTeX
@inproceedings{law2024label,
  author = {Hei Law and Jia Deng},
  title = {{Label-Free Synthetic Pretraining of Object Detectors}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00099},
}
Figure