Federated Learning for Mobile Keyboard Prediction

Andrew Hard, Kanishka Rao, Rajiv Mathews, Swaroop Ramaswamy, Françoise Beaufays +4 more
11/8/2018
1,982 citations
cs.CL
federated

No official code found. Best implementation: steph-jung/GenieType (10 stars).

Abstract

We train a recurrent neural network language model using a distributed, on-device learning framework called federated learning for the purpose of next-word prediction in a virtual keyboard for smartphones. Server-based training using stochastic gradient descent is compared with training on client devices using the Federated Averaging algorithm.

Show full abstract

The federated algorithm, which enables training on a higher-quality dataset for this use case, is shown to achieve better prediction recall. This work demonstrates the feasibility and benefit of training language models on client devices without exporting sensitive user data to servers. The federated learning environment gives users greater control over the use of their data and simplifies the task of incorporating privacy by default with distributed training and aggregation across a population of client devices.

View on arXivView PDF

Code Implementations(1)

Implementation of Federated Learning For Mobile Keyboard Prediction: https://arxiv.org/abs/1811.03604

102

Similar Papers

Cite this paper

@article{hard2018federated,
  title  = {Federated Learning for Mobile Keyboard Prediction},
  author = {Andrew Hard and Kanishka Rao and Rajiv Mathews and Swaroop Ramaswamy and Françoise Beaufays and Sean Augenstein and Hubert Eichner and Chloé Kiddon and Daniel Ramage},
  year   = {2018},
  eprint = {1811.03604},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.03604}
}

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/1811.03604.svg)](https://codeofpaper.com/paper/1811.03604)

Discussion