Abstract
Domain Adaptive Object Detection (DAOD) aims to transfer knowledge from a labeled source domain to an unlabeled target domain. Traditional adversarial alignment methods often treat all image regions and object instances with equal importance, leading to suboptimal performance. This paper introduces Differential Alignment, a strategy that adaptively weights alignment based on prediction discrepancies and foreground-background significance. By focusing on high-discrepancy instances and prioritizing foreground regions while maintaining background context, the proposed method achieves state-of-the-art results on major benchmarks, including a 10% mAP improvement on the Cityscapes-to-BDD100K task.
Introduction
The challenge of DAOD lies in bridging the gap between disparate domains, such as clear weather versus foggy conditions. Standard adversarial learning employs a discriminator to align feature distributions between domains. However, "equal attention alignment" is inefficient; aligning static background elements like the sky is often less critical than aligning complex object instances under varying conditions. This work argues that alignment should be differential, focusing on regions with high domain-specific information that the model has not yet mastered.
Methodology
The proposed framework utilizes a Teacher-Student (Mean Teacher) architecture based on Faster R-CNN, incorporating two primary modules designed to implement differential attention:
- Prediction-Discrepancy Feedback Alignment (PDFA): This module identifies instances where the Teacher and Student models disagree. High discrepancy indicates regions with significant domain-specific features. The squared difference between classification maps is used to weight the adversarial loss, directing more alignment effort toward these challenging instances.
- Uncertainty-based Foreground-Oriented Alignment (UFOA): Recognizing that foreground objects are primary targets, UFOA uses pseudo-labels to generate foreground masks. It splits features into foreground and background streams, using an uncertainty factor ($\gamma$) to balance their respective adversarial losses. This ensures the model prioritizes objects without losing the valuable spatial context provided by the background.
Experimental Results
The method was evaluated on three industry-standard benchmarks, consistently outperforming state-of-the-art (SOTA) alternatives:
- Foggy Cityscapes: The model achieved 57.3% mAP, a 5.2% improvement over previous SOTA. Notably, performance in the 'person' and 'rider' categories saw significant gains (+7.7% and +5.7% respectively), suggesting the method helps with smaller, more complex objects.
- BDD100K: A substantial 10.0% mAP lead over the previous best method (45.8% vs 35.8%) demonstrates the approach's effectiveness on large-scale, diverse real-world datasets.
- Sim10k: Reached 69.7% mAP, outperforming SOTA by 4.2%.
Key insights from ablation studies confirmed the necessity of background context; setting the foreground weight $\gamma$ to 1.0 (ignoring background) resulted in lower performance than a balanced $\gamma=0.8$, validating that background alignment provides necessary spatial cues.
Conclusion
Differential Alignment offers a more nuanced approach to domain adaptation by automating "hard example mining" through prediction discrepancies. While the method relies on the quality of initial pseudo-labels and carries the computational weight of dual-stream architectures, the principle of differential treatment significantly enhances detection accuracy across diverse domain shifts. Future work may involve extending these principles to Transformer-based architectures.
Summary updated