EMNLP Findings2021
TAG: Gradient Attack on Transformer-based Language Models
Jieren Deng, Yijue Wang, Ji Li, Chenghong Wang, Chao Shang, Hang Liu, Sanguthevar Rajasekaran, Caiwen Ding
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
27 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- LAMP: Extracting Text from Gradients with Language Model Priors cites Inverting Gradients - How easy is it to break privacy in federated learning?
- LAMP: Extracting Text from Gradients with Language Model Priors cites Recovering Private Text in Federated Learning of Language Models
- FwdLLM: Efficient Federated Finetuning of Large Language Models with Perturbed Inferences cites LAMP: Extracting Text from Gradients with Language Model Priors
- FwdLLM: Efficient Federated Finetuning of Large Language Models with Perturbed Inferences cites Federated Few-Shot Learning for Mobile NLP
- Inverting Gradients - How easy is it to break privacy in federated learning? cites Exploiting Unintended Feature Leakage in Collaborative Learning
- Recovering Private Text in Federated Learning of Language Models cites Exploiting Unintended Feature Leakage in Collaborative Learning
- Recovering Private Text in Federated Learning of Language Models cites Inverting Gradients - How easy is it to break privacy in federated learning?
- Recovering Private Text in Federated Learning of Language Models cites Language Models are Few-Shot Learners
- DAGER: Exact Gradient Inversion for Large Language Models cites LAMP: Extracting Text from Gradients with Language Model Priors
- DAGER: Exact Gradient Inversion for Large Language Models cites Inverting Gradients - How easy is it to break privacy in federated learning?
- DAGER: Exact Gradient Inversion for Large Language Models cites Recovering Private Text in Federated Learning of Language Models
- Federated Few-Shot Learning for Mobile NLP cites LAMP: Extracting Text from Gradients with Language Model Priors
- Federated Few-Shot Learning for Mobile NLP cites Language Models are Few-Shot Learners
Cited by top-tier papers27
- Recovering Private Text in Federated Learning of Language ModelsSamyak Gupta, Yangsibo Huang, Zexuan Zhong, Tianyu Gao et al.NeurIPS 2022 · 120 citations
- LAMP: Extracting Text from Gradients with Language Model PriorsMislav Balunovic, Dimitar I. Dimitrov, Nikola Jovanovic, Martin T. VechevNeurIPS 2022 · 100 citations
- FwdLLM: Efficient Federated Finetuning of Large Language Models with Perturbed InferencesMengwei Xu, Dongqi Cai, Yaozong Wu, Xiang Li et al.USENIX ATC 2024 · 78 citations
- DAGER: Exact Gradient Inversion for Large Language ModelsIvo Petrov, Dimitar I. Dimitrov, Maximilian Baader, Mark Niklas Müller et al.NeurIPS 2024 · 29 citations
- Federated Few-Shot Learning for Mobile NLPDongqi Cai, Shangguang Wang, Yaozong Wu, Felix Xiaozhu Lin et al.MobiCom 2023 · 28 citations
Builds on6
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Inverting Gradients - How easy is it to break privacy in federated learning?Jonas Geiping, Hartmut Bauermeister, Hannah Dröge, Michael MoellerNeurIPS 2020 · 1,822 citations
- TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang et al.EMNLP Findings 2020 · 1,787 citations
- Exploiting Unintended Feature Leakage in Collaborative LearningLuca Melis, Congzheng Song, Emiliano De Cristofaro, Vitaly ShmatikovS&P 2019 · 1,736 citations
- On the Sentence Embeddings from Pre-trained Language ModelsBohan Li, Hao Zhou, Junxian He, Mingxuan Wang et al.EMNLP 2020 · 538 citations
Related papers
- Uncovering Gradient Inversion Risks in Practical Language Model TrainingXinguo Feng, Zhongkui Ma, Zihan Wang, Eu Joe Chegne et al.CCS 2024 · 2 citations
- Reconstructing Training Data from Adapter-based Federated Large Language ModelsSilong Chen, Yuchuan Luo, Guilin Deng, Yi Liu et al.WWW 2026
- APRIL: Finding the Achilles' Heel on Privacy for Vision TransformersJiahao Lu, Xi Sheryl Zhang, Tianli Zhao, Xiangyu He et al.CVPR 2022
- Catastrophic Data Leakage in Vertical Federated LearningXiao Jin, Pin-Yu Chen, Chia-Yi Hsu, Chia-Mu Yu et al.NeurIPS 2021 · 28 citations
- Decepticons: Corrupted Transformers Breach Privacy in Federated Learning for Language ModelsLiam H. Fowl, Jonas Geiping, Steven Reich, Yuxin Wen et al.ICLR 2023 · 10 citations
