Federated Multi-Target Domain Adaptation

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

Introduction

Standard Federated Learning (FL) typically assumes that clients possess labeled data to train local models. However, in many real-world scenarios, users have access only to unlabeled data (e.g., personal photos or sensor logs), while a central server maintains high-quality labeled datasets. This creates a significant "domain gap" between the curated server data and the diverse, messy data found on client devices.

This paper introduces Federated Multi-Target Domain Adaptation (FMTDA), a framework designed to bridge this gap. FMTDA enables a central server to assist multiple privacy-conscious clients in adapting models to their specific local distributions without requiring raw data sharing or manual labeling by the users.

The DualAdapt Framework

To address the challenges of FMTDA, the authors propose DualAdapt, a strategy that balances local efficiency with global alignment by decoupling model updates.

The DualAdapt architecture decouples local and global adaptation using GMM proxies and Mixup to bridge domain gaps without sharing raw data.

Local Adaptation (On Client)

To minimize the computational burden on mobile devices, clients freeze the heavy feature extractor ($G$) of the neural network. They only train a lightweight local classifier ($F_l$) using a self-training approach. To guide this process, clients generate pseudo-labels from a global classifier and fit a Gaussian Mixture Model (GMM) to their local data features. This GMM serves as a statistical "sketch" of the local data distribution.

Global Adaptation (On Server)

Clients upload only their lightweight local classifiers and GMM parameters. The server then uses these GMMs to "weight" its own source data. By applying Mixup (linearly combining source images), the server creates a diverse proxy dataset. It uses the GMM weights to identify which "mixed" images most closely resemble a specific client's data. The server then updates the heavy feature extractor to align the source and proxy domains using Maximum Classifier Discrepancy (MCD) as a backbone.

Experimental Evaluation

The researchers evaluated DualAdapt across three distinct tasks:

  • Digit-Five: A benchmark involving five digit datasets (MNIST, USPS, SVHN, etc.), treating one as the source and others as client targets.
  • DomainNet: A large-scale dataset with six modalities (e.g., Clipart, Painting, Real, Sketch) tested in a one-to-five adaptation scenario.
  • GTA5-to-CrossCity: A semantic segmentation task where a model learns from synthetic game data (GTA5) and adapts to real-world street scenes from four different cities (Rio, Rome, Taipei, and Tokyo).

Key Results and Analysis

DualAdapt demonstrates significant improvements in both accuracy and operational efficiency compared to standard federated domain adaptation baselines.

Target accuracy comparison across varying amounts of target data, demonstrating the robustness of DualAdapt (labeled as LGC) against baselines.
  • Accuracy: On the Digit-Five dataset, DualAdapt achieved 34.1% average accuracy, outperforming federated versions of popular methods like DANN (31.3%) and nearly matching the "Oracle" performance (34.5%), which assumes direct access to all data.
  • Efficiency: By freezing the feature extractor on the client side, DualAdapt reduced client-side computation (FLOPs) by 4x.
  • Communication: Upload costs were slashed because clients only transmit small classifier and GMM parameters. In the DomainNet task, the upload size dropped from 2.5M parameters to just 0.02M.
  • Mitigating the "Canceling Effect": Unlike standard FedAvg, which can cause local adaptation progress to cancel out when clients have different distributions, DualAdapt's decoupled approach ensures that global alignment doesn't overwrite local specialization.

Conclusion

DualAdapt provides a realistic and efficient solution for Federated Multi-Target Domain Adaptation. By using GMMs as privacy-preserving proxies and decoupling the training of feature extractors and classifiers, the framework achieves high performance while respecting client privacy and resource constraints. Future work may explore more complex generative models for high-dimensional data and scenarios involving multiple labeled source datasets.

Summary updated

BibTeX
@inproceedings{yao2022federated,
  author = {Chun-Han Yao and Boqing Gong and Hang Qi and Yin Cui 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