Skip to main content
QUICK REVIEW

[Paper Review] Uncertainty-Aware Unsupervised Domain Adaptation in Object Detection

Dayan Guan, Jiaxing Huang|arXiv (Cornell University)|Feb 27, 2021
Domain Adaptation and Few-Shot LearningComputer Science82 references5 citations
TL;DR

This paper proposes Uncertainty-Aware Domain Adaptation Network (UaDAN), a novel unsupervised domain adaptation framework for object detection that uses sample uncertainty to adaptively weight adversarial loss, protecting well-aligned features while focusing on misaligned ones. It achieves state-of-the-art performance across four benchmark datasets by combining uncertainty-aware adversarial learning and uncertainty-guided curriculum learning.

ABSTRACT

Unsupervised domain adaptive object detection aims to adapt detectors from a labelled source domain to an unlabelled target domain. Most existing works take a two-stage strategy that first generates region proposals and then detects objects of interest, where adversarial learning is widely adopted to mitigate the inter-domain discrepancy in both stages. However, adversarial learning may impair the alignment of well-aligned samples as it merely aligns the global distributions across domains. To address this issue, we design an uncertainty-aware domain adaptation network (UaDAN) that introduces conditional adversarial learning to align well-aligned and poorly-aligned samples separately in different manners. Specifically, we design an uncertainty metric that assesses the alignment of each sample and adjusts the strength of adversarial learning for well-aligned and poorly-aligned samples adaptively. In addition, we exploit the uncertainty metric to achieve curriculum learning that first performs easier image-level alignment and then more difficult instance-level alignment progressively. Extensive experiments over four challenging domain adaptive object detection datasets show that UaDAN achieves superior performance as compared with state-of-the-art methods.

Motivation & Objective

  • Address the limitation of traditional adversarial learning in unsupervised domain adaptation, which can misalign well-aligned samples by uniformly aligning global feature distributions.
  • Reduce error accumulation in two-stage object detection pipelines by progressively aligning features at image-level before instance-level.
  • Improve model robustness and generalization on target domains with limited or no annotations by leveraging prediction uncertainty to guide alignment.
  • Develop a method that dynamically adjusts adversarial loss based on sample uncertainty, ensuring well-aligned samples are preserved while poorly-aligned ones are corrected.

Proposed method

  • Introduce an uncertainty-aware adversarial learning (UaAL) module that uses entropy to estimate prediction uncertainty and assigns adaptive adversarial loss weights—lower for low-uncertainty (well-aligned) samples, higher for high-uncertainty (poorly-aligned) samples.
  • Design a two-stage training pipeline where image-level feature alignment is performed first using uncertainty-guided loss, followed by instance-level alignment to reduce error propagation.
  • Implement uncertainty-guided curriculum learning (UgCL) that uses entropy to determine the difficulty of alignment, prioritizing easier image-level alignment before advancing to harder instance-level alignment.
  • Formulate the overall loss as a combination of detection loss, uncertainty-weighted image-level adversarial loss ($\mathcal{L}_{img}^{ua}$), and uncertainty-weighted instance-level adversarial loss ($\mathcal{L}_{ins}^{ua}$), with a temperature parameter $\xi$ controlling the curriculum schedule.
  • Use entropy as the uncertainty metric: $H(y) = -\sum_{c} p_c \log p_c$, where $p_c$ is the predicted probability of class $c$, to quantify model confidence and guide loss weighting.
  • Train the model end-to-end with a curriculum schedule that activates instance-level alignment only after image-level alignment reaches low uncertainty, ensuring stable and progressive adaptation.

Experimental results

Research questions

  • RQ1Can adaptive adversarial loss weighting based on prediction uncertainty improve domain alignment without harming well-aligned samples in unsupervised object detection?
  • RQ2Does a progressive, uncertainty-guided curriculum learning strategy that starts with image-level and then proceeds to instance-level alignment reduce error accumulation and improve detection performance?
  • RQ3How does the integration of uncertainty-aware loss weighting and curriculum learning affect performance across diverse domain shift scenarios in object detection?
  • RQ4What is the optimal balance between image-level and instance-level alignment, and how does the hyperparameter $\xi$ influence the performance of the proposed method?
  • RQ5To what extent does UaDAN outperform existing state-of-the-art methods in unsupervised domain adaptation for object detection under challenging domain shifts?

Key findings

  • UaDAN achieves state-of-the-art performance on four challenging domain adaptation benchmarks: Cityscapes → Mapillary Vistas (32.7% mAP), Cityscapes → Foggy Cityscapes (41.1% mAP), and PASCAL VOC → Clipart1k (40.2% mAP).
  • The ablation study confirms that uncertainty-aware adversarial learning (UaAL) consistently outperforms standard adversarial learning at both image and instance levels, with the largest gain observed in image-level alignment.
  • UaDAN w/o UgCL outperforms both instance-level UaAL and image-level UaAL, demonstrating that the two components are complementary and that curriculum learning enhances overall performance.
  • The complete UaDAN model achieves a significant margin over UaDAN w/o UgCL, validating the effectiveness of uncertainty-guided curriculum learning in progressively refining domain alignment.
  • Hyperparameter sensitivity analysis shows that $\xi = 0.5$ yields the best performance across all three tested domain adaptation tasks, indicating optimal balance between image-level and instance-level alignment.
  • The model converges quickly, with training and testing losses decreasing sharply within the first 10k iterations and stabilizing after 50k iterations, indicating stable and efficient optimization.

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.