Introduction
Federated Learning (FL) enables multiple entities, such as hospitals or mobile devices, to collaboratively train a shared machine learning model without exchanging raw, private data. While the standard aggregation algorithm, FedAvg, performs well when data is Independent and Identically Distributed (IID), its performance degrades significantly in real-world scenarios where local data distributions vary (Non-IID).
This paper identifies the core mechanisms behind this performance drop and proposes four lightweight techniques that collectively improve FL accuracy by over 12% in highly non-IID settings without increasing communication overhead.
The Non-IID Bottleneck
When local data distributions diverge, standard FL suffers from two primary issues:
- Hypothesis Conflicts: Local models learn contradictory rules for the same input space because they only observe a subset of the global data distribution. For instance, if one agent only sees certain classes, its decision boundaries will be fundamentally incompatible with an agent seeing different classes.
- Parameter Divergence: Because local loss surfaces differ, local models drift toward entirely different local minima. When the central server averages these divergent weights, the updates often cancel each other out, leading to a degraded global model.
As shown in the weight trajectory analysis below, in IID settings, local updates tend to align with the global Stochastic Gradient Descent (SGD) path. In Non-IID settings, however, client weights drift significantly, causing the aggregated FedAvg model to diverge from the optimal path.
Proposed Lightweight Techniques
To address these challenges without adding communication costs, the authors introduce four computation-side optimizations:
- Server-side Training: The server maintains a small (e.g., 5%), balanced proxy dataset. After aggregating client updates, the server fine-tunes the global model for one epoch. This acts as a "global anchor" to resolve conflicting hypotheses.
- Local Projected Gradient Descent (PGD): To limit parameter divergence, clients restrict their local model weights to stay within an $L_2$ norm ball of a fixed radius ($M$) relative to the starting global model. This is combined with local gradient noise for regularization.
- Server-side Momentum: The server applies momentum to the aggregated updates, helping to dampen the oscillations caused by differing local loss landscapes.
- Adjustable Learning Rate (Sign-Consensus): The server inspects the signs of client updates. If clients disagree significantly on the direction of a specific parameter (i.e., the sum of signs falls below a threshold $\theta$), the learning rate for that dimension is set to zero to prevent destructive interference.
Key Results
The authors evaluated these techniques using a ResNet20 model on a pathological non-IID split of the CIFAR-10 dataset (where two agents each held 5 disjoint classes).
- Baseline Performance: Centralized training reached 90.4% accuracy, while standard FL on the non-IID split dropped to 73.0%.
- Impact of Interventions: Server-side training alone provided the largest single boost (+10.7%), while server momentum and PGD also provided significant gains (+7.9% and +6.6% respectively).
- Combined Effect: By combining server-side training, momentum, and adjustable learning rates, the authors achieved 85.7% accuracy. This represents a massive 12.7% absolute improvement over the baseline, closing the gap to within 5% of the centralized ideal.
Limitations and Future Work
While promising, the study's experimental setup was limited to two agents and a single dataset (CIFAR-10). Future research is needed to determine how these techniques—particularly sign-based learning rate adjustments—scale to massive client pools typical of cross-device FL. Additionally, the reliance on server-side proxy data may pose challenges in environments with the strictest privacy requirements.
Summary updated