Skip to main content
QUICK REVIEW

[Paper Review] Domain Adaptive YOLO for One-Stage Cross-Domain Detection

Shizhao Zhang, Hongya Tuo|arXiv (Cornell University)|Jun 26, 2021
Domain Adaptation and Few-Shot LearningComputer Science32 references15 citations
TL;DR

This paper proposes Domain Adaptive YOLO (DA-YOLO), a novel domain adaptation framework for one-stage object detectors that integrates image-level and instance-level feature alignment to reduce domain shift. By introducing Regressive Image Alignment (RIA), Multi-Scale Instance Alignment (MSIA), and Multi-Level Consensus Regularization (MLCR), DA-YOLO achieves state-of-the-art performance on cross-domain detection benchmarks, outperforming Faster R-CNN-based methods by up to 17.6% mAP gain in some settings.

ABSTRACT

Domain shift is a major challenge for object detectors to generalize well to real world applications. Emerging techniques of domain adaptation for two-stage detectors help to tackle this problem. However, two-stage detectors are not the first choice for industrial applications due to its long time consumption. In this paper, a novel Domain Adaptive YOLO (DA-YOLO) is proposed to improve cross-domain performance for one-stage detectors. Image level features alignment is used to strictly match for local features like texture, and loosely match for global features like illumination. Multi-scale instance level features alignment is presented to reduce instance domain shift effectively , such as variations in object appearance and viewpoint. A consensus regularization to these domain classifiers is employed to help the network generate domain-invariant detections. We evaluate our proposed method on popular datasets like Cityscapes, KITTI, SIM10K and etc.. The results demonstrate significant improvement when tested under different cross-domain scenarios.

Motivation & Objective

  • Address domain shift in one-stage object detectors, which suffer from performance degradation when deployed across domains due to distribution shifts in lighting, viewpoint, and image quality.
  • Overcome the limitation of existing domain adaptation methods that are primarily designed for two-stage detectors like Faster R-CNN, which are too slow for real-time industrial applications.
  • Develop a unified domain adaptation framework for YOLOv3 that enables effective image-level and instance-level feature alignment without relying on region proposals.
  • Improve cross-domain generalization in real-world scenarios such as autonomous driving, where test data often differs from training data in weather, camera angle, and image clarity.

Proposed method

  • Propose Regressive Image Alignment (RIA), which uses three domain classifiers at different feature map layers of YOLOv3 with decreasing weights to enforce stricter alignment on local features (e.g., texture) and looser alignment on global features (e.g., illumination).
  • Introduce Multi-Scale Instance Alignment (MSIA), which applies three instance-level domain classifiers to the three scale predictions of YOLOv3 to align features across different receptive fields and reduce instance-level domain shift.
  • Implement Multi-Level Consensus Regularization (MLCR), which enforces consistency among image-level and instance-level domain classifiers to encourage the network to learn domain-invariant features across all levels.
  • Use adversarial training with Gradient Reversal Layer (GRL) to jointly optimize the feature extractor and domain classifiers, enabling the network to generate domain-invariant features without target domain annotations.
  • Train the model end-to-end using a combined loss that includes detection loss, domain classification loss for image and instance levels, and consensus regularization loss.
  • Leverage feature maps from multiple backbone layers to enable multi-scale adaptation, with domain classifiers applied at different stages of the YOLOv3 feature extractor.

Experimental results

Research questions

  • RQ1Can domain adaptation techniques designed for two-stage detectors like Faster R-CNN be effectively transferred to one-stage detectors such as YOLOv3?
  • RQ2How can image-level and instance-level domain alignment be jointly optimized in a one-stage detector without region proposal networks?
  • RQ3What is the impact of weighting strategies for image-level domain classifiers on aligning local versus global features?
  • RQ4Does consensus regularization between image-level and instance-level domain classifiers improve domain-invariant feature learning in one-stage detectors?
  • RQ5Can the proposed method achieve better cross-domain detection performance than existing SOTA methods based on two-stage detectors?

Key findings

  • DA-YOLO achieves a 17.6% mAP gain over the baseline YOLOv3 when transferring from KITTI to Cityscapes, significantly outperforming existing Faster R-CNN-based domain adaptation methods.
  • On the Cityscapes to Foggy Cityscapes benchmark, DA-YOLO achieves 54.0% mAP, surpassing the previous SOTA method (51.8%) by 2.2 percentage points and approaching the oracle performance (57.8%).
  • The ablation study confirms that each component—RIA, MSIA, and MLCR—contributes incrementally to performance, with MLCR providing the largest gain of 1.2% mAP in the Cityscapes-to-Foggy Cityscapes setting.
  • The RIA module, which uses decreasing weights for image-level domain classifiers, improves mAP by 1.5% over equal-weighted image alignment, demonstrating its effectiveness in prioritizing local feature alignment.
  • t-SNE visualization confirms that global features from DA-YOLO are better aligned between source and target domains than those from the source-only baseline, validating the success of domain alignment.
  • In qualitative results, DA-YOLO successfully detects cars missed by the baseline model in adverse weather conditions, demonstrating robustness in real-world cross-domain scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.