Collaborating Foundation Models for Domain Generalized Semantic Segmentation
Yasser Benigmim, Subhankar Roy, Slim Essid, Vicky Kalogeiton, Stéphane Lathuilière
TL;DR
CLOUDS tackles domain generalized semantic segmentation by moving beyond style-based domain randomization to content-rich diversification through a collaborative suite of foundation models. It uses a CLIP-based encoder with a Mask2Former-style decoder, a diffusion model conditioned by LLM-generated prompts to synthesize diverse urban scenes, and SAM to refine pseudo-labels in a self-training loop with an EMA teacher. Ablation and extensive benchmarks on GTA/SYNTHIA-to-city-scale datasets show CLOUDS consistently outperforms traditional DGSS and open-vocabulary methods, including zero-shot adaptations, by several percent on averaged mIoU. The approach demonstrates the feasibility and value of integrating multiple foundation models to achieve robust, practical domain generalization in semantic segmentation.
Abstract
Domain Generalized Semantic Segmentation (DGSS) deals with training a model on a labeled source domain with the aim of generalizing to unseen domains during inference. Existing DGSS methods typically effectuate robust features by means of Domain Randomization (DR). Such an approach is often limited as it can only account for style diversification and not content. In this work, we take an orthogonal approach to DGSS and propose to use an assembly of CoLlaborative FOUndation models for Domain Generalized Semantic Segmentation (CLOUDS). In detail, CLOUDS is a framework that integrates FMs of various kinds: (i) CLIP backbone for its robust feature representation, (ii) generative models to diversify the content, thereby covering various modes of the possible target distribution, and (iii) Segment Anything Model (SAM) for iteratively refining the predictions of the segmentation model. Extensive experiments show that our CLOUDS excels in adapting from synthetic to real DGSS benchmarks and under varying weather conditions, notably outperforming prior methods by 5.6% and 6.7% on averaged miou, respectively. The code is available at : https://github.com/yasserben/CLOUDS
