TAG: Gradient Attack on Transformer-based Language Models
Jieren Deng, Yijue Wang, Li Ji et al. · 2021
Although distributed learning has increasingly gained attention in terms of effectively utilizing local devices for data privacy enhancement, recent studies show that publicly shared gradients in the training process can reveal the private training data (gradient leakage) to a third party.However, so far there hasn't been any systematic study of the gradient leakage mechanism of the Transformer based language models.In this paper, as the first attempt, we formulate the gradient attack problem on the Transformer-based language models and propose a gradient attack algorithm, TAG, to recover the local training data.Experimental results on Transformer, TinyBERT 4 , TinyBERT 6 , BERT BASE , and BERT LARGE using GLUE benchmark show that compared with DLG (Zhu et al., 2019), TAG works well on more weight distributions in recovering private training data and achieves 1.5× Recover Rate and 2.5× ROUGE-2 over prior methods without the need of ground truth label.TAG can obtain up to 88.9% tokens and up to 0.93 cosine similarity in token embeddings from private training data by attacking gradients on CoLA dataset.In addition, TAG is stronger than previous approaches on larger models, smaller dictionary size, and smaller input length.
Cited by 56 works. doi:10.18653/v1/2021.findings-emnlp.305 Open-access PDF
Authors
References
- AI-Assisted Pipeline for Dynamic Generation of Trustworthy Health Supplement Content at Scale
- Large Scale Distributed Deep Networks
- Attention Is All You Need
- GAN(Generative Adversarial Nets)
- Deep Contextualized Word Representations
- HISTORIAE, History of Socio-Cultural Transformation as Linguistic Data Science. A Humanities Use Case
- Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank
- ROUGE: A Package for Automatic Evaluation of Summaries
- DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
- Model Inversion Attacks that Exploit Confidence Information and Basic Countermeasures