Training Production Language Models without Memorizing User Data

By Swaroop Indra Ramaswamy, Om Thakkar, Rajiv Mathews, Galen Andrew, H. Brendan McMahan, Franccoise Beaufays. 2020

97 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computer Science Applications, Large Language Models, Safety, Robustness & Interpretability

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Percy Liang
  2. Nicholas Carlini
  3. Florian Tramèr
  4. Luke S. Zettlemoyer
  5. Mohit Bansal
  6. Eric Wallace
  7. Dawn Song
  8. Yejin Choi

In Computer Science Applications

  1. Gautam Kamath
  2. Borja Balle
  3. Peter Kairouz
  4. Om Thakkar
  5. Abhradeep Thakurta
  6. Janardhan Kulkarni
  7. Sergey Yekhanin
  8. Dawn Song

In Large Language Models

  1. Eric Wallace
  2. Colin Raffel
  3. Daphne Ippolito
  4. Percy Liang
  5. Nicholas Carlini
  6. Florian Tramèr
  7. Matthew Jagielski
  8. Katherine Lee

In Safety, Robustness & Interpretability

  1. Nicholas Carlini
  2. Florian Tramèr
  3. Eric Wallace
  4. Reza Shokri
  5. Percy Liang
  6. Dawn Song
  7. Matthew Jagielski
  8. Daphne Ippolito

Citations in the corpus