Multi-Target Adversarial Frameworks for Domain Adaptation in Semantic Segmentation

Antoine Saporta, Tuan-Hung Vu, Matthieu Cord, Patrick Pérez

Introduction

Semantic segmentation—the task of labeling every pixel in an image with a category like "road," "car," or "pedestrian"—is a cornerstone of autonomous driving. While deep learning models excel when training and testing data come from the same distribution, they often struggle with the "domain gap" between synthetic training data (e.g., GTA5) and real-world deployment. Unsupervised Domain Adaptation (UDA) has emerged as a solution, typically focusing on adapting from a source domain to a single target domain. However, real-world applications demand models that can operate across diverse environments—different cities, weather conditions, and camera configurations—simultaneously.

The Challenge of Multi-Target Adaptation

Standard UDA approaches often fail when faced with multiple target domains because they do not account for the "target-target gap"—the distribution shifts between different real-world locations. Simply merging multiple target datasets into a single training set ignores these internal shifts, leading to sub-optimal performance.

Comparison between single-target and multi-target UDA frameworks.

As illustrated in the figure above, a model adapted to a single target (e.g., Target 1) may perform well on that specific domain but fail significantly when tested on a different environment (Target T). Multi-target UDA aims to bridge both the source-target gap and the inter-target gaps to produce a single, robust model capable of handling diverse environments.

Proposed Frameworks

The authors introduce two novel adversarial strategies to address these challenges:

1. Multi-Discriminator (Multi-Dis)

This framework utilizes adversarial training with two types of "critics" or discriminators. Source-Target Discriminators align each individual target domain with the synthetic source. Simultaneously, Target-Target Discriminators employ a "1-vs-all" strategy to explicitly align the target domains with each other. This forces the feature extractor to learn representations that are invariant across all environments.

2. Multi-Target Knowledge Transfer (MTKT)

To overcome the potential instability of balancing multiple adversarial losses, the MTKT framework adopts a teacher-student architecture:

  • Teachers: Multiple target-specific teacher models are trained, each specializing in adapting the source to one specific target domain.
  • Student: A single target-agnostic student model is trained via knowledge distillation. By minimizing the Kullback-Leibler (KL) divergence between its predictions and those of all teachers, the student learns a unified representation that satisfies the requirements of all target environments without the instability of direct multi-way adversarial competition.

Experimental Setup

The frameworks were evaluated using four major urban driving datasets: GTA5 (synthetic source), Cityscapes (Germany), IDD (India), and Mapillary Vistas (Global). The authors established new benchmarks, such as GTA5 → Cityscapes + Mapillary, to test the models' ability to handle diverse geographic and structural shifts.

Key Results and Insights

The experiments yielded several critical findings:

  • Performance Gains: In the GTA5 → Cityscapes + Mapillary benchmark, the MTKT approach achieved a 70.9% average mIoU, outperforming the naive merge baseline by 2.0%.
  • Robustness Across Domains: While single-target models saw performance drops of over 6% when tested on different targets, the multi-target models maintained high accuracy across all environments.
  • Zero-Shot Generalization: Models trained with MTKT showed superior performance on completely unseen datasets. For instance, a model trained on GTA5 → Cityscapes + IDD performed 3.9% mIoU better on the unseen Mapillary dataset than standard baselines, suggesting the framework learns more "universal" features.

Conclusion

This work demonstrates that explicitly addressing inter-target shifts is essential for robust domain adaptation. While the Multi-Discriminator approach provides an intuitive adversarial solution, the MTKT framework offers greater stability and superior generalization through knowledge distillation. These frameworks pave the way for more reliable semantic segmentation models in real-world, multi-environment autonomous driving systems.

Summary updated

BibTeX
@inproceedings{saporta2021multi,
  author = {Antoine Saporta and Tuan-Hung Vu and Matthieu Cord and Patrick Pérez},
  title = {{Multi-Target Adversarial Frameworks for Domain Adaptation in Semantic Segmentation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00894},
}
Figure