SimROD: A Simple Adaptation Method for Robust Object Detection

Rindra Ramamonjison, Amin Banitalebi-Dehkordi, Xinyu Kang, Xiaolong Bai, Yong ZhangICCV 2021

Abstract

This paper presents a Simple and effective unsupervised adaptation method for Robust Object Detection (SimROD). To overcome the challenging issues of domain shift and pseudo-label noise, our method integrates a novel domain-centric data augmentation, a gradual self-labeling adaptation procedure, and a teacher-guided fine-tuning mechanism. Using our method, target domain samples can be leveraged to adapt object detection models without changing the model architecture or generating synthetic data. When applied to image corruptions and high-level cross-domain adaptation benchmarks, our method outperforms prior baselines on multiple domain adaptation benchmarks. SimROD achieves new state-of-the-art on standard real-to-synthetic and cross-camera setup benchmarks. On the image corruption benchmark, models adapted with our method achieved a relative robustness improvement of 15-25% AP50 on Pascal-C and 5-6% AP on COCO-C and Cityscapes-C. On the cross-domain benchmark, our method outperformed the best baseline performance by up to 8% and 4% AP50 on Comic and Watercolor respectively.

Introduction

Deep learning models for object detection are notoriously brittle. A model trained on high-resolution, sunny-day driving footage often fails when deployed in the rain, at night, or in a different city with different camera hardware. This phenomenon, known as domain shift, poses a significant barrier to the real-world deployment of computer vision systems. While massive amounts of unlabeled data can be collected from new environments, the cost and time required for manual labeling are often prohibitive.

Unsupervised Domain Adaptation (UDA) seeks to address this by leveraging unlabeled target data to help a model trained on source data generalize to new domains. However, existing UDA methods frequently rely on complex Generative Adversarial Networks (GANs) for image-to-image translation or require specialized network architectures. These approaches can be difficult to train, computationally expensive, and often tied to specific detector backbones.

Methodology: The SimROD Framework

SimROD (Simple Adaptation Method for Robust Object Detection) is designed to be a simple, architecture-agnostic solution for UDA. It is built upon three core components:

The SimROD pipeline integrates DomainMix augmentation, gradual adaptation, and teacher-guided fine-tuning to bridge the domain gap.
  1. DomainMix Augmentation: Rather than employing complex style transfer, SimROD uses a "cut-and-paste" strategy. It generates new training samples by taking random crops from both labeled source images and unlabeled target images, stitching them into a 2x2 collage. This process mixes ground-truth labels from the source with pseudo-labels from the target in a single training instance. This not only provides a strong supervisory signal but also forces the model to handle objects at various scales.
  2. Gradual Self-Labeling: To mitigate the impact of noisy pseudo-labels, SimROD employs a phased adaptation procedure. During an initial "warm-up" phase, all convolutional layers are frozen, and only the Batch Normalization (BN) layers are updated. This allows the model to adapt its internal statistics to the target domain's distribution before it begins learning from potentially erroneous pseudo-labels.
  3. Teacher-Guided Fine-Tuning: The framework utilizes a high-capacity "teacher" model to generate refined pseudo-labels for the target domain. These high-quality labels are then used to fine-tune a "student" model. This teacher-student paradigm ensures that the final deployed model benefits from the knowledge of a more powerful architecture while remaining efficient.

Experimental Setup and Benchmarks

The effectiveness of SimROD was validated across a diverse set of benchmarks:

  • Synthetic-to-Real: Adapting from Sim10k to Cityscapes.
  • Cross-Camera: Generalizing from KITTI to Cityscapes.
  • Real-to-Artistic: Moving from Pascal VOC to stylized datasets like Clipart1k, Watercolor2k, and Comic2k.
  • Image Corruptions: Testing robustness on Pascal-C, COCO-C, and Cityscapes-C, which include 15 types of digital corruptions such as blur, noise, and weather effects.

Results and Performance Analysis

SimROD established new state-of-the-art performance across several key benchmarks. In artistic domains, it surpassed previous baselines by up to 8% AP50 on the Comic dataset and 4% on the Watercolor dataset. Regarding robustness to image corruptions, models adapted with SimROD showed relative improvements of 15-25% AP50 on Pascal-C and 5-6% on COCO-C.

Quantitative comparison of SimROD against existing unsupervised domain adaptation methods across various benchmarks.

Key insights from the study include:

  • Simplicity as a Strength: Simple pixel-level mixing via DomainMix can outperform complex GAN-based methods, avoiding the artifacts and instabilities common in generative modeling.
  • The Role of Batch Normalization: Adapting BN layers first serves as a critical bridge, stabilizing feature representations and reducing pseudo-label noise.
  • Broad Applicability: Being architecture-agnostic, SimROD can be integrated with various object detection frameworks, including single-stage detectors like YOLOv5.

Conclusion and Future Work

While SimROD is highly effective, its performance is still somewhat dependent on the initial quality of the source model. If the domain shift is extreme, the initial pseudo-labels may be too noisy for the gradual adaptation to overcome. Future research could explore ways to further reduce this sensitivity and extend the "Mix and Adapt" philosophy to other tasks such as semantic or instance segmentation.

Summary updated

BibTeX
@inproceedings{ramamonjison2021simrod,
  author = {Rindra Ramamonjison and Amin Banitalebi-Dehkordi and Xinyu Kang and Xiaolong Bai and Yong Zhang},
  title = {{SimROD: A Simple Adaptation Method for Robust Object Detection}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  url = {https://openreview.net/forum?id=YhuJ_i_a9i},
}
Figure