Unsupervised Domain Adaption of Object Detectors: A Survey

Poojan Oza, Vishwanath A. Sindagi, Vibashan Vs, Vishal M. PatelarXiv 2021 · OpenReview

TL;DR

This paper surveys the rapidly evolving field of unsupervised domain adaptation for object detection. It addresses the critical challenge of making object detectors perform well on new datasets with different visual characteristics (e.g., different lighting, weather, or camera views) without requiring new annotations, which are expensive and time-consuming to obtain. The survey categorizes existing methods, analyzes their strengths and weaknesses, and points towards promising future research directions.

What Problem Does This Paper Address?

Deep learning models, including those for object detection, typically require vast amounts of labeled data to achieve high performance. However, when a model trained on one dataset (the "source domain") is applied to a dataset with different visual properties (the "target domain"), its performance often degrades significantly. This phenomenon, known as "domain shift" or "distribution shift," is a major hurdle for deploying object detectors in real-world scenarios where data distributions can vary widely. For instance, a detector trained on clear daytime images might fail to detect objects reliably in foggy conditions or at night. Obtaining labeled data for every possible scenario is often impractical. This paper tackles the problem of unsupervised domain adaptation (UDA) for object detection, aiming to adapt a model trained on a labeled source domain to perform well on an unlabeled target domain.

Methods

The paper categorizes UDA methods for object detection into several key approaches:

  • Adversarial Feature Learning: This is the most popular category. It involves training a domain discriminator that tries to distinguish between features from the source and target domains. The object detector's feature extractor is trained to "fool" this discriminator, thereby learning domain-invariant features. Techniques like gradient reversal layers are central to this approach.
  • Pseudo-label Based Self-Training: This method uses a source-trained detector to generate "pseudo-labels" (predicted bounding boxes and classes) on the unlabeled target data. These pseudo-labeled target images are then used to retrain the detector. Strategies to filter noisy pseudo-labels are crucial here.
  • Image-to-Image Translation: This approach uses generative models (like Cycle-GAN) to translate images from the source domain to look like the target domain, or vice-versa. This reduces the visual gap at the input level, making it easier for the detector to adapt.
  • Domain Randomization: Instead of translating images, this method synthetically generates multiple stylized versions of the source domain data. The goal is to train a detector that is robust to various visual styles and thus generalizes better to unseen domains.
  • Mean-Teacher Training: This strategy uses a student-teacher framework where the teacher model (often an exponential moving average of the student) provides more stable targets for training the student model, leveraging unlabeled target data.
  • Graph Reasoning: This approach models relationships between objects within images (inter- and intra-object relationships) using graphs. These learned relationships are then used to enforce consistency between source and target domains.

The paper also notes that many methods combine these strategies.

Datasets

The survey discusses several benchmark datasets commonly used for evaluating domain adaptive object detection. These are categorized as:

  • General Objects: Pascal VOC-07/12, Clipart, Watercolor, Comic.
  • Self-driving: Cityscapes, KITTI, BDD100K, RTTS.
  • Face Detection: WIDER FACE, UFDD.
  • Weather Degradation: FoggyCityscapes.
  • Synthetic: Sim10K.

The paper highlights specific adaptation scenarios, such as Cityscapes to FoggyCityscapes (adverse weather), Sim10K to Cityscapes (synthetic to real), and Pascal VOC to Clipart (dissimilar domains).

Key Insights and Ideas

  • The Dominance of Adversarial Feature Learning: This category is by far the most explored and often yields strong results, highlighting the effectiveness of learning domain-invariant features through adversarial training.
  • The Trade-off Between Simplicity and Robustness: Pseudo-labeling is conceptually simple but requires careful handling of noisy labels. Adversarial methods can be more complex and unstable but offer powerful adaptation capabilities.
  • Input-Level vs. Feature-Level Adaptation: Image-to-image translation tackles the domain shift at the input level, while adversarial methods focus on aligning feature representations. Combining both can be highly effective.
  • The Importance of Comprehensive Evaluation: The paper emphasizes that many existing works evaluate on limited scenarios or use different baselines and hyperparameters, making direct comparisons challenging. Developing standardized evaluation protocols is crucial.
  • Real-World Constraints are Key: Future research needs to move beyond idealized assumptions (e.g., balanced classes, fully available source data) and address more realistic scenarios like partial domain adaptation, source-free adaptation, and continuous adaptation.

Key Results

The paper presents extensive quantitative comparisons in Tables 2 and 3, showing the mean Average Precision (mAP) and the relative improvement (ΔmAP) for various methods across different domain adaptation scenarios. While specific numbers vary, the tables demonstrate significant performance gains achieved by UDA methods compared to source-only baselines. For instance, in the Cityscapes → FoggyCityscapes scenario, improvements of around 20 mAP are observed. The paper notes that transformer-based and memory-guided approaches often perform well in terms of absolute mAP, while unbiased mean-teacher and harmonizing transferability methods show strong relative improvements. However, no single category of adaptation method consistently outperforms others across all scenarios.

Limitations and Future Work

The authors identify several limitations and suggest future research directions:

  • Generalizing to Other Detection Frameworks: Most UDA methods are evaluated on Faster R-CNN. Future work should explore adaptation on other popular frameworks like SSD, YOLO, FCOS, and DETR.
  • Complex Real-World Datasets: Current benchmarks may not fully capture real-world distribution shifts. Developing more complex datasets that reflect diverse factors like weather, geography, and object densities is needed.
  • Considering Other Applications: Research is heavily focused on autonomous driving and general object detection. Exploring UDA for medical imaging, scene text, and document analysis is crucial.
  • Consistent Training and Inference Strategies: The lack of uniform hyperparameters and resizing ratios across methods makes fair comparisons difficult. Standardized protocols are needed.
  • Improving Generalization with Real-World Constraints:
    • Weak/Semi-supervised Domain Adaptation: Leveraging limited annotations in the target domain.
  • One/Few-shot Domain Adaptation: Adapting with very few or even single target samples.
  • Imbalanced Classes: Addressing scenarios where object frequencies vary significantly.
  • Partial Domain Adaptation: Handling cases where the target domain has fewer classes than the source.
  • Open-set Domain Adaptation: Dealing with unknown classes in the target domain.
  • Source-free Domain Adaptation: Adapting without access to the original source data.
  • Multi-source Domain Adaptation: Adapting from multiple diverse source domains.
  • Continuous and Test-time Adaptation: Adapting to dynamically changing environments or at inference time.

Summary updated

Abstract

Recent advances in deep learning have led to the development of accurate and efficient models for various computer vision applications such as classification, segmentation, and detection. However, learning highly accurate models relies on the availability of large-scale annotated datasets. Due to this, model performance drops drastically when evaluated on label-scarce datasets having visually distinct images, termed as domain adaptation problem. There is a plethora of works to adapt classification and segmentation models to label-scarce target datasets through unsupervised domain adaptation. Considering that detection is a fundamental task in computer vision, many recent works have focused on developing novel domain adaptive detection techniques. Here, we describe in detail the domain adaptation problem for detection and present an extensive survey of the various methods. Furthermore, we highlight strategies proposed and the associated shortcomings. Subsequently, we identify multiple aspects of the problem that are most promising for future research. We believe that this survey shall be valuable to the pattern recognition experts working in the fields of computer vision, biometrics, medical imaging, and autonomous navigation by introducing them to the problem, and familiarizing them with the current status of the progress while providing promising directions for future research.
BibTeX
@misc{oza2021unsupervised,
  author = {Poojan Oza and Vishwanath A. Sindagi and Vibashan VS and Vishal M. Patel},
  title = {{Unsupervised Domain Adaption of Object Detectors: A Survey}},
  year = {2021},
  eprint = {2105.13502},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.13502},
}
Figure