English

Federated Learning for Emoji Prediction in a Mobile Keyboard

Computation and Language 2019-06-12 v1 Machine Learning

Abstract

We show that a word-level recurrent neural network can predict emoji from text typed on a mobile keyboard. We demonstrate the usefulness of transfer learning for predicting emoji by pretraining the model using a language modeling task. We also propose mechanisms to trigger emoji and tune the diversity of candidates. The model is trained using a distributed on-device learning framework called federated learning. The federated model is shown to achieve better performance than a server-trained model. This work demonstrates the feasibility of using federated learning to train production-quality models for natural language understanding tasks while keeping users' data on their devices.

Keywords

Cite

@article{arxiv.1906.04329,
  title  = {Federated Learning for Emoji Prediction in a Mobile Keyboard},
  author = {Swaroop Ramaswamy and Rajiv Mathews and Kanishka Rao and Françoise Beaufays},
  journal= {arXiv preprint arXiv:1906.04329},
  year   = {2019}
}
R2 v1 2026-06-23T09:49:37.356Z