Robbing the Fed: Directly Obtaining Private Data in Federated Learning with Modified Models

Liam Fowl, Jonas Geiping, Wojtek Czaja, Micah Goldblum, Tom Goldstein
10/25/2021
cs.LGcs.CR

Official code: JonasGeiping/breaching (325 stars, MIT, PyTorch, last commit 2026-01-24). 1 more implementation below.

Abstract

Federated learning has quickly gained popularity with its promises of increased user privacy and efficiency. Previous works have shown that federated gradient updates contain information that can be used to approximately recover user data in some situations. These previous attacks on user privacy have been limited in scope and do not scale to gradient updates aggregated over even a handful of data points, leaving some to conclude that data privacy is still intact for realistic training regimes. In this work, we introduce a new threat model based on minimal but malicious modifications of the shared model architecture which enable the server to directly obtain a verbatim copy of user data from gradient updates without solving difficult inverse problems. Even user data aggregated over large batches -- where previous methods fail to extract meaningful content -- can be reconstructed by these minimally modified models.

View on arXivView PDF

Code Implementations(2)

PyTorchMIT

Breaching privacy in federated learning scenarios for vision and text

32572PythonFeb 15, 20229 months agoMIT
decentralized-learningfederated-learningmachine-learningprivacy-auditpytorch+1 more
265Python, Jupyter NotebookDec 14, 20214 years ago

Similar Papers

Cite this paper

@article{fowl2021robbing,
  title  = {Robbing the Fed: Directly Obtaining Private Data in Federated Learning with Modified Models},
  author = {Liam Fowl and Jonas Geiping and Wojtek Czaja and Micah Goldblum and Tom Goldstein},
  year   = {2021},
  eprint = {2110.13057},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.13057}
}

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

Discussion