mlsanityData to 14 Oct 2026

DAGER: Exact Gradient Inversion for Large Language Models

arXiv 2405.15586 ↗First posted 24 May 2024cs.LG cs.DCcited by 14

Not on the map. Why?

Abstract (arXiv)

Federated learning works by aggregating locally computed gradients from multiple clients, thus enabling collaborative training without sharing private client data. However, prior work has shown that the data can actually be recovered by the server using so-called gradient inversion attacks. While these attacks perform well when applied on images, they are limited in the text domain and only permit approximate reconstruction of small batches and short input sequences. In this work, we propose DAGER, the first algorithm to recover whole batches of input text exactly. DAGER leverages the low-rank structure of self-attention layer gradients and the discrete nature of token embeddings to efficiently check if a given token sequence is part of the client data. We use this check to exactly recover full batches in the honest-but-curious setting without any prior on the data for both encoder- and decoder-based architectures using exhaustive heuristic search and a greedy approach, respectively. We provide an efficient GPU implementation of DAGER and show experimentally that it recovers full batches of size up to 128 on large language models (LLMs), beating prior attacks in speed (20x at same batch size), scalability (10x larger batches), and reconstruction quality (ROUGE-1/2 > 0.99).

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 31 of its 44 references that are in the map. First posted on arXiv 24 May 2024.

Builds on

31 of 44 references.

References · 31

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  7. 2016Deep Learning with Differential Privacycited by 2,728
  8. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  9. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
  10. 2019Deep Leakage from Gradientscited by 1,021
  11. 2018Neural Network Acceptability Judgmentscited by 958
  12. 2020Inverting Gradients -- How easy is it to break privacy in federated learning?cited by 712
19 more
  1. 2020iDLG: Improved Deep Leakage from Gradientscited by 382
  2. 2024LoRA Learns Less and Forgets Lesscited by 328
  3. 2021See through Gradients: Image Batch Recovery via GradInversioncited by 326
  4. 2019Neural Legal Judgment Prediction in Englishcited by 209
  5. 2023Towards Building the Federated GPT: Federated Instruction Tuningcited by 185
  6. 2021When the Curious Abandon Honesty: Federated Learning Is Not Privatecited by 127
  7. 2021Robbing the Fed: Directly Obtaining Private Data in Federated Learning with Modified Modelscited by 108
  8. 2020R-GAP: Recursive Gradient Attack on Privacycited by 97
  9. 2023SLoRA: Federated Parameter Efficient Fine-Tuning of Language Modelscited by 93
  10. 2022Fishing for User Data in Large-Batch Federated Learning via Gradient Magnificationcited by 73
  11. 2022Auditing Privacy Defenses in Federated Learning via Generative Gradient Leakagecited by 72
  12. 2022Recovering Private Text in Federated Learning of Language Modelscited by 70
  13. 2021TAG: Gradient Attack on Transformer-based Language Modelscited by 63
  14. 2022LAMP: Extracting Text from Gradients with Language Model Priorscited by 54
  15. 2022Decepticons: Corrupted Transformers Breach Privacy in Federated Learning for Language Modelscited by 53
  16. 2021Towards General Deep Leakage in Federated Learningcited by 40
  17. 2021APRIL: Finding the Achilles' Heel on Privacy for Vision Transformerscited by 24
  18. 2024SPEAR:Exact Gradient Inversion of Batches in Federated Learningcited by 15
  19. 2023Beyond Gradient and Priors in Privacy Attacks: Leveraging Pooler Layer Inputs of Language Models in Federated Learningcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 7; 2026: 7.

14 papers.

Sort:

By area: