Communication-Efficient Learning of Deep Networks from Decentralized Data

H. Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, Blaise Agüera y Arcas
2/17/2016
29,111 citations
cs.LG
federated

No official code found. Best implementation: AshwinRJ/Federated-Learning-PyTorch (1,439 stars, Python, MIT, PyTorch, last commit 2024-05-07). 4 more below.

Abstract

Modern mobile devices have access to a wealth of data suitable for learning models, which in turn can greatly improve the user experience on the device. For example, language models can improve speech recognition and text entry, and image models can automatically select good photos.

Show full abstract

However, this rich data is often privacy sensitive, large in quantity, or both, which may preclude logging to the data center and training there using conventional approaches. We advocate an alternative that leaves the training data distributed on the mobile devices, and learns a shared model by aggregating locally-computed updates. We term this decentralized approach Federated Learning. We present a practical method for the federated learning of deep networks based on iterative model averaging, and conduct an extensive empirical evaluation, considering five different model architectures and four datasets. These experiments demonstrate the approach is robust to the unbalanced and non-IID data distributions that are a defining characteristic of this setting. Communication costs are the principal constraint, and we show a reduction in required communication rounds by 10-100x as compared to synchronized stochastic gradient descent.

View on arXivView PDF

Code Implementations(5)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
AshwinRJ/Federated-Learning-PyTorchCommunity1,439PythonMIT2024-05-07
katsura-jp/fedavg.pytorchCommunity94–––
zhongjian-zhang/FederalLearningCommunity42–––
zj-jayzhang/FedAvgCommunity33–––
divyanshusharma1709/Federated_Learning_HorizontalCommunity9–––
PyTorchMIT

Implementation of Communication-Efficient Learning of Deep Networks from Decentralized Data

1,439459PythonNov 16, 20182 years agoMIT
deep-learningdistributed-computingfederated-learningpythonpytorch

A PyTorch implementation of "Communication-Efficient Learning of Deep Networks from Decentralized Data", AISTATS, 2017

9422

通过阅读Communication-Efficient Learning of Deep Networks from Decentralized Data与Robust and Communication-Efficient Federated Learning from Non-IID Data两篇论文,复现FedAvg与STC算法,完成LSTM模型+ Shakespeare数据集的字符预测任务

425
zj-jayzhang/FedAvgCommunity25%

This is a implemention of FedAvg in paper Communication-Efficient Learning of Deep Networks from Decentralized Data.

3314

An Implementation of the Federated Averaging Algorithm as described in the Paper - Communication-Efficient Learning of Deep Networks from Decentralized Data by H. Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, Blaise Agüera y Arcas

93

Similar Papers

Cite this paper

@article{mcmahan2016communicationefficient,
  title  = {Communication-Efficient Learning of Deep Networks from Decentralized Data},
  author = {H. Brendan McMahan and Eider Moore and Daniel Ramage and Seth Hampson and Blaise Agüera y Arcas},
  year   = {2016},
  eprint = {1602.05629},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1602.05629}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1602.05629.svg)](https://codeofpaper.com/paper/1602.05629)

Discussion