Cross Domain Object Detection via Multi-Granularity Confidence Alignment based Mean Teacher

Jiangming Chen, Li Liu, Wanxia Deng, Zhen Liu, Yu Liu, Yingmei Wei, Yongxiang LiuarXiv 2024

Abstract

Cross domain object detection learns an object detector for an unlabeled target domain by transferring knowledge from an annotated source domain. Promising results have been achieved via Mean Teacher, however, pseudo labeling which is the bottleneck of mutual learning remains to be further explored. In this study, we find that confidence misalignment of the predictions, including category-level overconfidence, instance-level task confidence inconsistency, and image-level confidence misfocusing, leading to the injection of noisy pseudo label in the training process, will bring suboptimal performance on the target domain. To tackle this issue, we present a novel general framework termed Multi-Granularity Confidence Alignment Mean Teacher (MGCAMT) for cross domain object detection, which alleviates confidence misalignment across category-, instance-, and image-levels simultaneously to obtain high quality pseudo supervision for better teacher-student learning.

Introduction: The Challenge of Domain Shift and Misalignment

Object detection models often struggle when deployed in environments different from their training data, such as moving from clear weather to fog. This "domain shift" is typically addressed using Mean Teacher frameworks, where a teacher model generates pseudo-labels on unlabeled target data to train a student model. However, the quality of these pseudo-labels is often compromised by confidence misalignment.

The authors identify three primary types of misalignment that lead to noisy training signals:

  1. Category-level overconfidence: The model predicts an incorrect class with high confidence.
  2. Instance-level task inconsistency: High classification confidence does not guarantee accurate bounding box localization.
  3. Image-level confidence misfocusing: The model over-focuses on salient objects while ignoring smaller or more difficult instances.
Visualizing confidence misalignment (top) and the corrections provided by MGCAMT (bottom).

The MGCAMT Framework

To address these issues, the Multi-Granularity Confidence Alignment Mean Teacher (MGCAMT) framework introduces three alignment modules:

  • Classification Confidence Alignment (CCA): Utilizes Evidential Deep Learning (EDL) to model category uncertainty. By quantifying "what the model doesn't know," it filters out high-confidence but highly uncertain (and likely incorrect) labels.
  • Task Confidence Alignment (TCA): Enhances the interaction between classification and localization branches. It allows classification features to adaptively locate optimal features for regression, ensuring that high classification scores correlate with precise bounding boxes.
  • Focusing Confidence Alignment (FCA): Instead of hard pseudo-label assignment, FCA uses soft logits from the teacher. This preserves holistic image information and prevents the student from ignoring difficult objects, mitigating the negative feedback loop of misfocusing.
The MGCAMT architecture, highlighting the integration of CCA, TCA, and FCA modules within the Mean Teacher pipeline.

Experimental Evaluation

MGCAMT was evaluated on several benchmarks representing various domain shifts:

  • Weather Adaptation: Cityscapes to Foggy Cityscapes.
  • Cross-City Adaptation: Cityscapes to BDD100K.
  • Synthetic-to-Real Adaptation: Sim10K to Cityscapes.

The framework achieved state-of-the-art (SOTA) performance across the board. Notably, on Foggy Cityscapes, it reached 55.9% mAP, a 4.7% improvement over previous methods. On BDD100K, it achieved 44.8% mAP, outperforming existing models by 4.6%.

Conclusion

MGCAMT effectively addresses the bottleneck of pseudo-labeling in cross-domain object detection by aligning confidence at multiple granularities. By combining uncertainty-aware classification, task-consistent localization, and holistic image focusing, the framework provides a robust solution for adapting detectors to new environments without manual annotation. Future work may explore more advanced backbones and further refinements to holistic information integration.

Summary updated

BibTeX
@misc{chen2024cross,
  author = {Jiangming Chen and Li Liu and Wanxia Deng and Zhen Liu and Yu Liu and Yingmei Wei and Yongxiang Liu},
  title = {{Cross Domain Object Detection via Multi-Granularity Confidence Alignment based Mean Teacher}},
  year = {2024},
  eprint = {2407.07780},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.07780},
}
Figure