Skip to main content
QUICK REVIEW

[Paper Review] Quantifying Information Leakage from Gradients.

Fan Mo, Anastasia Borovykh|arXiv (Cornell University)|May 28, 2021
Adversarial Robustness in Machine LearningComputer Science52 references6 citations
TL;DR

This paper proposes novel information-theoretic metrics to quantify original and latent information leakage from deep neural network gradients in collaborative learning. Using gradient sensitivity and subspace distance, it reveals that first layers leak the most original data, while classifier layers leak the most latent attributes, and demonstrates that training hyperparameters like gradient aggregation can reduce leakage.

ABSTRACT

Sharing deep neural networks' gradients instead of training data could facilitate data privacy in collaborative learning. In practice however, gradients can disclose both private latent attributes and original data. Mathematical metrics are needed to quantify both original and latent information leakages from gradients computed over the training data. In this work, we first use an adaptation of the empirical $\mathcal{V}$-information to present an information-theoretic justification for the attack success rates in a layer-wise manner. We then move towards a deeper understanding of gradient leakages and propose more general and efficient metrics, using sensitivity and subspace distance to quantify the gradient changes w.r.t. original and latent information, respectively. Our empirical results, on six datasets and four models, reveal that gradients of the first layers contain the highest amount of original information, while the classifier/fully-connected layers placed after the feature extractor contain the highest latent information. Further, we show how training hyperparameters such as gradient aggregation can decrease information leakages. Our characterization provides a new understanding on gradient-based information leakages using the gradients' sensitivity w.r.t. changes in private information, and portends possible defenses such as layer-based protection or strong aggregation.

Motivation & Objective

  • To address the lack of mathematical metrics for quantifying information leakage from model gradients in collaborative learning.
  • To distinguish between leakage of original training data and private latent attributes in gradient updates.
  • To develop efficient, layer-wise metrics that capture sensitivity to private information changes.
  • To evaluate how training hyperparameters such as gradient aggregation affect information leakage.
  • To enable targeted defenses through layer-specific protection strategies based on leakage characterization.

Proposed method

  • Adapts empirical V-information to justify attack success rates in a layer-wise manner.
  • Proposes gradient sensitivity as a metric to quantify leakage of original data with respect to input changes.
  • Introduces subspace distance between gradient subspaces to measure leakage of latent attributes.
  • Employs these metrics across six datasets and four models to analyze layer-wise leakage patterns.
  • Evaluates the impact of gradient aggregation and other hyperparameters on reducing leakage.
  • Uses information-theoretic principles to validate the sensitivity and subspace distance measures.

Experimental results

Research questions

  • RQ1Which layers of a deep neural network leak the most original training data through gradients?
  • RQ2Which layers leak the most private latent attributes via gradient updates?
  • RQ3How do changes in input data affect gradient sensitivity, and what does this reveal about original information leakage?
  • RQ4To what extent can gradient aggregation reduce information leakage across layers?
  • RQ5Can subspace distance between gradient subspaces effectively measure latent attribute leakage?

Key findings

  • First layers of deep neural networks contain the highest amount of original information leakage, as measured by gradient sensitivity to input changes.
  • Classifier and fully-connected layers after the feature extractor exhibit the highest latent information leakage, as indicated by subspace distance between gradient subspaces.
  • Gradient aggregation during training significantly reduces both original and latent information leakage across all evaluated models and datasets.
  • The proposed sensitivity and subspace distance metrics effectively capture layer-wise leakage patterns, enabling fine-grained analysis.
  • The results suggest that layer-based protection strategies—such as differential privacy or gradient masking—could be prioritized in high-leakage layers.
  • Empirical evaluation across six datasets and four models confirms consistent leakage patterns, validating the robustness of the proposed metrics.

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.