Federated Domain Generalization: A Survey

Ying Li, Xingwei Wang, Rongfei Zeng, Praveen Kumar Donta, Ilir Murturi, Min Huang, Schahram Dustdar

TL;DR

This paper surveys the emerging field of Federated Domain Generalization (FDG), which combines Federated Learning (FL) and Domain Generalization (DG) to train robust machine learning models across decentralized, privacy-sensitive data sources that may have different distributions. It provides a comprehensive overview of existing methodologies, datasets, applications, and future research directions, highlighting the critical need for models that generalize well to unseen domains while preserving data privacy.

What Problem Does This Paper Address?

Machine learning models often struggle when deployed in real-world scenarios where the data distribution at test time differs from the training data distribution (domain shift). Traditional approaches to address this, like Domain Adaptation (DA), often require access to target domain data, which is not always feasible or privacy-preserving. Domain Generalization (DG) aims to train models that generalize to unseen domains without direct access to their data, typically by training on a collection of diverse source domains.

However, a significant challenge arises when data is also distributed across multiple devices or organizations, as is common with the proliferation of IoT devices and sensitive data (e.g., healthcare, finance). Federated Learning (FL) offers a solution by enabling collaborative model training without centralizing data, thus preserving privacy. Federated Domain Generalization (FDG) emerges as a critical area that synergizes FL and DG to tackle both the domain shift problem and data decentralization/privacy concerns simultaneously. This paper addresses the need for a comprehensive survey of this rapidly evolving field, which has seen limited dedicated research despite its growing importance.

Methods

The paper categorizes FDG methodologies into four main groups:

  • Federated Domain Alignment: Aims to align feature distributions across different domains. Techniques include adversarial feature alignment (using GANs to confuse a discriminator), minimizing contrastive loss (encouraging similar representations for positive pairs and dissimilar for negative pairs), Wasserstein distance, and Maximum Mean Discrepancy (MMD).
  • Data Manipulation: Involves creating new training data to enhance diversity and robustness. This includes data augmentation (e.g., rotation, scaling, style transfer) and data generation (using generative models like GANs or Mixup-based augmentation).
  • Learning Strategies: Focuses on how models learn and adapt. This encompasses representation learning (learning domain-invariant features), federated domain adaptation (combining FL with DA techniques), federated transfer learning (leveraging knowledge from source to target domains), channel decoupling (disentangling domain-specific and shared information), style transfer, and federated meta-learning (learning to learn quickly on new tasks/domains).
  • Aggregation Optimization: Addresses how local model updates are combined on the central server. This includes optimizing weight allocation (e.g., based on model performance or domain relevance) and gradient optimization (ensuring consistent learning directions across domains).

Datasets

The paper lists several commonly used datasets for FDG research, including:

  • Handwritten Digit Recognition: MNIST, MNIST-M, SVHN, USPS, Digits-DG, Rotated MNIST.
  • Object Recognition: Office-Home, PACS, VLCS, DomainNet, Office-31, Office-Caltech-Home, ImageCLEF-DA, Amazon Review.
  • Transportation Imaging: Cityscapes, IDDA, Mapillary Vistas.
  • Medical Imaging: Skin Lesion (HAM10000, Dermofit, etc.), Fed-ISIC2019, Dermofit Image Library, YawDD.
  • Industrial Edge Intelligence: CWRU, PU.
  • Human Activity Recognition: UCI Smartphone.

The paper notes that these datasets are crucial for evaluating and benchmarking FDG algorithms.

Key Insights and Ideas

  • FDG as a Necessary Evolution: The paper strongly argues that FDG is not just an extension but a necessary fusion of FL and DG to address real-world challenges where data is both distributed and subject to domain shifts.
  • Privacy-Preserving Generalization is Key: The core value proposition of FDG lies in its ability to achieve robust generalization without compromising data privacy, a critical requirement in many sensitive domains.
  • Methodological Diversity: The survey highlights a rich landscape of techniques, from adversarial methods to contrastive learning and meta-learning, indicating that no single approach is universally superior.
  • The Trade-off Between Alignment and Invariance: Many methods aim to either align domain distributions or learn domain-invariant representations, often involving a delicate balance to achieve effective generalization.
  • The Growing Importance of Heterogeneity: The paper emphasizes that addressing data and model heterogeneity across clients is a fundamental challenge that FDG methods must overcome.

Key Results

The paper is a survey, so it doesn't present new experimental results. Instead, it synthesizes findings from numerous existing studies. The key "results" are the identification and categorization of various FDG methods and their demonstrated effectiveness in improving model generalization and robustness across diverse domains, all while adhering to FL principles. The publication trends (Fig. 8) show a significant and growing interest in FDG research, with "Learning Strategies" being a particularly active area.

Limitations and Future Work

The authors acknowledge several limitations and suggest future research directions:

  • Privacy-Preserving FDG: While FL inherently offers privacy, further development of robust privacy-preserving mechanisms specifically for FDG is needed. Existing FDG methods often neglect this aspect.
  • Communication Efficiency: Many FDG methods can increase communication costs. Research is needed to develop schemes that are communication-efficient.
  • Computation Efficiency: Reducing the computational requirements of FDG methods is crucial, especially for resource-constrained edge devices.
  • Heterogeneity: Addressing data and model heterogeneity across clients remains a significant challenge, impacting performance and fairness.
  • Label Shift: The discrepancy in label distributions between domains can hinder generalization. More research is needed to mitigate this.
  • Scalable FDG: Developing FDG approaches that can effectively handle large-scale datasets and a growing number of domains is essential.
  • Continuous FDG: Most research assumes fixed source domains. Exploring continuous adaptation and generalization over time is a promising avenue.
  • FDG to Novel Categories: Extending FDG to scenarios where target domains may contain entirely new categories not seen during training is an important future direction.

Summary updated

BibTeX
@inproceedings{li2023federated,
  author = {Ying Li and Xingwei Wang and Rongfei Zeng and Praveen Kumar Donta and Ilir Murturi and Min Huang and Schahram Dustdar},
  title = {{Federated Domain Generalization: A Survey}},
  booktitle = {Proc. IEEE},
  year = {2023},
}
Figure