FedWon: Triumphing Multi-domain Federated Learning Without Normalization

Weiming Zhuang, Lingjuan Lyu

TL;DR

FedWon is a novel federated learning framework that eliminates normalization layers to overcome the challenges of training on data from diverse environments (multi-domain FL). By replacing Batch Normalization with scaled weight standardization, it enables the training of a single, high-performing global model that excels in both cross-silo and cross-device settings, even with extremely small batch sizes.

What Problem Does This Paper Address?

Federated Learning (FL) allows multiple clients to train a model together without sharing their raw data. However, it often hits a wall when data is "non-i.i.d." (not independent and identically distributed). While most researchers focus on label skew (e.g., one client has only cats, another only dogs), this paper tackles domain skew.

In multi-domain FL, clients might have the same classes, but the data looks different due to environmental factors—think of autonomous cars driving in sunny vs. snowy weather, or different hospitals using different MRI machines. The standard tool for stabilizing deep networks, Batch Normalization (BN), actually makes this problem worse in FL. BN relies on calculating mean and variance statistics for every batch. In a multi-domain setup, these statistics vary wildly between clients. When the server tries to average these BN parameters, the resulting global model often performs poorly for everyone.

Illustration of multi-domain FL and the discrepancy in BN statistics across domains

Methods

The authors propose FedWon (Federated learning Without normalizations). The core idea is simple but radical: if normalization is the problem, just get rid of it.

  1. Remove Normalization Layers: FedWon completely eliminates BN and other normalization layers from the architecture.
  2. Scaled Weight Standardization (WSConv): To keep training stable without BN, they reparameterize the convolution layers. Instead of normalizing the activations (which depend on the data domain), they standardize the weights of the filters themselves. This prevents the "mean shift" in hidden layers that usually causes unnormalized networks to explode.
  3. Adaptive Gradient Clipping (AGC): To further stabilize training, especially when using larger batch sizes, they employ AGC, which prevents gradients from becoming too large during updates.
Architecture of FedWon using WSConv

Datasets

The researchers evaluated FedWon on a wide range of benchmarks:

  • Digits-Five: A collection of five digit datasets (MNIST, SVHN, USPS, SynthDigits, MNIST-M).
  • Office-Caltech-10: Real-world objects from four domains (Amazon, Caltech, DSLR, WebCam).
  • DomainNet: A massive dataset with six distinct domains (Clipart, Painting, Sketch, etc.).
  • Fed-ISIC2019: A practical medical dataset for skin lesion diagnosis across six healthcare centers.
  • CIFAR-10: Used specifically to test if the method also handles traditional label skew.

Key Insights and Ideas

  • BN is a "Domain Trap": The paper visualizes how BN statistics (mean/variance) are tightly coupled to specific domains. Aggregating them at a central server creates a mismatch that hinders convergence.
  • Generalization vs. Personalization: Previous state-of-the-art methods like FedBN "personalized" models by keeping BN layers local. FedWon takes the opposite path: by removing the domain-sensitive layers entirely, it learns a single global model that is inherently more robust and generalizes better to entirely new, unseen domains.
  • The "Batch Size 1" Miracle: Standard BN-based models fail miserably with very small batch sizes because the statistics become noisy. Because FedWon doesn't rely on batch statistics, it performs exceptionally well even with a batch size of 1. This is a game-changer for resource-constrained edge devices (cross-device FL).

Key Results

  • State-of-the-Art Performance: FedWon outperformed both standard FedAvg and the specialized FedBN across almost all domains and datasets.
  • Significant Accuracy Boosts: In some cases, FedWon improved accuracy by over 10% compared to FedBN (e.g., on the DSLR domain of Office-Caltech-10).
  • Superior Generalization: When tested on an "unseen" domain not used during training, FedWon achieved 67.8% accuracy, far surpassing FedBN (61.0%) and FedAvg (52.5%).
  • Consistent Internal Representations: Feature map analysis shows that FedWon's internal representations are much more consistent across different clients than those of BN-based models, proving it successfully mitigates domain shift.

Limitations and Future Work

While FedWon is highly effective, the authors note a few areas for further exploration:

  • Hyperparameter Sensitivity: Normalization-free networks can sometimes be more sensitive to learning rate choices than standard architectures.
  • Broader Backbones: While they tested several architectures (CNN, AlexNet, ResNet-18), evaluating even larger-scale models or Vision Transformers (ViTs) would be a logical next step.
  • Beyond Supervised Learning: The authors suggest extending this "normalization-free" paradigm to semi-supervised and unsupervised federated learning scenarios.

Summary updated

BibTeX
@inproceedings{zhuang2024fedwon,
  author = {Weiming Zhuang and Lingjuan Lyu},
  title = {{FedWon: Triumphing Multi-domain Federated Learning Without Normalization}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=hAYHmV1gM8},
}
Figure