Fishing for User Data in Large-Batch Federated Learning via Gradient Magnification

Yuxin Wen, Jonas Geiping, Liam Fowl, Micah Goldblum, Tom Goldstein
2/1/2022
cs.LGcs.CRcs.CV
federated

Official code: JonasGeiping/breaching (328 stars, Python, MIT, PyTorch, last commit 2026-01-24).

Abstract

Federated learning (FL) has rapidly risen in popularity due to its promise of privacy and efficiency. Previous works have exposed privacy vulnerabilities in the FL pipeline by recovering user data from gradient updates.

Show full abstract

However, existing attacks fail to address realistic settings because they either 1) require toy settings with very small batch sizes, or 2) require unrealistic and conspicuous architecture modifications. We introduce a new strategy that dramatically elevates existing attacks to operate on batches of arbitrarily large size, and without architectural modifications. Our model-agnostic strategy only requires modifications to the model parameters sent to the user, which is a realistic threat model in many scenarios. We demonstrate the strategy in challenging large-scale settings, obtaining high-fidelity data extraction in both cross-device and cross-silo federated learning.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Breaching privacy in federated learning scenarios for vision and text

32872PythonFeb 15, 202210 months agoMIT
decentralized-learningfederated-learningmachine-learningprivacy-auditpytorch+1 more

Similar Papers

Cite this paper

@article{wen2022fishing,
  title  = {Fishing for User Data in Large-Batch Federated Learning via Gradient Magnification},
  author = {Yuxin Wen and Jonas Geiping and Liam Fowl and Micah Goldblum and Tom Goldstein},
  year   = {2022},
  eprint = {2202.00580},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.00580}
}

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

Discussion