Two Models are Better than One: Federated Learning Is Not Private For Google GBoard Next Word Prediction
Preprint
Abstract
In this paper we present new attacks against federated learning when used to train natural language text models. We illustrate the effectiveness of the attacks against the next word prediction model used in Google's GBoard app, a widely used mobile keyboard app that has been an early adopter of federated learning for production use. We demonstrate that the words a user types on their mobile handset, e.g. when sending text messages, can be recovered with high accuracy under a wide range of conditions and that counter-measures such a use of mini-batches and adding local noise are ineffective. We also show that the word order (and so the actual sentences typed) can be reconstructed with high fidelity. This raises obvious privacy concerns, particularly since GBoard is in production use.Keywords
All Related Versions
This publication has 5 references indexed in Scilit:
- When the Curious Abandon Honesty: Federated Learning Is Not Private2023
- Eluding Secure Aggregation in Federated Learning via Model Inconsistency2022
- Mobile Handset Privacy: Measuring the Data iOS and Android Send to Apple and Google2021
- TAG: Gradient Attack on Transformer-based Language Models2021
- Computation of normalized edit distance and applicationsIEEE Transactions on Pattern Analysis and Machine Intelligence, 1993