LGCRMay 29, 2023

Federated Learning of Gboard Language Models with Differential Privacy

arXiv:2305.18465v2251 citations
Originality Incremental advance
AI Analysis

This work addresses privacy concerns in mobile keyboard language models for users, though it is incremental as it builds on existing DP-FTRL and quantile-based clip estimation methods.

The authors tackled the problem of training language models for Google Keyboard (Gboard) with federated learning and differential privacy, achieving high utility and formal privacy guarantees (ρ-zCDP with ρ between 0.2 and 2) for over twenty deployed models.

We train language models (LMs) with federated learning (FL) and differential privacy (DP) in the Google Keyboard (Gboard). We apply the DP-Follow-the-Regularized-Leader (DP-FTRL)~\citep{kairouz21b} algorithm to achieve meaningfully formal DP guarantees without requiring uniform sampling of client devices. To provide favorable privacy-utility trade-offs, we introduce a new client participation criterion and discuss the implication of its configuration in large scale systems. We show how quantile-based clip estimation~\citep{andrew2019differentially} can be combined with DP-FTRL to adaptively choose the clip norm during training or reduce the hyperparameter tuning in preparation for training. With the help of pretraining on public data, we train and deploy more than twenty Gboard LMs that achieve high utility and $ρ-$zCDP privacy guarantees with $ρ\in (0.2, 2)$, with two models additionally trained with secure aggregation~\citep{bonawitz2017practical}. We are happy to announce that all the next word prediction neural network LMs in Gboard now have DP guarantees, and all future launches of Gboard neural network LMs will require DP guarantees. We summarize our experience and provide concrete suggestions on DP training for practitioners.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes