Faster Federated Learning with Decaying Number of Local SGD Steps
Authors:
- Jed MillsJMJed Mills
- Jia HuJHJia Hu
- Geyong MinGMGeyong Min
Preprint
Abstract
In Federated Learning (FL) client devices connected over the internet collaboratively train a machine learning model without sharing their private data with a central server or with other clients. The seminal Federated Averaging (FedAvg) algorithm trains a single global model by performing rounds of local training on clients followed by model averaging. FedAvg can improve the communication-efficiency of training by performing more steps of Stochastic Gradient Descent (SGD) on clients in each round. However, client data in real-world FL is highly heterogeneous, which has been extensively shown to slow model convergence and harm final performance when $K > 1$ steps of SGD are performed on clients per round. In this work we propose decaying $K$ as training progresses, which can jointly improve the final performance of the FL model whilst reducing the wall-clock time and the total computational cost of training compared to using a fixed $K$. We analyse the convergence of FedAvg with decaying $K$ for strongly-convex objectives, providing novel insights into the convergence properties, and derive three theoretically-motivated decay schedules for $K$. We then perform thorough experiments on four benchmark FL datasets (FEMNIST, CIFAR100, Sentiment140, Shakespeare) to show the real-world benefit of our approaches in terms of real-world convergence time, computational cost, and generalisation performance.
Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- Client-Side Optimization Strategies for Communication-Efficient Federated LearningIEEE Communications Magazine, 2022
- Proof of Federated Learning: A Novel Energy-Recycling Consensus AlgorithmIEEE Transactions on Parallel and Distributed Systems, 2021
- Towards Efficient Scheduling of Federated Mobile Devices Under Computational and Statistical HeterogeneityIEEE Transactions on Parallel and Distributed Systems, 2021
- Federated Learning Over Wireless Networks: Convergence Analysis and Resource AllocationIEEE/ACM Transactions on Networking, 2020
- Federated learning in medicine: facilitating multi-institutional collaborations without sharing patient dataScientific Reports, 2020
- Towards Fair and Privacy-Preserving Federated Deep ModelsIEEE Transactions on Parallel and Distributed Systems, 2020
- Communication-Efficient Federated Learning for Wireless Edge Intelligence in IoTIEEE Internet of Things Journal, 2019