A Theoretical Insight into Attack and Defense of Gradient Leakage in Transformer
Not on the map. Why?
Abstract (arXiv)
The Deep Leakage from Gradient (DLG) attack has emerged as a prevalent and highly effective method for extracting sensitive training data by inspecting exchanged gradients. This approach poses a substantial threat to the privacy of individuals and organizations alike. This research presents a comprehensive analysis of the gradient leakage method when applied specifically to transformer-based models. Through meticulous examination, we showcase the capability to accurately recover data solely from gradients and rigorously investigate the conditions under which gradient attacks can be executed, providing compelling evidence. Furthermore, we reevaluate the approach of introducing additional noise on gradients as a protective measure against gradient attacks. To address this, we outline a theoretical proof that analyzes the associated privacy costs within the framework of differential privacy. Additionally, we affirm the convergence of the Stochastic Gradient Descent (SGD) algorithm under perturbed gradients. The primary objective of this study is to augment the understanding of gradient leakage attack and defense strategies while actively contributing to the development of privacy-preserving techniques specifically tailored for transformer-based models. By shedding light on the vulnerabilities and countermeasures associated with gradient leakage, this research aims to foster advancements in safeguarding sensitive data and upholding privacy in the context of transformer-based models.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 93 of its 156 references that are in the map. First posted on arXiv 22 Nov 2023.
Builds on
93 of 156 references.
References · 93
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,592
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
38 more
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2020Reformer: The Efficient Transformercited by 1,658
- 2023PaLM 2 Technical Reportcited by 1,154
- 2018Federated Learning with Non-IID Datacited by 1,099
- 2018A Convergence Theory for Deep Learning via Over-Parameterizationcited by 784
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2023A Watermark for Large Language Modelscited by 667
- 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 655
- 2019Fine-Grained Analysis of Optimization and Generalization for Overparameterized Two-Layer Neural Networkscited by 562
- 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 477
- 2017Differentially Private Federated Learning: A Client Level Perspectivecited by 451
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 434
- 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 408
- 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
- 2020iDLG: Improved Deep Leakage from Gradientscited by 367
- 2014Memory Networkscited by 354
- 2019Differential Privacy Has Disparate Impact on Model Accuracycited by 316
- 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 247
- 2021Evaluating Gradient Inversion Attacks and Defenses in Federated Learningcited by 196
- 2020Threats to Federated Learning: A Surveycited by 171
- 2023Representational Strengths and Limitations of Transformerscited by 132
- 2023ProPILE: Probing Privacy Leakage in Large Language Modelscited by 127
- 2019Polylogarithmic width suffices for gradient descent to achieve arbitrarily small test error with shallow ReLU networkscited by 120
- 2023A Theory for Emergence of Complex Skills in Language Modelscited by 111
- 2023Fast Attention Requires Bounded Entriescited by 102
- 2021FedGNN: Federated Graph Neural Network for Privacy-Preserving Recommendationcited by 97
- 2023On Provable Copyright Protection for Generative Modelscited by 97
- 2017Recovery Guarantees for One-hidden-layer Neural Networkscited by 94
- 2023Identifying and Mitigating the Security Risks of Generative AIcited by 90
- 2017One Model To Learn Them Allcited by 86
- 2023How Do Transformers Learn Topic Structure: Towards a Mechanistic Understandingcited by 85
- 2023HyperAttention: Long-context Attention in Near-Linear Timecited by 85
- 2021Federated Learning: Opportunities and Challengescited by 83
- 2019Attention Interpretability Across NLP Taskscited by 71
50 most cited of 93 All 93 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 3.
6 papers.
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2024The Emerged Security and Privacy of LLM Agent: A Survey with Case Studiescited by 127
- 2025Integrating LLMs with ITS: Recent Advances, Potentials, Challenges, and Future Directionscited by 23
- 2025A Survey on Model Extraction Attacks and Defenses for Large Language Modelscited by 18
- 2025Video Latent Flow Matching: Optimal Polynomial Projections for Video Interpolation and Extrapolationcited by 11
- 2024Towards Infinite-Long Prefix in Transformercited by 10
- 2025A Survey on Model Extraction Attacks and Defenses for Large Language Models26 Jun 2025
- 2025Video Latent Flow Matching: Optimal Polynomial Projections for Video Interpolation and Extrapolation1 Feb 2025
- 2025Integrating LLMs with ITS: Recent Advances, Potentials, Challenges, and Future Directions8 Jan 2025
- 2024The Emerged Security and Privacy of LLM Agent: A Survey with Case Studies28 Jul 2024
- 2024Towards Infinite-Long Prefix in Transformer20 Jun 2024
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Ugly4 Dec 2023