Abstract
Federated Learning (FL) often struggles with extreme statistical heterogeneity, where divergent client data distributions lead to conflicting model updates and poor convergence. We present FedPeWS (Personalized Warmup via Subnetworks), a novel two-phase training strategy. By initially restricting participants to training on personalized, sparse subnetworks, FedPeWS mitigates early-round gradient interference. This "warmup" phase allows clients to build specialized feature foundations before transitioning to full-model collaboration. Empirical results across synthetic and real-world medical datasets demonstrate that FedPeWS significantly accelerates convergence and improves final global model accuracy compared to standard FL optimizers.
Introduction
In standard Federated Learning, multiple clients collaboratively train a global model without sharing raw data. However, the primary challenge remains statistical heterogeneity: the "non-IID" (not identically and independently distributed) nature of data across clients. For instance, in medical imaging, one hospital may possess brain MRIs while another holds lung X-rays.
When data is extremely non-IID, early training rounds often devolve into a "tug-of-war." Clients send updates to the central server that are fundamentally at odds, leading to slow convergence or complete failure of the global model to learn useful representations. While existing solutions employ heavy regularization to constrain client updates, these methods often inadvertently stunt the learning process.
Methodology: Personalized Warmup via Subnetworks
FedPeWS addresses gradient interference by introducing a strategic two-phase training approach.
Phase 1: The Warmup Phase
For a predefined number of initial rounds ($W$), each participant identifies and trains only a personalized subnetwork.
- Neuron-level Masking: To maintain computational efficiency, the algorithm learns a binary mask at the neuron level rather than the weight level. Masked neurons and their associated weights are ignored during local updates.
- Learnable Masks: Participants optimize a "mask score" alongside model weights, allowing the subnetwork to evolve and fit the local data distribution dynamically.
- Mask Diversity Loss: To prevent the global model from collapsing into a narrow architecture, the server enforces a diversity loss, encouraging different clients to explore distinct parts of the network.
The authors also propose FedPeWS-Fixed, a variant for scenarios where data distributions are known a priori, allowing for pre-assigned, non-overlapping subnetworks.
Phase 2: The Collaboration Phase
Following the warmup period, masks are discarded. Participants revert to standard federated optimization (e.g., FedAvg or FedProx), training the full, dense model. By this stage, the "specialized" foundations built during warmup reduce the likelihood of conflicting updates during full-model merging.
Experimental Setup
The effectiveness of FedPeWS was evaluated across several challenging scenarios:
- Synthetic Datasets (32K & 3.2K): Designed to simulate extreme non-IID conditions with interleaved clusters.
- CIFAR-MNIST: A hybrid dataset combining natural images (CIFAR-10) and handwritten digits (MNIST).
- Medical Imaging ({Path-OCT-Tissue}MNIST): A combination of three distinct medical datasets representing different modalities and organs.
- Scalability Benchmarks: Testing with up to $N=200$ participants on CIFAR-10 and CIFAR-100.
Key Results and Discussion
FedPeWS demonstrates substantial improvements in both accuracy and convergence speed:
- Accuracy Gains: In extreme synthetic scenarios ($N=4$), FedPeWS achieved 91.13% accuracy, whereas standard FedAvg reached only 58.4%.
- Faster Convergence: On the Synthetic-32K dataset, FedPeWS reached a 99% accuracy threshold in 115 rounds, compared to 148 rounds for FedAvg.
- Plug-and-Play Compatibility: FedPeWS serves as an effective warmup for other state-of-the-art methods. For example, applying it to FedProx boosted CIFAR-MNIST performance from 72.27% to 75.04%.
The core insight is that specialization precedes collaboration. By reducing the "collision cross-section" of updates through subnetwork masking, FedPeWS minimizes gradient interference. Neuron-level masking provides an optimal balance between architectural flexibility and structural efficiency.
Limitations and Future Work
A current limitation is the sensitivity to hyperparameters, specifically the warmup duration ($W$) and the diversity loss weight ($\lambda$). Future research will focus on adaptive warmup schedules that utilize local convergence metrics to automatically transition clients to the collaboration phase. Additionally, investigating the interaction between subnetwork-based warmup and privacy-preserving techniques like differential privacy remains a priority.
Summary updated