Source-Free Object Detection by Learning to Overlook Domain Style

Shuaifeng Li, Mao Ye, Xiatian Zhu, Lihua Zhou, Lin Xiong

Introduction

Adapting object detectors to new environments typically requires access to the original training data. However, in many real-world scenarios, this data is restricted due to privacy concerns or its sheer size. This paper addresses the challenge of Source-Free Object Detection (SFOD), where a pre-trained model must be adapted to a target domain without access to the source dataset.

A major hurdle in SFOD is domain shift, where differences in textures, lighting, or weather (e.g., fog) between the source and target domains degrade model performance. While standard Unsupervised Domain Adaptation (UDA) uses both datasets, SFOD methods often rely on "pseudo-labeling." This approach is prone to error; if the domain shift is significant, the model generates incorrect labels, leading to a "garbage in, garbage out" cycle.

Methodology: Learning to Overlook Domain Style (LODS)

The authors propose the LODS framework, which shifts the focus from purely relying on potentially noisy pseudo-labels to making the model robust against the "style" of the target domain.

Comparison of the standard pseudo-label strategy and the proposed Overlook Domain Style (LODS) strategy.

Style Enhancement Module

To force the model to ignore domain-specific styles, LODS first generates "style-enhanced" versions of target images. By mixing style characteristics (mean and variance of features) across different target images, the module creates an auxiliary view that intensifies the target domain's style.

Overlooking Style Module (Mean-Teacher)

The framework employs a dual-model setup consisting of a Teacher and a Student. The Teacher processes the original target image, while the Student processes the style-enhanced version. Through mutual self-supervised learning, the Student is trained to produce consistent results despite the enhanced style distractors.

Graph-Based Alignment

To ensure structural consistency, the authors utilize graph matching. This aligns relationships between objects (instance-level) and image patches (image-level) across the original and style-enhanced views. By maintaining these spatial and relational consistencies regardless of stylistic variations like fog or artistic texture, the model learns to prioritize "content" (object shapes) over "style."

Experimental Evaluation

The LODS method was evaluated across four cross-domain benchmarks:

  • Pascal → Clipart/Watercolor: Real-world photos to artistic styles.
  • Cityscapes → Foggy-Cityscapes: Clear weather to synthetic fog.
  • KITTI → Cityscapes: Cross-dataset adaptation between different real-world driving environments.

Key Results

LODS achieved state-of-the-art performance in source-free adaptation:

  • Pascal → Clipart: Reached 45.2% mAP, a 15.3% improvement over the previous best source-free method (SOAP), even outperforming some source-available methods.
  • Pascal → Watercolor: Achieved 58.2% mAP, a gain of over 7%.
  • Foggy Weather: On Cityscapes → Foggy-Cityscapes, it reached 35.8% mAP, demonstrating robustness to weather-induced shifts.

Conclusion

The core insight of LODS is that domain shift is primarily a stylistic distraction. By implementing a self-supervised "style-overlooking" task, the adaptation process becomes significantly more stable than traditional pseudo-labeling. While the current style enhancement is simple, future work could involve more complex generation techniques like GANs. Furthermore, the "overlooking style" philosophy holds potential for other tasks such as semantic segmentation.

Summary updated

BibTeX
@inproceedings{li2022source,
  author = {Shuaifeng Li and Mao Ye and Xiatian Zhu and Lihua Zhou and Lin Xiong},
  title = {{Source-Free Object Detection by Learning to Overlook Domain Style}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  doi = {10.1109/cvpr52688.2022.00785},
}
Figure