Dropout is NOT All You Need to Prevent Gradient Leakage

Daniel Scheliga, Patrick Mäder, Marco Seeland
8/12/2022
cs.LGcs.AIcs.CR

Official code: dAI-SY-Group/DropoutInversionAttack (7 stars, Jupyter Notebook, last commit 2024-08-28).

Abstract

Gradient inversion attacks on federated learning systems reconstruct client training data from exchanged gradient information. To defend against such attacks, a variety of defense mechanisms were proposed.

Show full abstract

However, they usually lead to an unacceptable trade-off between privacy and model utility. Recent observations suggest that dropout could mitigate gradient leakage and improve model utility if added to neural networks. Unfortunately, this phenomenon has not been systematically researched yet. In this work, we thoroughly analyze the effect of dropout on iterative gradient inversion attacks. We find that state of the art attacks are not able to reconstruct the client data due to the stochasticity induced by dropout during model training. Nonetheless, we argue that dropout does not offer reliable protection if the dropout induced stochasticity is adequately modeled during attack optimization. Consequently, we propose a novel Dropout Inversion Attack (DIA) that jointly optimizes for client data and dropout masks to approximate the stochastic client model. We conduct an extensive systematic evaluation of our attack on four seminal model architectures and three image classification datasets of increasing complexity. We find that our proposed attack bypasses the protection seemingly induced by dropout and reconstructs client data with high fidelity. Our work demonstrates that privacy inducing changes to model architectures alone cannot be assumed to reliably protect from gradient leakage and therefore should be combined with complementary defense mechanisms.

View on arXivView PDF

Code Implementations(1)

Source code and demonstrations for our paper "Dropout is NOT All You Need to Prevent Gradient Leakage".

73Jupyter Notebook, PythonAug 18, 20222 years ago

Similar Papers

Cite this paper

@article{scheliga2022dropout,
  title  = {Dropout is NOT All You Need to Prevent Gradient Leakage},
  author = {Daniel Scheliga and Patrick Mäder and Marco Seeland},
  year   = {2022},
  eprint = {2208.06163},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.06163}
}

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

Discussion