ControlUDA: Controllable Diffusion-assisted Unsupervised Domain Adaptation for Cross-Weather Semantic Segmentation

Fengyi Shen, Li Zhou, Kagan Kucukaytekin, Ziyuan Liu, He Wang, Alois C. KnollarXiv 2024 · DOI

Introduction

Semantic segmentation is a critical component for autonomous driving systems, enabling vehicles to perceive their environment at a pixel level. While current models achieve high performance in clear weather conditions, their reliability significantly degrades in adverse weather such as rain, snow, fog, or night. The primary challenge lies in the "domain gap" between labeled clear-weather datasets (source domain) and unlabeled adverse-weather datasets (target domain).

Unsupervised Domain Adaptation (UDA) aims to bridge this gap. Traditional methods often employ Generative Adversarial Networks (GANs) to translate source images into the target domain. However, GANs frequently struggle with complex urban geometries and lack fine-grained control over weather effects. ControlUDA addresses these limitations by leveraging the high-fidelity generative capabilities of Diffusion Models, specifically through a weather-controllable architecture named UDAControlNet.

Methodology

The ControlUDA framework consists of three main stages: controllable diffusion model training, pseudo-target data generation, and domain adaptation.

UDAControlNet and Target Prior

A central challenge in using Diffusion Models for UDA is the lack of target-domain labels. ControlUDA breaks this "chicken-and-egg" paradox by utilizing an initial, imperfect UDA segmentor to generate noisy pseudo-labels for target-domain images. These labels serve as a Target Prior to fine-tune a Stable Diffusion model, enabling it to learn the specific visual characteristics of the target weather conditions.

Residual Condition Fusion (RCF) and Prompt Enhancement

To ensure that generated images strictly adhere to the geometric layout of urban scenes, the authors introduce Residual Condition Fusion (RCF). This module fuses semantic labels with structural sketches (HED edges), preventing the model from hallucinating textures that conflict with the underlying scene geometry. Furthermore, the framework employs Label-guided Prompt Enhancement, manually injecting class names and weather sub-domains into text prompts to guide the diffusion process more accurately than standard automated captioning.

Data Generation and Adaptation Pipeline

Once trained, UDAControlNet synthesizes a large-scale dataset of realistic adverse-weather images paired with accurate source-domain labels. This synthetic data, along with real target-domain images, is used to train a final segmentation model.

Experimental Results

The effectiveness of ControlUDA was evaluated on the Cityscapes-to-ACDC benchmark. The model achieved a new state-of-the-art performance of 72.0 mIoU, surpassing previous leading methods like MIC (70.4 mIoU).

Key findings include:

  • Superior Synthesis Quality: Qualitative results indicate that UDAControlNet produces sharper and more geometrically consistent images compared to GAN-based approaches.
  • Robust Generalization: The model demonstrated improved performance on unseen datasets such as BDD100k and Dark Zurich, suggesting that it learned general weather-related visual features rather than dataset-specific artifacts.
  • Structural Integrity: The inclusion of HED edges in the RCF module was found to be essential for maintaining the structural consistency of complex objects like vehicles and traffic signs.

Conclusion

ControlUDA demonstrates that large-scale Diffusion Models can be effectively adapted for Unsupervised Domain Adaptation in semantic segmentation. By combining target-domain priors with structural constraints and enhanced prompting, the framework generates high-fidelity synthetic data that significantly improves model robustness in adverse weather. While the computational cost of diffusion training remains a factor, the substantial gains in accuracy and generalization mark a significant step forward for reliable autonomous perception.

Summary updated

BibTeX
@misc{shen2024controluda,
  author = {Fengyi Shen and Li Zhou and Kagan Kucukaytekin and Ziyuan Liu and He Wang and Alois C. Knoll},
  title = {{ControlUDA: Controllable Diffusion-assisted Unsupervised Domain Adaptation for Cross-Weather Semantic Segmentation}},
  year = {2024},
  eprint = {2402.06446},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.06446},
}
Figure