arXiv (Cornell University) · 2019 · 1K citations · 36 references
ComputingComputer ScienceAlgorithmsEdge ComputingMachine LearningDistributed ComputingFederated LearningOptimization For Machine LearningCommunication-efficient TrainingConvergence Rate AnalysisFederated AveragingGradient DescentSmooth OptimizationStatistical HeterogeneityStochastic Gradient Descent
Federated learning lets many edge devices jointly learn a model without sharing data, and its leading algorithm FedAvg performs parallel SGD on subsets of devices and periodically averages the updates, yet it lacks theoretical guarantees in realistic non‑IID settings. The paper analyzes FedAvg’s convergence on non‑IID data, establishing an O(1/T) rate for strongly convex, smooth problems. The study relaxes full device participation to partial participation, examining various averaging schemes that allow low participation rates without severely slowing learning. The analysis shows a trade‑off between communication efficiency and convergence rate, that data heterogeneity slows convergence, and that FedAvg requires a decaying learning rate—otherwise the solution remains Ω(η) from optimal—even when full gradients are used.
Federated learning enables a large amount of edge computing devices to jointly learn a model without data sharing. As a leading algorithm in this setting, Federated Averaging (\texttt{FedAvg}) runs Stochastic Gradient Descent (SGD) in parallel on a small subset of the total devices and averages the sequences only once in a while. Despite its simplicity, it lacks theoretical guarantees under realistic settings. In this paper, we analyze the convergence of \texttt{FedAvg} on non-iid data and establish a convergence rate of $\mathcal{O}(\frac{1}{T})$ for strongly convex and smooth problems, where $T$ is the number of SGDs. Importantly, our bound demonstrates a trade-off between communication-efficiency and convergence rate. As user devices may be disconnected from the server, we relax the assumption of full device participation to partial device participation and study different averaging schemes; low device participation rate can be achieved without severely slowing down the learning. Our results indicate that heterogeneity of data slows down the convergence, which matches empirical observations. Furthermore, we provide a necessary condition for \texttt{FedAvg} on non-iid data: the learning rate $η$ must decay, even if full-gradient is used; otherwise, the solution will be $Ω(η)$ away from the optimal.
36
Gradient-based learning applied to document recognition
Yann LeCun, Léon Bottou, Yoshua Bengio et al. · Proceedings of the IEEE · 1998 · 58.2K citations · Full text
Communication-Efficient Learning of Deep Networks from Decentralized Data
H. Brendan McMahan, Eider Moore, Daniel Ramage et al. · arXiv (Cornell University) · 2016 · 5.2K citations · Full text
Practical Secure Aggregation for Privacy-Preserving Machine Learning
Keith Bonawitz, Vladimir Ivanov, Ben Kreuter et al. · 2017 · 3.4K citations
Federated Learning: Strategies for Improving Communication Efficiency
Jakub Konečný, H. Brendan McMahan, Felix X. Yu et al. · arXiv (Cornell University) · 2016 · 3K citations · Full text
Privacy-Preserving Deep Learning
Reza Shokri, Vitaly Shmatikov · 2015 · 2.3K citations