arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1811.03604cs.CL
收藏

基于联邦学习的手机键盘预测

Federated Learning for Mobile Keyboard Prediction

Google LLC(谷歌有限责任公司)

Andrew Hard, Kanishka Rao, Rajiv Mathews, Swaroop Ramaswamy, Françoise Beaufays, Sean Augenstein, Hubert Eichner, Chloé Kiddon, Daniel Ramage

摘要:

我们使用称为联邦学习的分布式设备上学习框架来训练递归神经网络语言模型,以便在智能手机的虚拟键盘中预测下一个单词。将使用随机梯度下降的基于服务器的训练与使用联合平均算法的客户端设备上的训练进行比较。联邦算法可以在更高质量的数据集上进行训练,从而实现更好的预测召回率。这项工作证明了在客户端设备上训练语言模型而不将敏感的用户数据导出到服务器的可行性和好处。联邦学习环境使用户能够更好地控制其数据的使用,并简化了将隐私默认与跨客户端设备群体的分布式训练和聚合相结合的任务。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑