FLAT-Chat: A Word Recovery Attack on Federated Language Model Training

Qiongkai Xu, Jun Wang, Olga Ohrimenko, Trevor CohnOpenReview 2024 · Submission to ICLR 2024 · Rejected

Abstract

Gradient exchange is widely applied in collaborative training of machine learning models, including Federated Learning. Curious-but-honest participants could potentially infer the output labels in recently used training data by analyzing the latest gradient updates. Previous works mostly demonstrate the attack performance under constraint training settings, such as dozens of short sentences in a batch and a small output space for labels. In this work, we propose a novel gradient flattening attack on the last linear layer of a language model, which significantly improves the attacker's efficiency in inferring the words used in training. We validate the capability of the attack on two language generation tasks: machine translation and language modeling. The attack environment is scaled up to industrial settings of a large output vocabulary and realistic training batch sizes. To mitigate the negative impact of the new attack, we explore two defense methods and demonstrate that adding differential privacy with small noise could effectively defend against our new attack without degrading model utility.
BibTeX
@misc{xu2024flat,
  author = {Qiongkai Xu and Jun Wang and Olga Ohrimenko and Trevor Cohn},
  title = {{FLAT-Chat: A Word Recovery Attack on Federated Language Model Training}},
  year = {2024},
  url = {https://openreview.net/forum?id=GrunXMbdXY},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}

Loading related content...

Figure