Abstract
We present SSOD – the first end-to-end analysis-by-synthesis framework with controllable GANs for the task of self-supervised object detection. We use collections of real-world images without bounding box annotations to learn to synthesize and detect objects. We leverage controllable GANs to synthesize images with pre-defined object properties and use them to train object detectors. We propose a tight end-to-end coupling of the synthesis and detection networks to optimally train our system. Finally, we also propose a method to optimally adapt SSOD to an intended target data without requiring labels for it. For the task of car detection, on the challenging KITTI and Cityscapes datasets, we show that SSOD outperforms the prior state-of-the-art purely image-based self-supervised object detection method Wetectron. Even without requiring any 3D CAD assets, it also surpasses the state-of-the-art rendering-based method Meta-Sim2.
Introduction
Modern object detection relies heavily on massive, manually annotated datasets. Labeling thousands of bounding boxes is not only expensive and time-consuming but also fails to scale when moving to new environments. Existing alternatives have significant drawbacks: weakly-supervised methods often rely on image-level tags or pre-computed proposals, while rendering-based methods require high-fidelity 3D CAD models and suffer from a significant "domain gap" between simulation and reality.
SSOD (Self-Supervised Object Detection) introduces a novel "analysis-by-synthesis" paradigm. By leveraging controllable GANs, the framework learns to detect objects using only unlabeled collections of real-world images. The core insight is that controllability equals supervision: if a generative model can be instructed where to place an object, it can automatically generate the necessary bounding box annotations for training.
Methodology
The SSOD framework consists of three main components designed to bridge the gap between generative synthesis and robust object detection.
Pose-Aware Synthesis
The system utilizes a pose-aware synthesis module that learns to disentangle foreground objects from backgrounds. Because the GAN is controllable, researchers can specify object properties such as pose and location. This allows the system to automatically generate 2D bounding box annotations for every synthesized image, creating a self-labeled training set.
Coupled Training Strategy
A key innovation in SSOD is the tight coupling of the synthesis and detection networks. Unlike traditional pipelines where these are separate, SSOD uses feedback from the detection network to guide the synthesizer. This ensures the generated images are optimally suited for the detection task, with the detector acting as a "teacher" that identifies challenging examples for the synthesizer to produce.
Target Data Adaptation
To ensure the model performs well in real-world target environments, SSOD employs two adaptation strategies:
- Appearance Adaptation: Patch-based discriminators align the textures of synthesized foregrounds and backgrounds with the target domain.
- Object Scale Adaptation (OSA): Using the Sinkhorn distance, the system aligns the distribution of object sizes in synthetic images with those observed in the target domain, ensuring the detector learns appropriate scale priors.
Experimental Results
The framework was evaluated on the KITTI and Cityscapes datasets, using Compcars as the unlabeled source data.
Comparison with State-of-the-Art
As shown in the table below, SSOD significantly outperforms previous methods. On the KITTI dataset, SSOD-Full achieved a mean Average Precision (mAP) of 68.4, nearly doubling the performance of the purely image-based method Wetectron (38.1). Notably, it also surpassed Meta-Sim2 (66.7), which requires expensive 3D CAD assets, demonstrating that learning from real-world image distributions is highly effective.
Robustness and Adaptation
Ablation studies confirm the importance of the coupled training and adaptation modules. On Cityscapes, the full SSOD model achieved 31.3 mAP, a substantial improvement over the uncoupled baseline (22.7). The results indicate that the proposed adaptation techniques are crucial for bridging the domain gap between source and target data.
Conclusion
SSOD advances self-supervised object detection by introducing a successful paradigm of using controllable GAN-based synthesis. By bypassing the need for manual labels or 3D assets, it offers a scalable path for training detectors in new environments. While challenges remain in handling heavy occlusions and complex multi-object scenes, SSOD significantly improves the baseline accuracy for the task and provides a robust framework for future research in generative-based supervision.
Summary updated