Multi-source Domain Adaptation for Semantic Segmentation

Sicheng Zhao, Bo Li, Xiangyu Yue, Yang Gu, Pengfei Xu, Runbo Hu, Hua Chai, Kurt Keutzer

Training semantic segmentation models on synthetic data to work in the real world is a classic "domain adaptation" challenge. This paper introduces MADAN (Multi-source Adversarial Domain Aggregation Network), the first framework designed specifically to aggregate multiple synthetic sources (like GTA-V and SYNTHIA) into a unified representation that significantly improves performance on real-world datasets like Cityscapes and BDDS.

The Challenge of Domain Shift

Semantic segmentation—the task of assigning a category (road, car, pedestrian) to every single pixel in an image—is essential for autonomous driving. However, labeling real-world images at the pixel level is incredibly slow and expensive, taking about 90 minutes per image for the Cityscapes dataset.

Researchers often use "synthetic" data from video games or simulators because the labels are free. The catch is domain shift: a model trained on a bright, clean video game doesn't generalize well to a grainy, rainy real-world street. While "Single-source Domain Adaptation" (SDA) is well-studied, real-world applications often have access to multiple synthetic sources. Simply mixing these sources usually fails because their different distributions interfere with each other during the learning process. This paper tackles the challenge of Multi-source Domain Adaptation (MDA) for structured prediction tasks like segmentation.

The MADAN Framework

The authors propose the MADAN framework, which operates in three main stages to align multiple sources with a single target:

Overview of the MADAN architecture
  1. Dynamic Adversarial Image Generation (DAIG): For each source (e.g., GTA), the model uses a GAN to transform source images to look like the target (e.g., Cityscapes). To ensure the "meaning" of the image isn't lost during translation, they introduce a Dynamic Semantic Consistency (DSC) loss. Unlike previous methods that used a static, pre-trained model to check consistency, DSC uses the segmentation model currently being trained, allowing the consistency check to evolve as the model improves.
  2. Adversarial Domain Aggregation (ADA): This is the "secret sauce." To prevent different sources from clashing, MADAN uses two types of discriminators:
  3. Sub-domain Aggregation Discriminator (SAD): Forces the adapted images from different sources to be indistinguishable from one another.
  4. Cross-domain Cycle Discriminator (CCD): Ensures that images can be "cycled" back to their original source domains accurately, further tightening the alignment.
  5. Feature-aligned Semantic Segmentation (FSS): Finally, the model performs traditional adversarial alignment at the feature level, ensuring the internal representations of the "aggregated" synthetic data match the real-world target data.

Key Insights

  • The "Interference" Insight: The authors demonstrate that simply combining datasets (Source-Combined DA) is often worse than sophisticated multi-source alignment because the model gets "confused" by the conflicting styles of different simulators.
  • Dynamic vs. Static Consistency: By using the segmentation network as it is being trained to enforce semantic consistency, the model avoids the bias of a pre-trained source model that might not understand the target domain's nuances.
  • Aggregation is Key: Aligning sources to the target isn't enough; you must also align the sources to each other. The SAD and CCD modules act as a "glue" that creates a unified synthetic domain.

Experimental Results

The paper evaluates the model using a "simulation-to-real" pipeline, leveraging GTA-V (24,966 images) and SYNTHIA (9,400 images) as synthetic source domains, and Cityscapes and BDDS as real-world target domains.

Quantitative results on the Cityscapes dataset

MADAN sets a new state-of-the-art for multi-source segmentation:

  • Cityscapes Performance: MADAN achieved a 41.4% mIoU (mean Intersection-over-Union). For context, simply training on the sources without adaptation yielded only 25.8%, and the best previous multi-source method (MDAN) hit only 29.4%.
  • BDDS Performance: MADAN reached 36.3% mIoU, outperforming the best single-source adaptation (CyCADA) by a significant margin.
  • Ablation Success: The researchers showed that every piece of the puzzle mattered. Removing the Aggregation Discriminators (SAD/CCD) or the Dynamic Consistency (DSC) led to measurable drops in accuracy.

Limitations and Future Work

Because MADAN aligns multiple sources simultaneously, it is computationally heavy, requiring multiple high-end GPUs and taking about twice as long to train as single-source methods. Furthermore, the model still struggles with very thin or rare objects, like fences and poles. This is attributed to a lack of representative images in the synthetic data and structural differences (e.g., synthetic trees look very different from real ones).

Future directions suggested by the authors include exploring multi-modal DA (combining images with LiDAR data) and using Neural Architecture Search (NAS) to automatically find more efficient network structures for this complex task.

Summary updated

BibTeX
@inproceedings{zhao2019multi,
  author = {Sicheng Zhao and Bo Li and Xiangyu Yue and Yang Gu and Pengfei Xu and Runbo Hu and Hua Chai and Kurt Keutzer},
  title = {{Multi-source Domain Adaptation for Semantic Segmentation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure