Evaluating Gradient Inversion Attacks and Defenses in Federated Learning

Yangsibo Huang, Samyak Gupta, Zhao Song, Kai Li, Sanjeev Arora
11/30/2021
cs.CRcs.LG
federated

Official code: Princeton-SysML/GradAttack (206 stars, Python, MIT, last commit 2024-05-07).

Abstract

Gradient inversion attack (or input recovery from gradient) is an emerging threat to the security and privacy preservation of Federated learning, whereby malicious eavesdroppers or participants in the protocol can recover (partially) the clients' private data. This paper evaluates existing attacks and defenses.

Show full abstract

We find that some attacks make strong assumptions about the setup. Relaxing such assumptions can substantially weaken these attacks. We then evaluate the benefits of three proposed defense mechanisms against gradient inversion attacks. We show the trade-offs of privacy leakage and data utility of these defense methods, and find that combining them in an appropriate manner makes the attack less effective, even under the original strong assumptions. We also estimate the computation cost of end-to-end recovery of a single image under each evaluated defense. Our findings suggest that the state-of-the-art attacks can currently be defended against with minor data utility loss, as summarized in a list of potential strategies. Our code is available at: https://github.com/Princeton-SysML/GradAttack.

View on arXivView PDF

Code Implementations(1)

MIT

GradAttack is a Python library for easy evaluation of privacy risks in public gradients in Federated Learning, as well as corresponding mitigation strategies.

20639PythonNov 30, 20212 years agoMIT

Similar Papers

Cite this paper

@article{huang2021evaluating,
  title  = {Evaluating Gradient Inversion Attacks and Defenses in Federated Learning},
  author = {Yangsibo Huang and Samyak Gupta and Zhao Song and Kai Li and Sanjeev Arora},
  year   = {2021},
  eprint = {2112.00059},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.00059}
}

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/2112.00059.svg)](https://codeofpaper.com/paper/2112.00059)

Discussion