Brendan Mcmahan
2023
Federated Learning of Gboard Language Models with Differential Privacy
Zheng Xu
|
Yanxiang Zhang
|
Galen Andrew
|
Christopher Choquette
|
Peter Kairouz
|
Brendan Mcmahan
|
Jesse Rosenstock
|
Yuanbo Zhang
Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 5: Industry Track)
We train and deploy language models (LMs) with federated learning (FL) and differential privacy (DP) in Google Keyboard (Gboard). The recent DP-Follow the Regularized Leader (DP-FTRL) algorithm is applied to achieve meaningfully formal DP guarantees without requiring uniform sampling of clients. 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 can be combined with DP-FTRL to adaptively choose the clip norm during training or reduce the hyperparameter tuning in preparation of training. With the help of pretraining on public data, we trained and deployed more than fifteen Gboard LMs that achieve high utility and $\rho-$zCDP privacy guarantees with $\rho \in (0.3, 2)$, with one model additionally trained with secure aggregation. We summarize our experience and provide concrete suggestions on DP training for practitioners.
Search
Co-authors
- Zheng Xu 1
- Yanxiang Zhang 1
- Galen Andrew 1
- Christopher Choquette 1
- Peter Kairouz 1
- show all...
Venues
- acl1