TL;DR
This paper introduces a novel method, CCTF, to improve cross-domain object detection by tackling the challenges of domain shift and noisy pseudo-labels. It leverages Fourier transforms to bridge domain gaps, enforces consistency between object detection components, and employs contrastive learning to enhance robustness against label noise, achieving state-of-the-art results.
What Problem Does This Paper Address?
Object detection models trained on one dataset (source domain) often perform poorly when applied to a different dataset with a different data distribution (target domain). This is known as the domain gap. In unsupervised domain adaptation (UDA), we aim to transfer knowledge from a labeled source domain to an unlabeled target domain. A popular approach is the teacher-student framework, where a "teacher" model generates pseudo-labels for the target domain, which a "student" model then learns from. However, this framework faces two major hurdles: the domain gap itself degrades performance, and the pseudo-labels generated by the teacher can be noisy (inaccurate), further misleading the student and hindering learning. This paper aims to overcome these limitations to achieve more robust and accurate cross-domain object detection.
Methods
The proposed method, Consistent and Contrastive Teacher with Fourier Transform (CCTF), tackles the challenges in three key ways:
- Fourier Transform for Domain Gap Reduction: The authors hypothesize that style mismatches, particularly in low-frequency spectral components, contribute significantly to domain gaps. They propose using the Fourier transform to swap these low-frequency components between source and target domain images. This effectively transfers the "style" of the target domain to the source domain, reducing the visual discrepancy and narrowing the domain gap.
- Consistent Teacher for Pseudo-Label Quality: To combat noisy pseudo-labels, CCTF enforces consistency between the localization and classification branches of the teacher model. Instead of optimizing them separately, the classification branch is trained to predict not just the class but also the Intersection over Union (IoU) with the ground truth (in the source domain) or the predicted IoU (in the target domain). This "softened" learning objective encourages the classification score to reflect localization accuracy, leading to more reliable pseudo-labels. This consistency is applied in both supervised (source) and unsupervised (target) settings.
- Cross-Domain Contrastive Learning: Even with a consistent teacher, some noise in pseudo-labels is inevitable. To address this, the paper incorporates contrastive learning. This technique encourages the student model to learn representations where similar objects (those with the same pseudo-class) are pulled closer together in the feature space, while dissimilar objects are pushed apart. This helps the student model learn robust features that are less sensitive to label noise and improves knowledge transfer from the teacher.
Datasets
The experiments were conducted on several standard datasets for domain adaptation, including:
- Cityscapes: A dataset for urban scene understanding, used here for object detection.
- FoggyCityscapes: A synthetic dataset derived from Cityscapes, simulating various fog levels to introduce domain shift.
- PASCAL VOC: A widely used dataset for object detection, serving as a source domain.
- Comic2k, Clipart1k, Watercolor2k: Datasets with artistic styles (comics, clipart, watercolor) used as target domains to create significant domain gaps from realistic images like PASCAL VOC.
The paper evaluates performance on two main domain adaptation settings: "Severe Weather" (Cityscapes → FoggyCityscapes) and "Real to Art" (PASCAL VOC → Watercolor, Clipart1k, Comic2k).
Key Insights and Ideas
- Fourier Transform as a Style Bridge: The idea of using Fourier transforms to swap low-frequency components is a clever way to directly address the "style" mismatch between domains, which is often a root cause of performance degradation. It's particularly effective when the underlying content is similar but the visual appearance differs.
- IoU as a Classification Target: Re-framing classification as predicting both class and localization quality (via IoU) is a novel way to improve pseudo-label reliability. It forces the model to be more aware of the spatial accuracy of its predictions, leading to a more holistic understanding of object detection.
- Contrastive Learning for Noise Resilience: Applying contrastive learning not just for general representation learning but specifically to mitigate the impact of noisy pseudo-labels in a teacher-student UDA setting is a powerful strategy. It highlights the robustness that contrastive methods can bring to challenging learning scenarios.
Key Results
The proposed CCTF method demonstrates state-of-the-art performance across various challenging domain adaptation scenarios:
- FoggyCityscapes: CCTF outperforms previous methods by 3.0% on the "ALL" split and 2.1% on the "0.02" fog level split, achieving an mAP of 54.9%.
- Real to Art: The method also shows significant improvements on more challenging "Real to Art" settings:
- PASCAL VOC → Clipart1k: Achieves 48.6% mAP.
- PASCAL VOC → Comic2k: Achieves 39.7% mAP, surpassing previous methods by 2.0%.
- PASCAL VOC → Watercolor2k: Achieves 55.9% mAP, surpassing previous methods by 0.7%.
- Ablation Studies: The results show that each component (Fourier transform, consistent teacher, contrastive learning) contributes significantly to the overall performance. Removing the Fourier transform, for instance, leads to performance drops of up to 2.0% in the "Severe Weather" setting.
Limitations and Future Work
- Fourier Transform Effectiveness: The paper notes that the Fourier transform works more effectively when the low-level statistics of the two domains are more similar. In "Real to Art" settings, its effect is more limited, primarily changing colors rather than fundamentally altering structures.
- Training Time: While the method achieves superior performance, it requires slightly more training time compared to some other methods, although the increase in complexity is considered minimal.
- Future Work: The authors suggest that the model's effectiveness in adapting to foggy weather makes it suitable for autonomous driving applications, implying potential for further exploration in this domain. The paper also implicitly suggests that further research could explore more advanced methods for domain gap reduction beyond Fourier transforms, especially for highly dissimilar domains.
Summary updated