arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.10031cs.LGcs.CRstat.ML
收藏

无需对用户数据进行分类的生产语言模型训练

Training Production Language Models without Memorizing User Data

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

Swaroop Ramaswamy, Om Thakkar, Rajiv Mathews, Galen Andrew, H. Brendan McMahan, Françoise Beaufays

摘要:

本文提出了第一个消费者规模的下一个词预测(NWP)模型,该模型使用联邦学习(FL)进行训练,同时利用差分私有联邦平均(DP-FedAvg)技术。已经有关于构建实用FL基础设施的先前工作,包括展示使用这种基础设施在移动设备上训练语言模型的可行性的工作。它也被证明(在公共语料库上的模拟),它是可能的训练NWP模型与用户级差分隐私使用DP-FedAvg算法。然而,在现实世界的生产环境中,在一个异构的手机上,用DP-FedAvg训练生产质量的NWP模型需要解决许多挑战。例如,协调中央服务器必须在每轮开始时跟踪可用的设备,并从它们中随机均匀地采样设备,同时确保\emph{secrecy of the sample}等。与我们所知道的所有先前的以隐私为中心的FL工作不同,我们首次展示了用于在FL中训练生产神经网络的差异隐私机制的部署,以及生产培训基础设施的仪器化,以执行对非故意记忆的端到端经验测量。

英文摘要:

This paper presents the first consumer-scale next-word prediction (NWP) model trained with Federated Learning (FL) while leveraging the Differentially Private Federated Averaging (DP-FedAvg) technique. There has been prior work on building practical FL infrastructure, including work demonstrating the feasibility of training language models on mobile devices using such infrastructure. It has also been shown (in simulations on a public corpus) that it is possible to train NWP models with user-level differential privacy using the DP-FedAvg algorithm. Nevertheless, training production-quality NWP models with DP-FedAvg in a real-world production environment on a heterogeneous fleet of mobile phones requires addressing numerous challenges. For instance, the coordinating central server has to keep track of the devices available at the start of each round and sample devices uniformly at random from them, while ensuring \emph{secrecy of the sample}, etc. Unlike all prior privacy-focused FL work of which we are aware, for the first time we demonstrate the deployment of a differentially private mechanism for the training of a production neural network in FL, as well as the instrumentation of the production training infrastructure to perform an end-to-end empirical measurement of unintended memorization.

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

↑