Federated Multi-Target Domain Adaptation

Chun-Han Yao, Boqing Gong, Yin Cui, Hang Qi, Yukun Zhu, Ming-Hsuan Yang

Abstract

Federated Multi-Target Domain Adaptation (FMTDA) addresses a critical gap in real-world machine learning: the discrepancy between labeled server-side data and unlabeled, heterogeneous client-side data. We propose DualAdapt, a framework that decouples model components to facilitate efficient local adaptation and global feature alignment. By utilizing Gaussian Mixture Models (GMMs) as privacy-preserving statistical proxies and employing a server-side Mixup strategy, DualAdapt achieves superior accuracy with significantly reduced computational overhead compared to traditional federated domain adaptation methods.

Introduction

In standard Federated Learning (FL), it is often assumed that clients possess labeled data. However, for complex tasks such as semantic segmentation, labeling is prohibitively expensive for end-users. Conversely, central servers typically host large, curated, labeled datasets (the source domain). The primary challenge lies in the domain gap between this source data and the diverse, unlabeled data residing on client devices (the target domains).

Overview of the Federated Multi-Target Domain Adaptation framework.

Traditional Domain Adaptation (DA) techniques require simultaneous access to source and target data, which violates FL privacy protocols. Furthermore, the heterogeneity of client data means that simple model aggregation (e.g., FedAvg) can lead to a "canceling out" effect, where adaptations for one user's specific environment degrade performance for another.

The DualAdapt Framework

To address these challenges, we introduce DualAdapt, which splits the training workload to respect both privacy and hardware constraints through four key mechanisms:

  1. Model Decoupling: The architecture is partitioned into a heavy feature extractor ($G$), a global classifier ($F_g$), and lightweight local classifiers ($F_l$) specific to each client.
  2. Local Adaptation: To minimize on-device computation, clients freeze the heavy feature extractor ($G$) and only update their local classifier ($F_l$) using self-training with pseudo-labels generated by the global model.
  3. Distribution Modeling: Clients represent their local data distributions using Gaussian Mixture Models (GMMs). These compact statistical parameters are uploaded to the server instead of raw data or gradients, preserving privacy.
  4. Global Alignment: The server utilizes the uploaded GMMs to weight "proxy" target samples generated via Mixup on its labeled source data. This allows the server to fine-tune the feature extractor ($G$) to align with the "hallucinated" client distributions.
The DualAdapt architecture showing client-side local adaptation and server-side global alignment.

Experimental Evaluation

The effectiveness of DualAdapt was evaluated across three diverse benchmarks:

  • Digit-Five: Five distinct digit datasets (MNIST, MNIST-M, SVHN, Synthetic, and USPS).
  • DomainNet: A large-scale dataset spanning six modalities, including Clipart, Painting, and Sketch.
  • GTA5 to CrossCity: A semantic segmentation task adapting from synthetic game data to real-world street scenes in four global cities.

Key Results

DualAdapt demonstrates significant improvements in both performance and efficiency:

  • Accuracy: On the Digit-Five benchmark, DualAdapt achieved an average accuracy of 34.1%, outperforming Fed-DANN (31.3%) and approaching the theoretical "Fed-oracle" performance (34.5%).
  • Efficiency: The method is highly resource-efficient, requiring only 1/4 of the FLOPs on the client side compared to competing federated DA approaches.
  • Communication: By transmitting only GMM parameters and small local classifiers, DualAdapt substantially reduces communication overhead.

Discussion and Insights

A core insight of this work is the use of Mixup as a proxy. By blending source images, the server creates a feature space that likely encompasses the target domains, enabling adaptation without direct data access. Additionally, the decoupling of classifiers prevents the "canceling out" effect inherent in multi-target scenarios, where averaging disparate adaptations often leads to a sub-optimal global model.

While GMMs provide an efficient privacy-preserving summary, future work may explore more complex generative models to represent higher-dimensional distributions. Furthermore, the success of the server-side alignment remains dependent on the initial diversity of the source domain.

Conclusion

DualAdapt provides a robust and efficient solution for Federated Multi-Target Domain Adaptation. By balancing local self-training with global statistical alignment, it enables high-performance model adaptation in privacy-sensitive, resource-constrained environments.

Summary updated

BibTeX
@inproceedings{yao2022federated,
  author = {Chun-Han Yao and Boqing Gong and Yin Cui and Hang Qi and Yukun Zhu and Ming-Hsuan Yang},
  title = {{Federated Multi-Target Domain Adaptation}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2022},
  doi = {10.1109/wacv51458.2022.00115},
}
Figure