Abstract
DGInStyle is a novel data-centric pipeline that leverages Latent Diffusion Models (LDMs) to generate high-quality, diverse synthetic training data for semantic segmentation. By decoupling semantic layout from image style, the framework allows for the augmentation of existing synthetic labels with realistic, varied environmental conditions such as rain, night, or snow. This approach significantly enhances the ability of AI models to generalize from synthetic source domains to diverse real-world driving conditions.
Introduction
In the field of autonomous driving, semantic segmentation—the pixel-level identification of objects like roads, pedestrians, and vehicles—is a critical task. However, models trained on synthetic datasets (the source domain, e.g., GTA-V) often suffer from "domain shift," leading to poor performance when deployed in real-world environments (the target domain). Variations in lighting, weather, and sensor quality create a gap that traditional model-centric approaches struggle to bridge. DGInStyle addresses this by focusing on the data itself, utilizing the generative power of foundation models like Stable Diffusion to create a more robust and diverse training set.
Methodology
The DGInStyle pipeline introduces three key technical innovations to transform standard image generators into precise data production tools, primarily using semantic masks from synthetic sources like GTA-V:
- Style Swap: This core technique decouples semantic control from image style. The authors first fine-tune an LDM to learn the source domain's style and a ControlNet to manage semantic layout. During inference, the source-style generator is replaced with the original Stable Diffusion generator. This preserves precise layout control while injecting the realistic, diverse "prior" knowledge of the foundation model.
- Multi-Resolution Latent Fusion (MRLF): To address the difficulty diffusion models have with small objects at low resolutions, MRLF employs a two-stage process. A low-resolution pass establishes the global scene, followed by a tiled, high-resolution pass for fine details. Latent Inpainting ensures consistency across large objects while sharpening small, distant elements.
- Rare Class Generation (RCG): To ensure models do not overlook infrequent but vital objects (e.g., bicycles), the system intentionally oversamples masks containing these rare classes during data generation.
Experimental Results
DGInStyle consistently improved the performance of various state-of-the-art (SOTA) architectures, including ResNet-101 and MiT-B5, with mean Intersection-over-Union (mIoU) gains ranging from +2.5 to +7.2 points.
A standout result was observed in adverse conditions. On the Dark Zurich nighttime dataset, integrating DGInStyle data improved the IBN-Net model's performance from 6.12% to 11.19% mIoU. When combined with the HRDA model, the framework achieved a new SOTA average mIoU of 48.99% across five major real-world benchmarks: Cityscapes, BDD100K, Mapillary Vistas, ACDC, and Dark Zurich.
Conclusion and Future Work
DGInStyle demonstrates that semantic control and image style can be effectively decoupled to engineer high-quality training data. By treating LDMs as "data engines," researchers can leverage vast pre-trained knowledge to cover environmental edge cases that are difficult to capture or simulate manually. Future research may explore the use of Large Language Models (LLMs) to automate the generation of even more complex style prompts, further expanding the diversity of synthetic training domains.
Summary updated