Adapting semantic segmentation models to new environments is a critical challenge for autonomous systems. This paper introduces a scalable framework that allows models to adapt to multiple target domains without requiring continuous access to the original source data or previously seen target data. By leveraging self-distillation and a novel "one-way" adversarial learning strategy, the proposed method enables efficient navigation of unseen environments while addressing privacy and storage concerns.
The Challenge of Domain Shift in Autonomous Driving
In autonomous driving, a model trained on one city (the source domain) often struggles when deployed in a different city (the target domain) due to variations in weather, lighting, and infrastructure—a phenomenon known as domain shift.
Existing Unsupervised Domain Adaptation (UDA) methods typically fall into two categories:
- Single-target UDA: These models adapt to one specific target city but fail to generalize to others.
- Multi-target UDA: While these can handle multiple cities, they usually require "external data"—the original labeled source data and all previous unlabeled target data—every time a new city is added.
In practice, maintaining access to this external data is often unfeasible due to privacy regulations (like GDPR), massive storage requirements, or proprietary restrictions. The core problem is: how do we adapt a model to a new, unseen city effectively without looking back at old data?
Proposed Methodology
The authors propose a two-stage approach to achieve scalable adaptation.
1. Multi-Target Knowledge Distillation (MT-KD)
The first stage is a pre-training phase where the model is trained on a labeled source (e.g., synthetic GTA5 data) and multiple unlabeled target domains (e.g., real-world cities). This stage utilizes a Student-Teacher framework, where the "Teacher" model is a moving average of the "Student," providing stable pseudo-labels. A discriminator is also used for adversarial learning to ensure the model produces domain-invariant features.
2. Unseen Target Knowledge Distillation (UT-KD)
The second stage is the "source-free" adaptation phase. When the model encounters a new city, it uses the pre-trained MT-KD weights as an initialization. The key innovation here is "one-way" adversarial learning.
In this phase, the discriminator from the pre-training stage is frozen. The student model attempts to "fool" this fixed discriminator into classifying the new city's images as belonging to the source domain. This prevents "catastrophic forgetting" by using the frozen discriminator as a permanent representative of the source distribution, anchoring the model's knowledge while it learns the new environment.
3. Multi-Target Style Transfer Network (MT-STN)
To bridge the domain gap further, the authors use a shared network that swaps "styles" (like lighting or texture) between domains using Conditional Instance Normalization (CIN). This serves as a data augmentation tool during the initial pre-training.
Key Insights and Results
The study evaluated the method using synthetic data (GTA5) as the source and real-world datasets (CityScapes, IDD, Mapillary Vistas) as targets.
- Performance: The proposed UT-KD achieved an average mIoU (mean Intersection over Union) of 73.7% in synthetic-to-real tests, significantly outperforming previous state-of-the-art methods like ADAS (71.2%).
- Data Efficiency: Remarkably, UT-KD performed nearly as well as MT-KD, despite not having access to the source data during the adaptation phase. On the Mapillary dataset, it reached 75.7% mIoU, surpassing several methods that utilized full source data.
- Robustness: Pre-training on multiple targets was found to make the model significantly more robust and easier to adapt to unseen targets compared to single-target pre-training.
Conclusion
This research provides a practical path forward for deploying semantic segmentation models in the real world. By eliminating the need for constant access to source data through "one-way" adversarial learning and frozen discriminators, the framework offers a scalable, privacy-conscious solution for continuous model adaptation in diverse urban environments.
Summary updated