Deep Leakage from Gradients

Ligeng Zhu, Zhijian Liu, Song Han
6/21/2019
3,455 citations
cs.LGcs.CRstat.ML

No official code found. Best implementation: mit-han-lab/dlg (487 stars). 2 more below.

Abstract

Exchanging gradients is a widely used method in modern multi-node machine learning system (e.g., distributed training, collaborative learning). For a long time, people believed that gradients are safe to share: i.e., the training data will not be leaked by gradient exchange.

Show full abstract

However, we show that it is possible to obtain the private training data from the publicly shared gradients. We name this leakage as Deep Leakage from Gradient and empirically validate the effectiveness on both computer vision and natural language processing tasks. Experimental results show that our attack is much stronger than previous approaches: the recovery is pixel-wise accurate for images and token-wise matching for texts. We want to raise people's awareness to rethink the gradient's safety. Finally, we discuss several possible strategies to prevent such deep leakage. The most effective defense method is gradient pruning.

View on arXivView PDF

Code Implementations(3)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
mit-han-lab/dlgCommunity487–––
PatrickZH/Improved-Deep-Leakage-from-GradientsCommunity164Python–2021-03-04
Seung-B/Deep-Leakage-from-Gradients-with-iDLGCommunity5–––
mit-han-lab/dlgCommunity25%

[NeurIPS 2019] Deep Leakage From Gradients

487114

The code for "Improved Deep Leakage from Gradients" (iDLG).

16440PythonDec 30, 20195 years ago

Deep Leakage from Gradients(DLG) and Improved Deep Leakage from Gradeints(iDLG) jupyter notebook

50

Similar Papers

Cite this paper

@article{zhu2019deep,
  title  = {Deep Leakage from Gradients},
  author = {Ligeng Zhu and Zhijian Liu and Song Han},
  year   = {2019},
  eprint = {1906.08935},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.08935}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1906.08935.svg)](https://codeofpaper.com/paper/1906.08935)

Discussion