mlsanityData to 7 Oct 2026

TAG: Gradient Attack on Transformer-based Language Models

arXiv 2103.06819 ↗First posted 11 Mar 2021cs.CRcited by 63

Not on the map. Why?

Abstract (arXiv)

Although federated 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 images (gradient leakage) to a third-party in computer vision. We have, however, no systematic understanding of the gradient leakage mechanism on 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 reconstruct the local training data. We develop a set of metrics to evaluate the effectiveness of the proposed attack algorithm quantitatively. Experimental results on Transformer, TinyBERT4, TinyBERT6, BERTBASE, and BERTLARGE using GLUE benchmark show that TAG works well on more weight distributions in reconstructing 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 90% data by attacking gradients in CoLA dataset. In addition, TAG has a stronger adversary on large models, small dictionary size, and small input length. We hope the proposed TAG will shed some light on the privacy leakage problem in Transformer-based NLP models.

Key facts. Cited by 63 papers in the map (data through 7 Oct 2026). First posted on arXiv 11 Mar 2021.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 1; 2022: 12; 2023: 14; 2024: 11; 2025: 13; 2026: 12.

63 papers.

Sort:

By area:

  1. 2023Large Language Model Alignment: A Surveycited by 241
  2. 2024Security and Privacy Challenges of Large Language Models: A Surveycited by 179
  3. 2024AirGapAgent: Protecting Privacy-Conscious Conversational Agentscited by 90
  4. 2024SPA-VL: A Comprehensive Safety Preference Alignment Dataset for Vision Language Modelcited by 82
  5. 2022Recovering Private Text in Federated Learning of Language Modelscited by 67
  6. 2023Locally Differentially Private Document Generation Using Zero Shot Promptingcited by 63
  7. 2022Decepticons: Corrupted Transformers Breach Privacy in Federated Learning for Language Modelscited by 52
  8. 2022LAMP: Extracting Text from Gradients with Language Model Priorscited by 52
  9. 2022A Survey on Gradient Inversion: Attacks, Defenses and Future Directionscited by 39
  10. 2022Gradient Obfuscation Gives a False Sense of Security in Federated Learningcited by 37
  11. 2023Privacy Implications of Retrieval-Based Language Modelscited by 31
  12. 2022Learning to Invert: Simple Adaptive Attacks for Gradient Inversion in Federated Learningcited by 30
38 more
  1. 2023Identifying and Mitigating Privacy Risks Stemming from Language Models: A Surveycited by 30
  2. 2022Text Revealer: Private Text Reconstruction via Model Inversion Attacks against Transformerscited by 28
  3. 2023Trojan Activation Attack: Red-Teaming Large Language Models using Activation Steering for Safety-Alignmentcited by 27
  4. 2022Data Leakage in Federated Averagingcited by 26
  5. 2024Text Embedding Inversion Security for Multilingual Language Modelscited by 26
  6. 2023FwdLLM: Efficient FedLLM using Forward Gradientcited by 25
  7. 2021APRIL: Finding the Achilles' Heel on Privacy for Vision Transformerscited by 23
  8. 2023A Survey of What to Share in Federated Learning: Perspectives on Model Utility, Privacy Leakage, and Communication Efficiencycited by 21
  9. 2022Federated Few-Shot Learning for Mobile NLPcited by 15
  10. 2023On the Trustworthiness Landscape of State-of-the-art Generative Models: A Survey and Outlookcited by 15
  11. 2025Depth Gives a False Sense of Privacy: LLM Internal States Inversioncited by 14
  12. 2022TabLeak: Tabular Data Leakage in Federated Learningcited by 13
  13. 2024DAGER: Exact Gradient Inversion for Large Language Modelscited by 12
  14. 2024Model Inversion Attacks: A Survey of Approaches and Countermeasurescited by 11
  15. 2023An Overview on Generative AI at Scale with Edge-Cloud Computingcited by 9
  16. 2024Noiseless Privacy-Preserving Decentralized Learningcited by 9
  17. 2025Synthetic Text Generation for Training Large Language Models via Gradient Matchingcited by 9
  18. 2025LLM Security: Vulnerabilities, Attacks, Defenses, and Countermeasurescited by 8
  19. 2023Understanding Deep Gradient Leakage via Inversion Influence Functionscited by 6
  20. 2023A Theoretical Insight into Attack and Defense of Gradient Leakage in Transformercited by 6
  21. 2023Beyond Gradient and Priors in Privacy Attacks: Leveraging Pooler Layer Inputs of Language Models in Federated Learningcited by 6
  22. 2025Uncovering Gradient Inversion Risks in Practical Language Model Trainingcited by 6
  23. 2025GRAIN: Exact Graph Reconstruction from Gradientscited by 5
  24. 2022Two Models are Better than One: Federated Learning Is Not Private For Google GBoard Next Word Predictioncited by 4
  25. 2023Temporal Gradient Inversion Attacks with Robust Optimizationcited by 4
  26. 2023Privacy Risks in Reinforcement Learning for Household Robotscited by 4
  27. 2024Seeing the Forest through the Trees: Data Leakage from Partial Transformer Gradientscited by 3
  28. 2022Refiner: Data Refining against Gradient Leakage Attacks in Federated Learningcited by 2
  29. 2024Privacy in LLM-based Recommendation: Recent Advances and Future Directionscited by 2
  30. 2025SVDefense: Effective Defense against Gradient Inversion Attacks via Singular Value Decompositioncited by 2
  31. 2026Mitigating Gradient Inversion Risks in Language Models via Token Obfuscationcited by 2
  32. 2025Empirical Calibration and Metric Differential Privacy in Language Modelscited by 1
  33. 2025Hear No Evil: Detecting Gradient Leakage by Malicious Servers in Federated Learningcited by 1
  34. 2026Reconstructing Training Data from Adapter-based Federated Large Language Modelscited by 1
  35. 2026From Prompts to Responses: Dual-Sided Data Leakage and Defense in Split Large Language Modelscited by 1
  36. 2026The Art of Mixology: Mixup-based Obfuscation for Privacy-Preserving Split Learning in Large Language Modelscited by 1
  37. 2026Privacy-Preserving Split Learning for Federated LLM Fine-Tuningcited by 1
  38. 2024Privacy Attack in Federated Learning is Not Easy: An Experimental Studycited by 0

50 most cited of 63 All 63 (JSON)