Skip to main content
QUICK REVIEW

[Paper Review] Quantification of the Leakage in Federated Learning

Zhaorui Li, Zhicong Huang|arXiv (Cornell University)|Oct 12, 2019
Privacy-Preserving Technologies in DataComputer Science12 references13 citations
TL;DR

This paper quantifies data leakage in federated approximated logistic regression, showing that an honest-but-curious participant can fully reconstruct other parties' binary training data in synchronized settings via gradient analysis. In asynchronous settings, only partial constraints on the data can be inferred, with leakage increasing with batch size and number of participants.

ABSTRACT

With the growing emphasis on users' privacy, federated learning has become more and more popular. Many architectures have been raised for a better security. Most architecture work on the assumption that data's gradient could not leak information. However, some work, recently, has shown such gradients may lead to leakage of the training data. In this paper, we discuss the leakage based on a federated approximated logistic regression model and show that such gradient's leakage could leak the complete training data if all elements of the inputs are either 0 or 1.

Motivation & Objective

  • To analyze the extent of data leakage in federated learning when using approximated logistic regression with binary inputs.
  • To investigate whether gradients in federated learning can leak complete training data, especially under additive homomorphic encryption and approximation schemes.
  • To quantify the leakage in both synchronized and asynchronous training settings for multiple parties.
  • To evaluate how hyperparameters like batch size and number of participants affect the risk of data reconstruction.
  • To propose practical defenses against gradient-based data leakage in federated learning systems.

Proposed method

  • Uses a federated approximated logistic regression model with sigmoid function approximated via Aono et al. (2016) to enable homomorphic encryption.
  • Models the training process as a two-party or multi-party setup where gradients are aggregated via secure aggregation (Aono et al., 2017).
  • Analyzes gradient leakage in synchronized mode by deriving linear equations from aggregated gradients to reconstruct input data matrices.
  • Applies linear programming to solve for binary input data from gradient and model parameter pairs, leveraging sparsity and binary constraints.
  • In asynchronous mode, derives constraints on data via matrix equations involving product terms of gradient and model updates, showing infinite solution spaces.
  • Empirically evaluates reconstruction time using the PuLP library on an Intel i5-8500 CPU, varying batch size and feature dimension.

Experimental results

Research questions

  • RQ1Can an honest-but-curious participant reconstruct the complete training data of other parties in federated logistic regression with binary inputs?
  • RQ2How does the synchronization mode (synchronized vs. asynchronous) affect the amount of information leaked through gradients?
  • RQ3What is the impact of batch size and number of participants on the feasibility and completeness of data reconstruction?
  • RQ4Can the gradient leakage be mitigated by modifying training procedures such as shuffling or selective gradient transmission?
  • RQ5Under what conditions does the system allow for unique data reconstruction, and when does it only yield partial constraints?

Key findings

  • In the synchronized setting, an honest-but-curious participant can fully reconstruct the training data of other parties using only gradient and model parameter pairs, provided the number of gradient samples exceeds the feature dimension.
  • The reconstruction is achieved by solving a system of linear equations derived from the gradient expression, leveraging the binary nature of inputs to reduce the problem to integer programming.
  • With increasing batch size, multiple distinct data batches can produce the same gradient, leading to ambiguity in reconstruction, as shown by the appearance of multiple matching batches in experiments.
  • In the asynchronous setting, the system of equations has infinitely many solutions, meaning only constraints on the data (not the data itself) can be inferred, significantly reducing the risk of full reconstruction.
  • The time to solve the reconstruction problem grows rapidly with feature dimension and batch size, with reconstruction taking over 1600 seconds for 11 samples and 20 features, indicating computational infeasibility for large-scale data.
  • Defenses such as data shuffling or selective gradient transmission can obscure the gradient and reduce the risk of leakage, especially in asynchronous settings.

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.