BlenDA: Domain Adaptive Object Detection through diffusion-based blending
Tzuhsuan Huang, Chen-Che Huang, Chung-Hao Ku, Jun-Cheng Chen
TL;DR
BlenDA tackles unsupervised domain adaptation for object detection by generating intermediate-domain samples through diffusion-based blending of source and target-like translated images. It introduces dynamic mixing with a soft domain label for adversarial learning, enabling finer-grained domain alignment within an Adversarial Query Transformer framework. The method achieves substantial gains on Cityscapes→Foggy Cityscapes (up to 53.4% mAP) and Cityscapes→BDD100K daytime (≈+4.1% mAP), and ablations confirm the benefits of dynamic blending and soft-domain losses. This approach offers a versatile, diffusion-assisted bridge between domains and can be integrated with various domain-adaptive detectors, providing a practical improvement for real-world cross-domain object detection tasks.
Abstract
Unsupervised domain adaptation (UDA) aims to transfer a model learned using labeled data from the source domain to unlabeled data in the target domain. To address the large domain gap issue between the source and target domains, we propose a novel regularization method for domain adaptive object detection, BlenDA, by generating the pseudo samples of the intermediate domains and their corresponding soft domain labels for adaptation training. The intermediate samples are generated by dynamically blending the source images with their corresponding translated images using an off-the-shelf pre-trained text-to-image diffusion model which takes the text label of the target domain as input and has demonstrated superior image-to-image translation quality. Based on experimental results from two adaptation benchmarks, our proposed approach can significantly enhance the performance of the state-of-the-art domain adaptive object detector, Adversarial Query Transformer (AQT). Particularly, in the Cityscapes to Foggy Cityscapes adaptation, we achieve an impressive 53.4% mAP on the Foggy Cityscapes dataset, surpassing the previous state-of-the-art by 1.5%. It is worth noting that our proposed method is also applicable to various paradigms of domain adaptive object detection. The code is available at:https://github.com/aiiu-lab/BlenDA
