TL;DR
CLOUDS (CoLlaborative FOUndation models for Domain Generalized Semantic Segmentation) is a novel framework that assembles a "dream team" of foundation models—CLIP, Diffusion Models, and SAM—to solve the problem of domain shift. By moving beyond simple style changes to generating entirely new, diverse training content and refining labels with high-precision masks, it sets a new state-of-the-art for generalizing from synthetic data to real-world street scenes.
What Problem Does This Paper Address?
Deep learning models for semantic segmentation (labeling every pixel in an image) are notoriously fragile. A model trained on synthetic data from a video game like GTA V often fails miserably when deployed on real-world city streets. This is known as domain shift.
Existing approaches to Domain Generalized Semantic Segmentation (DGSS) typically use "Domain Randomization," which applies various filters to the training images to change their style (color, texture, lighting). However, the authors argue this is insufficient because it doesn't account for changes in content—the actual objects, their layouts, and the diversity of scenes found in the real world.
Methods
The authors propose CLOUDS, a framework that orchestrates three different types of foundation models (FMs) to build a more robust segmenter:
- Robust Features (CLIP): Instead of a standard ImageNet-pretrained backbone, CLOUDS uses a frozen CNN-based CLIP encoder. CLIP’s massive-scale pre-training on image-text pairs provides features that are inherently more resistant to domain shifts.
- Content Diversification (LLM + Diffusion): To go beyond style changes, the authors use an LLM (Llama-2) to generate hundreds of diverse textual prompts describing urban scenes (e.g., "a photo of a car in the snow"). These prompts feed into a Diffusion Model (Stable Diffusion) to generate a large, diverse synthetic dataset that mimics potential real-world target distributions.
- Refined Self-Training (SAM): The model is trained on these generated images using a student-teacher framework. Because the teacher's initial "pseudo-labels" are often noisy, the Segment Anything Model (SAM) is used to refine them. By using the teacher's predictions as point prompts, SAM generates high-quality, class-agnostic masks that are then converted back into precise semantic labels.
Datasets
The model's ability to generalize was tested by training on synthetic "source" domains and evaluating on unseen "real" domains:
- Source Domains: GTA5 (24,966 synthetic images) and SYNTHIA (9,400 synthetic images).
- Target Domains: Cityscapes, BDD100K, and Mapillary (all real-world driving datasets).
- Adverse Weather: The ACDC dataset was used to test generalization to night, snow, and rain conditions.
Key Insights and Ideas
- Content > Style: The most significant finding is that diversifying the content of the training data (via generative models) is far more effective for generalization than just diversifying the style (via traditional randomization).
- Foundation Models are Better Together: No single FM solves the problem. CLIP provides the "eyes" (robust features), Diffusion provides the "imagination" (diverse data), and SAM provides the "precision" (accurate boundaries).
- The "Frozen" Advantage: Keeping the CLIP backbone frozen is crucial. Fine-tuning it on the source domain actually hurts performance because the model starts to overfit to the specific quirks of the source data, losing its general-purpose robustness.
- SAM as a Label Refiner: While SAM doesn't "know" classes, its ability to find object boundaries is world-class. Using it to "clean up" the noisy guesses of a semantic model (Figure 4) is a powerful way to enable reliable self-training on unlabeled, generated data.
Key Results
CLOUDS achieved a significant leap in performance over previous state-of-the-art (SOTA) methods:
- GTA → Real: Achieved an average 61.5% mIoU (mean Intersection over Union), outperforming the previous best method (HRDA) by 5.6%.
- SYNTHIA → Real: Reached 52.1% mIoU, a massive improvement over open-vocabulary models like FC-CLIP (35.6%).
- Adverse Weather: On the ACDC benchmark, CLOUDS outperformed prior zero-shot domain adaptation methods by an average of 6.7% across night, snow, and rain scenarios.
- Scaling: Performance improves significantly as the size of the generated dataset increases, plateauing around 5,000 images (Figure 5).
Limitations and Future Work
The authors note a few areas for improvement:
- SAM Artifacts: While SAM refines boundaries, it can sometimes be too aggressive, marking pixels at the intersections of different object masks as "unlabeled," which removes them from the training signal.
- Generative Quality: The framework's success depends on the quality and realism of the images produced by the Diffusion model. If the generated images contain significant artifacts, it could mislead the training process.
- Computational Cost: Training with multiple foundation models and generating large synthetic datasets is computationally intensive compared to traditional methods.
Future work could involve exploring more sophisticated ways to prompt SAM or using even more advanced generative models to further bridge the gap between synthetic and real-world data.
Summary updated