Object Style Diffusion for Generalized Object Detection in Urban Scene
Hao Li, Xiangyuan Yang, Mengzhu Wang, Long Lan, Ke Liang, Xinwang Liu, Kenli Li
TL;DR
GoDiff addresses the challenge of generalizing object detectors to unseen urban domains using a single labeled source. It introduces a two-part pipeline: Pseudo Target Data Generation (PTDG) using an InstanceDiffusion model to create diverse yet annotated pseudo-target images, and Cross Style Normalization (CSN) to align features across styles during training. The method adds an image-level dual-prompt strategy with object-level prompts, plus a CLIP-RBF object filtering and a covariance-based loss to promote style-invariant representations. Experiments on the Diverse Weather Dataset (DWD) and Cityscapes-C show consistent improvements over state-of-the-art baselines and demonstrate GoDiff's plug-and-play compatibility with other S-DG methods, including OA-DG. The work provides practical gains for autonomous driving scenarios by boosting robustness to weather and domain shifts, and the authors release code and generated data.
Abstract
Object detection is a critical task in computer vision, with applications in various domains such as autonomous driving and urban scene monitoring. However, deep learning-based approaches often demand large volumes of annotated data, which are costly and difficult to acquire, particularly in complex and unpredictable real-world environments. This dependency significantly hampers the generalization capability of existing object detection techniques. To address this issue, we introduce a novel single-domain object detection generalization method, named GoDiff, which leverages a pre-trained model to enhance generalization in unseen domains. Central to our approach is the Pseudo Target Data Generation (PTDG) module, which employs a latent diffusion model to generate pseudo-target domain data that preserves source domain characteristics while introducing stylistic variations. By integrating this pseudo data with source domain data, we diversify the training dataset. Furthermore, we introduce a cross-style instance normalization technique to blend style features from different domains generated by the PTDG module, thereby increasing the detector's robustness. Experimental results demonstrate that our method not only enhances the generalization ability of existing detectors but also functions as a plug-and-play enhancement for other single-domain generalization methods, achieving state-of-the-art performance in autonomous driving scenarios.
