Abstract
This paper presents Union-Set Multi-source Model Adaptation (US-MSMA), a framework designed for semantic segmentation that adapts multiple pre-trained source models to a target domain without requiring access to original source data. Unlike traditional multi-source domain adaptation, US-MSMA addresses the "Union-Set" problem where each source model may only cover a subset of the target's classes. Through a two-stage process involving model-invariant feature learning and knowledge distillation, the framework produces a single, high-performance global model.
Introduction
In deep learning, data privacy regulations (such as GDPR) and massive storage requirements often prevent access to raw source datasets during domain adaptation. While Unsupervised Domain Adaptation (UDA) and Model Adaptation (MA)—also known as source-free domain adaptation—have emerged as solutions, existing multi-source MA methods typically assume that all source models share an identical label set with the target domain.
In practical scenarios, source models are often specialized for different subsets of classes (e.g., one model for vehicles, another for pedestrians). US-MSMA relaxes the standard assumption of overlapping label sets, enabling the integration of heterogeneous source models to master a target domain containing the union of their label sets. This "Union-Set" approach allows for greater flexibility in selecting and combining pre-trained models for complex real-world tasks.
Methods
The US-MSMA framework operates in two distinct stages to bridge the domain gap and integrate knowledge from multiple sources.
Stage I: Model Adaptation with Model-Invariant Feature Learning
The goal of this stage is to adapt individual source models to the target domain while harmonizing their feature spaces. This is achieved through three key mechanisms:
- Self-Training: The models generate "pseudo-labels" for the unlabeled target data to initiate the adaptation process.
- Model-Invariant Feature Learning: To prevent models from remaining biased toward their original source domains, the framework forces backbones to produce similar feature distributions. This involves Cross-model consistency (swapping backbones and classifiers) and Adversarial learning, where classifiers are trained to detect model-specific features while backbones learn to "hide" them.
- Classifier Ensemble: Since no single model knows all classes, a custom ensemble strategy averages logits only for the specific classes a given model was originally trained to recognize.
Stage II: Model Integration
Running an ensemble of multiple models at inference time is computationally expensive. In Stage II, the knowledge from all adapted source models is distilled into a single final model ($M_{fin}$). This unified model utilizes one backbone while maintaining the ability to predict the full union of classes, resulting in a system that is both faster and often more accurate than the individual adapted parts.
Experimental Evaluation
The authors evaluated US-MSMA using a "synthetic-to-real" pipeline. Source domains included synthetic datasets (GTA5, Synscapes, and Synthia), while the Cityscapes dataset served as the real-world target domain.
Three experimental scenarios were tested:
- Non-overlapping: Sources have entirely different class sets.
- Partly-overlapping: Sources share background classes (e.g., road) but have different foreground objects.
- Fully-overlapping: Standard multi-source model adaptation.
Key Results
US-MSMA consistently outperformed existing state-of-the-art UDA and MSMA methods across all settings:
- Non-overlapping Setting: The proposed method achieved a mean IoU (mIoU) of 44.2, significantly outperforming standard UDA (41.1) and existing MSMA methods (22.7), which struggled with mismatched label spaces.
- Partly-overlapping Setting: The method reached 48.3 mIoU, surpassing the next best source-free method (SSMA) at 47.2.
- Qualitative Performance: Visual results showed cleaner segmentation of sidewalks, vegetation, and riders compared to non-adapted models, which frequently confused these categories due to the domain shift.
Conclusion and Future Work
US-MSMA provides a flexible and efficient approach to model adaptation by allowing the use of specialized source models with non-overlapping label sets. By harmonizing features and distilling knowledge into a single network, it achieves high performance without the need for source data.
Currently, the method requires that the union of source labels exactly matches the target label space. Future research may address "open-set" problems where the target domain contains entirely new classes, as well as methods to reduce the computational cost of the iterative adversarial training loop in Stage I.
Summary updated