Exploiting Diverse Characteristics and Adversarial Ambivalence for Domain Adaptive Segmentation

Bowen Cai, Huan Fu, Rongfei Jia, Binqiang Zhao, Hua Li, Yinghui Xu

Abstract

Unsupervised Domain Adaptation (UDA) for semantic segmentation typically assumes a homogeneous target domain. However, real-world datasets often encompass diverse sub-domains, such as varying weather conditions, which lead to semantic distortion and noisy pseudo-labels during training. This paper introduces the Condition-Guided Adaptation Framework (DCAA), which explicitly models these sub-domains. By combining Attentive Progressive Adversarial Training (APAT) with a novel adversarial ambivalence strategy for pseudo-label refinement, DCAA achieves state-of-the-art performance on challenging multi-weather benchmarks, including GTA5 to Cityscapes and BDD100K.

Introduction

The goal of Unsupervised Domain Adaptation (UDA) is to bridge the gap between labeled synthetic data (source) and unlabeled real-world data (target). Most existing methods treat the target domain as a single, uniform distribution. In practice, target domains like Cityscapes or BDD100K contain significant internal variance due to weather conditions like rain, fog, or snow.

Standard UDA approaches struggle in these scenarios for three main reasons:

  1. Semantic Distortion: Direct alignment between clear synthetic images and degraded real-world images (e.g., heavy rain) often results in a loss of fine-grained detail.
  2. Ambiguous Alignment: Feature distributions become indistinct at the boundaries of different sub-domains.
  3. Noisy Pseudo-labels: Self-training methods frequently generate unreliable labels for "hard" regions where the model's confidence is misplaced.

Methods

The DCAA framework addresses these challenges through a two-stage process: progressive adversarial training and refined self-training.

Attentive Progressive Adversarial Training (APAT)

Instead of attempting a direct transition from source to target, APAT introduces intermediate steps to stabilize the adaptation process.

Comparison of standard UDA and the proposed APAT framework, illustrating the progressive alignment of sub-domains.
  • Condition Guided Style Transfer (CGST): This module generates weather-augmented versions of synthetic images. A semantic consistency constraint ensures that object identities remain stable during the translation from clear to adverse conditions.
  • Condition Attention Module (CAM): DCAA employs multiple condition-specific decoders. An attention mechanism dynamically weights these decoders based on the input image's specific characteristics.
  • Condition-Specific Adversarial Training (CSAT): Discriminators align features both globally and within specific conditions (e.g., matching synthetic-foggy features with real-foggy features).

Self-Training with Adversarial Ambivalence

DCAA enhances standard self-training by leveraging the discriminator's uncertainty.

  • Attentive Pseudo-Label Assignment (APLA): CAM weights are used to produce more robust, multi-modal pseudo-labels.
  • Adversarial Ambivalence: The authors observe that the discriminator's output—intended to distinguish source from target—serves as a proxy for adaptation quality. Regions where the discriminator is "ambivalent" (unable to confidently classify as source or target) correspond to difficult adaptation areas. DCAA uses this spatial uncertainty to mask out unreliable pseudo-labels, forcing the model to focus on these challenging regions.
Visualization of pseudo-label regions generated by the DCAA framework, showing the refinement of labels in complex scenes.

Results and Discussion

DCAA was evaluated on several synthetic-to-real benchmarks, demonstrating significant improvements over previous state-of-the-art (SOTA) methods.

  • GTA5 → Cityscapes*: DCAA achieved 51.4% mIoU, a substantial increase over the previous SOTA (CAG-UDA at 45.4%) and the source-only baseline of 30.6%.
  • Generalization to Unseen Conditions: On the BDD100K dataset, the model achieved an average mIoU of 34.7%. Notably, it performed well (38.3% mIoU) on the "Overcast" condition, despite not being explicitly trained on it, indicating the learning of generalizable, weather-invariant features.
  • Ablation Studies: The "Adversarial Ambivalence" strategy alone contributed a 3% improvement in mIoU compared to standard pseudo-labeling, validating the use of discriminator uncertainty as a quality control mechanism.

Conclusion

The DCAA framework demonstrates that explicitly modeling sub-domain diversity is crucial for robust domain adaptation. By treating the discriminator as a diagnostic tool rather than just a loss function, the "adversarial ambivalence" strategy effectively filters noisy labels in complex environments. Future work may explore applying this logic to other computer vision tasks, such as object detection in adverse weather.

Summary updated

BibTeX
@inproceedings{cai2021exploiting,
  author = {Bowen Cai and Huan Fu and Rongfei Jia and Binqiang Zhao and Hua Li and Yinghui Xu},
  title = {{Exploiting Diverse Characteristics and Adversarial Ambivalence for Domain Adaptive Segmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i8.16845},
}
Figure