[Paper Review] Improving Accuracy of Federated Learning in Non-IID Settings
This paper proposes four lightweight, communication-free techniques to improve federated learning (FL) accuracy in non-i.i.d. data settings: server-side training with a small balanced data subset, projected gradient descent with L2 norm constraints, server-side momentum, and adaptive learning rate adjustment. These methods collectively boost FL validation accuracy by over 12% compared to baseline, reaching 85.7% on CIFAR-10—just 4.7% below centralized training performance—using only minimal computation overhead on clients or server.
Federated Learning (FL) is a decentralized machine learning protocol that allows a set of participating agents to collaboratively train a model without sharing their data. This makes FL particularly suitable for settings where data privacy is desired. However, it has been observed that the performance of FL is closely tied with the local data distributions of agents. Particularly, in settings where local data distributions vastly differ among agents, FL performs rather poorly with respect to the centralized training. To address this problem, we hypothesize the reasons behind the performance degradation, and develop some techniques to address these reasons accordingly. In this work, we identify four simple techniques that can improve the performance of trained models without incurring any additional communication overhead to FL, but rather, some light computation overhead either on the client, or the server-side. In our experimental analysis, combination of our techniques improved the validation accuracy of a model trained via FL by more than 12% with respect to our baseline. This is about 5% less than the accuracy of the model trained on centralized data.
Motivation & Objective
- To address the significant performance drop in federated learning when local data distributions are non-i.i.d. among clients.
- To identify causes of performance degradation in non-i.i.d. FL, particularly hypothesis conflicts between local models.
- To develop techniques that improve FL accuracy without increasing communication overhead, relying only on light computation on clients or server.
- To demonstrate that simple, modular modifications to the FL training pipeline can achieve substantial accuracy gains in challenging data distribution settings.
Proposed method
- Introduces server-side training by providing the server with a small, balanced subset (5%) of the training data to fine-tune the global model after each aggregation round.
- Applies projected gradient descent by constraining the L2 norm of local models to prevent divergence and reduce hypothesis conflicts.
- Implements server-side momentum with a momentum constant (e.g., 0.5 or 0.9) to stabilize and accelerate convergence during model aggregation.
- Introduces an adaptive learning rate at the server that adjusts based on the number of participating clients, using a threshold-based rule to scale updates.
- Combines these techniques without structural changes to the FedAvg framework, ensuring backward compatibility and ease of deployment.
- Uses standard FL training with FedAvg aggregation (weighted averaging) and evaluates on ResNet20 with fixup initialization on CIFAR-10.
Experimental results
Research questions
- RQ1What are the primary causes of performance degradation in federated learning under non-i.i.d. data distributions?
- RQ2Can performance improvements in non-i.i.d. FL be achieved without increasing communication overhead between clients and server?
- RQ3How do hypothesis conflicts between local models affect global model convergence and accuracy in FL?
- RQ4To what extent can lightweight server-side computation (e.g., fine-tuning, momentum, adaptive learning rate) mitigate accuracy drops in non-i.i.d. settings?
- RQ5What combination of techniques yields the maximum accuracy improvement in non-i.i.d. FL while preserving communication efficiency?
Key findings
- The baseline FL setting with non-i.i.d. data (FL - NIID(5)) achieved only 73.0% validation accuracy, a drop of over 17% compared to centralized training (90.4%).
- Server-side training with 5% of the data improved accuracy to 83.7%, representing a 10.7 percentage point gain over the baseline.
- Projected gradient descent with an L2 norm threshold of 3 improved accuracy to 77.5%, a 4.5 percentage point improvement over baseline.
- Combining projected gradient descent with Gaussian noise addition (STD = 1×10⁻⁴) increased accuracy to 79.6%, a 6.6 percentage point improvement.
- Server-side momentum with a constant of 0.5 improved accuracy to 80.9%, a 7.9 percentage point gain, while a constant of 0.9 reduced performance, indicating sensitivity to hyperparameter choice.
- The optimal combination—5% server-side data, momentum (0.9), and adaptive learning rate—achieved 85.7% validation accuracy, a 12.7 percentage point improvement over the baseline, approaching centralized performance within 4.7%.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.