Skip to main content
QUICK REVIEW

[Paper Review] A Framework for Evaluating Gradient Leakage Attacks in Federated Learning

Wenqi Wei, Ling Liu|arXiv (Cornell University)|Apr 22, 2020
Privacy-Preserving Technologies in DataComputer Science43 references98 citations
TL;DR

The paper presents a principled framework to evaluate how gradient leakage attacks reconstruct private training data in federated learning, analyzing attack effectiveness, cost, and mitigations across hyperparameters and compression settings.

ABSTRACT

Federated learning (FL) is an emerging distributed machine learning framework for collaborative model training with a network of clients (edge devices). FL offers default client privacy by allowing clients to keep their sensitive data on local devices and to only share local training parameter updates with the federated server. However, recent studies have shown that even sharing local parameter updates from a client to the federated server may be susceptible to gradient leakage attacks and intrude the client privacy regarding its training data. In this paper, we present a principled framework for evaluating and comparing different forms of client privacy leakage attacks. We first provide formal and experimental analysis to show how adversaries can reconstruct the private local training data by simply analyzing the shared parameter update from local training (e.g., local gradient or weight update vector). We then analyze how different hyperparameter configurations in federated learning and different settings of the attack algorithm may impact on both attack effectiveness and attack cost. Our framework also measures, evaluates, and analyzes the effectiveness of client privacy leakage attacks under different gradient compression ratios when using communication efficient FL protocols. Our experiments also include some preliminary mitigation strategies to highlight the importance of providing a systematic attack evaluation framework towards an in-depth understanding of the various forms of client privacy leakage threats in federated learning and developing theoretical foundations for attack mitigation.

Motivation & Objective

  • Define a formal threat model for client privacy leakage in federated learning.
  • Propose an evaluation framework to quantify attack effectiveness and cost across FL configurations.
  • Analyze how attack configurations and FL hyperparameters influence reconstruction success and efficiency.
  • Explore preliminary mitigation strategies and emphasize the need for systematic attack evaluation.

Proposed method

  • Formally characterize CPL (client privacy leakage) attacks as gradient-based data reconstruction from shared updates.
  • Develop an attack pipeline (Algorithm 1) that converts weight updates to gradients and iteratively reconstructs private data using a dummy seed and gradient loss minimization.
  • Investigate attack initialization methods, termination conditions, gradient loss functions, and optimization strategies to assess impact on ASR and convergence.
  • Examine FL hyperparameters (batch size, data resolution, activation functions) and communication protocols (baseline vs. compression) on attack success and cost.
  • Propose evaluation metrics including attack success rate (ASR), MSE, SSIM, and attack iteration counts to quantify reconstruction quality and efficiency.

Experimental results

Research questions

  • RQ1How can gradient leakage attacks reconstruct private training data from shared updates in FL?
  • RQ2How do attack configurations (initial seed, termination criteria, loss functions, optimizers) affect attack success and efficiency?
  • RQ3How do FL hyperparameters (batch size, data resolution, activation functions) influence the effectiveness and cost of CPL attacks?
  • RQ4What is the impact of communication-efficient protocols on the viability of gradient leakage attacks?

Key findings

  • CPL attacks can reconstruct private training data from gradient updates with high ASR and high reconstruction quality across multiple datasets.
  • Attack effectiveness and convergence are highly sensitive to initialization methods, termination conditions, and optimization strategy, with patterned initializations often outperforming random ones.
  • L-BFGS and other optimizers can significantly influence attack success and efficiency, with some configurations yielding faster convergence.
  • Communication-efficient gradient updates do not necessarily prevent CPL attacks; CPL remains effective under certain compression ratios.
  • Activation functions influence gradient leakage, with ReLU potentially hindering attacks due to dying gradients, while Sigmoid/Tanh do not.
  • Compared to prior attacks, CPL-patterned achieves higher ASR with lower attack iterations on several datasets.

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.