Skip to main content
QUICK REVIEW

[Paper Review] Robbing the Fed: Directly Obtaining Private Data in Federated Learning with Modified Models

Liam Fowl, Jonas Geiping|arXiv (Cornell University)|Oct 25, 2021
Privacy-Preserving Technologies in DataComputer Science32 citations
TL;DR

The paper shows a malicious server can embed imprint modules in neural networks to reconstruct verbatim user data from aggregated gradient updates, even with large batch sizes and standard aggregation defenses.

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.

Motivation & Objective

  • Demonstrate that small architectural modifications can breach user privacy in federated learning.
  • Introduce the imprint module to embed data-recovery capabilities in gradient updates.
  • Quantify how imprint modules enable exact or near-exact reconstruction of user data across batch sizes.
  • Evaluate the attack on large-scale data (ImageNet) and discuss potential defenses.

Proposed method

  • Define a threat model with a malicious server that modifies model architecture and parameters.
  • Introduce the imprint module consisting of a linear layer with bias followed by ReLU and a carefully constructed W_* and b_* to encode data statistics.
  • Show that gradient differences across adjacent imprint bins recover individual data points (equation and logic in Section 3).
  • Provide a proposition giving a lower bound on the number of perfectly recovered samples as a function of batch size n and imprint bins k (Proposition 1).
  • Demonstrate practical attacks including full-batch recovery on ImageNet with ResNet-18 + imprint (128 bins) achieving high PSNR.
  • Analyze one-shot attacks that leak a single data point from averaged updates of very large batches (up to 16,384 images).
  • Discuss variants such as flexible placement, multiple local updates, and data modalities beyond images.

Experimental results

Research questions

  • RQ1Can minimal modifications to model architecture enable a server to recover private user data from gradient updates?
  • RQ2How does the imprint module enable exact or near-exact reconstruction of inputs across different batch sizes and network placements?
  • RQ3What are the quantitative limits (e.g., number of bins k, batch size n) for perfect data recovery under this attack?
  • RQ4How do these attacks perform relative to existing gradient inversion methods on large-scale models and datasets?
  • RQ5What defense strategies can mitigate imprint-based privacy breaches in federated learning?

Key findings

  • An imprint module can enable exact recovery of substantial portions of user data from gradient updates, with higher recovery as the number of bins k increases.
  • For a batch of size 64 on ImageNet with 128 imprint bins in front of ResNet-18, the method yields nearly perfect reconstructions (average PSNR 75.75).
  • A one-shot attack can leak a verbatim data point from aggregates of 16,384 images using only two bins and a small parameter addition (~1% of total parameters).
  • The attack is robust to placement within the network and to some extent to local update steps, and data modalities beyond images are also affected.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.