Efficiently Assemble Normalization Layers and Regularization for Federated Domain Generalization

Le Huy Khiem, Long Tuan Ho, Cuong Do, Danh Le-Phuoc, Kok-Seng Wong · DOI · OpenReview

Training machine learning models that generalize to unseen data is a significant challenge, particularly when training data is decentralized across multiple locations for privacy. This scenario, known as Federated Domain Generalization (FedDG), requires models to learn domain-invariant features without direct access to pooled data or incurring heavy communication costs.

In their research, Khiem Le and colleagues introduce gPerXAN, a lightweight architectural framework designed to address these hurdles. By combining a personalized hybrid normalization scheme with a novel guiding regularizer, gPerXAN achieves state-of-the-art performance while maintaining strict privacy and low overhead.

The Challenge of Federated Domain Generalization

Standard machine learning assumes that training and testing data share the same distribution. In real-world applications, such as medical imaging across different hospitals, "domain shifts" caused by varying equipment or lighting often lead to model failure. While Domain Generalization (DG) seeks to find universal features across multiple source domains, doing so in a Federated Learning (FL) environment introduces two major constraints:

  1. Privacy: Data cannot be shared between clients to identify universal features.
  2. Efficiency: Many existing FedDG methods require exchanging complex data statistics or styles, which increases communication costs and risks privacy leakage.

The gPerXAN Framework

The core of the proposed solution is the gPerXAN framework, which rests on two primary pillars: personalized normalization and guided regularization.

Personalized eXplicitly Assembled Normalization (PerXAN)

The authors observe that Instance Normalization (IN) is effective at removing domain-specific "style" (e.g., texture or color) but can degrade class discrimination. Conversely, Batch Normalization (BN) excels at discrimination but is highly sensitive to domain shifts.

gPerXAN creates an explicit mixture of these layers. In the federated setting, the IN parameters are shared and aggregated globally to help the model learn style-invariance. Meanwhile, the BN parameters are kept strictly local to each client. This allows the model to adapt to local data characteristics without broadcasting sensitive statistics to the central server.

Overview of the gPerXAN federated training process, highlighting the local Batch Normalization (BN) and global Instance Normalization (IN) assembly.

Regularization as Guidance

To ensure the model retains useful features while stripping away domain noise, the authors introduce a "guiding" regularizer. During local training, clients use a frozen global classifier head to evaluate their local features. If the local feature extractor produces representations that the global classifier cannot interpret, the model is penalized. This forces local models to converge on representations that are useful for the entire federation.

Experimental Evaluation

The authors evaluated gPerXAN on three diverse benchmarks: PACS (visual discrepancy), Office-Home (complex categories), and Camelyon17 (real-world medical histology).

Key Results

gPerXAN consistently outperformed existing state-of-the-art (SOTA) FedDG methods across all datasets:

  • Accuracy: On the PACS dataset, gPerXAN achieved an average accuracy of 87.94%, outperforming the next best method (FedDG-GA) by approximately 1%. On the Camelyon17 medical dataset, it reached 94.1%, a significant jump from the baseline FedAvg (90.8%).
  • Efficiency: Unlike methods that exchange image styles or use ensembles, gPerXAN requires zero additional communication beyond standard model updates, making it ideal for resource-constrained edge devices.
Comparison of accuracy across different federated learning methods, showing the superior performance of gPerXAN.

Conclusion

gPerXAN offers a robust and efficient solution for Federated Domain Generalization. By strategically separating global style-invariance (via IN) from local feature discrimination (via BN) and using a global head for guidance, the framework achieves high accuracy without compromising privacy or network efficiency. Future work may explore its application to Vision Transformer (ViT) architectures and its robustness against adversarial attacks.

Summary updated

BibTeX
@misc{khiem2024efficiently,
  author = {Le Huy Khiem and Long Tuan Ho and Cuong Do and Danh Le-Phuoc and Kok-Seng Wong},
  title = {{Efficiently Assemble Normalization Layers and Regularization for Federated Domain Generalization}},
  year = {2024},
  eprint = {2403.15605},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.15605},
}
Figure