[Paper Review] Domain Adaptive Object Detection for Autonomous Driving under Foggy Weather
This paper proposes a domain adaptive object detection framework for autonomous driving under foggy weather by combining image-level and object-level domain adaptation with a novel Adversarial Gradient Reversal Layer (AdvGRL) for hard example mining and a domain-level metric regularization via an auxiliary domain generated through data augmentation. The method achieves state-of-the-art mAP of 42.34 on Cityscapes-to-Foggy Cityscapes, significantly outperforming baseline models without domain adaptation.
Most object detection methods for autonomous driving usually assume a consistent feature distribution between training and testing data, which is not always the case when weathers differ significantly. The object detection model trained under clear weather might not be effective enough in foggy weather because of the domain gap. This paper proposes a novel domain adaptive object detection framework for autonomous driving under foggy weather. Our method leverages both image-level and object-level adaptation to diminish the domain discrepancy in image style and object appearance. To further enhance the model's capabilities under challenging samples, we also come up with a new adversarial gradient reversal layer to perform adversarial mining for the hard examples together with domain adaptation. Moreover, we propose to generate an auxiliary domain by data augmentation to enforce a new domain-level metric regularization. Experimental results on public benchmarks show the effectiveness and accuracy of the proposed method. The code is available at https://github.com/jinlong17/DA-Detect.
Motivation & Objective
- To address the domain shift between clear-weather and foggy-weather driving scenarios in autonomous vehicle object detection.
- To improve model generalization under adverse weather by reducing domain discrepancy in image style and object appearance.
- To enhance learning on hard examples through adversarial mining during transfer learning.
- To introduce a new domain-level metric regularization using an auxiliary domain generated via data augmentation.
- To develop a unified framework that improves robustness in foggy conditions without requiring annotated foggy data.
Proposed method
- Leverages image-level and object-level domain classifiers to learn domain-invariant features across clear and foggy weather domains.
- Introduces an Adversarial Gradient Reversal Layer (AdvGRL) that dynamically identifies and focuses on hard examples during training via gradient reversal.
- Employs a novel domain-level metric regularization by generating an auxiliary domain through data augmentation (e.g., rain synthesis) to constrain feature distances between source, auxiliary, and target domains.
- Uses a multi-task loss combining detection loss, domain classification loss, and metric regularization loss to jointly optimize detection and domain adaptation.
- Applies the AdvGRL with learnable thresholds β and α to control gradient reversal based on example hardness, computed from feature L1 distances.
- Trains the model in an unsupervised manner using only labeled clear-weather images and unlabeled foggy-weather images.
![Figure 1: Illustration of the domain adaptive object detection for autonomous driving: (a) Faster R-CNN [ 37 ] detection under clear weather, (b) Faster R-CNN detection under foggy weather without domain adaptation, (c) Faster R-CNN detection under foggy weather with the proposed domain adaptation.](https://ar5iv.labs.arxiv.org/html/2210.15176/assets/x1.png)
Experimental results
Research questions
- RQ1Can joint image-level and object-level domain adaptation effectively reduce domain shift in foggy weather object detection?
- RQ2Does adversarial mining of hard examples through a gradient reversal mechanism improve model robustness in low-visibility conditions?
- RQ3Can the introduction of an auxiliary domain via data augmentation enhance domain-level metric regularization and improve transfer performance?
- RQ4How does the proposed method compare to baseline domain adaptation and source-only models on real-world foggy benchmarks?
- RQ5To what extent do hyperparameters like loss weights and threshold values affect the final detection accuracy?
Key findings
- The proposed method achieves a mean average precision (mAP) of 42.34 on the Cityscapes-to-Foggy Cityscapes benchmark, outperforming the baseline Faster R-CNN with only image- and object-level adaptation (41.30 mAP).
- The ablation study confirms that both the AdvGRL and domain-level metric regularization contribute positively, with the full model (img+obj+AdvGRL+Reg) yielding the highest mAP.
- Using a CycleGAN-based domain randomization method results in only 32.8 mAP, indicating that standard domain randomization is insufficient for complex domain shifts like fog.
- Regular data augmentation (color change, blur, noise) to create an auxiliary domain yields 38.7 mAP, which is lower than the 42.34 mAP achieved by the proposed rain-synthesis-based auxiliary domain.
- The model without pre-training achieves 42.34 mAP, slightly better than the 41.30 mAP obtained with a pre-trained Faster R-CNN, suggesting the proposed method is robust to initialization.
- Qualitative results show significant improvement in object detection under fog, with fewer missed detections and more accurate bounding boxes compared to baseline models.
![Figure 2: The architecture of proposed domain adaptive object detection for autonomous driving under foggy weather. Based on the traditional Faster R-CNN architecture [ 37 ] , the image-level and object-level domain adaptations with adversarial gradient reversal layer (AdvGRL) and domain-level metri](https://ar5iv.labs.arxiv.org/html/2210.15176/assets/x2.png)
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.