Skip to main content
QUICK REVIEW

[Paper Review] Privacy-preserving Learning via Deep Net Pruning

Yangsibo Huang, Yushan Su|arXiv (Cornell University)|Mar 4, 2020
Privacy-Preserving Technologies in DataComputer Science69 references8 citations
TL;DR

This paper establishes a theoretical equivalence between magnitude-based neural network pruning and adding differentially private noise to hidden-layer activations, demonstrating that pruning can preserve privacy without significant accuracy loss. It proves that pruning a wide enough network layer is differentially private and shows experimentally that pruning preserves more privacy than traditional noise addition under the same accuracy constraints.

ABSTRACT

This paper attempts to answer the question whether neural network pruning can be used as a tool to achieve differential privacy without losing much data utility. As a first step towards understanding the relationship between neural network pruning and differential privacy, this paper proves that pruning a given layer of the neural network is equivalent to adding a certain amount of differentially private noise to its hidden-layer activations. The paper also presents experimental results to show the practical implications of the theoretical finding and the key parameter values in a simple practical setting. These results show that neural network pruning can be a more effective alternative to adding differentially private noise for neural networks.

Motivation & Objective

  • To investigate whether neural network pruning can serve as a privacy-preserving alternative to adding differentially private noise.
  • To establish a theoretical connection between pruning and differential privacy in deep learning.
  • To evaluate whether pruning can maintain data utility while reducing privacy leakage in distributed learning settings.
  • To compare the privacy-utility trade-off of pruning versus traditional noise addition in neural networks.

Proposed method

  • Theoretical analysis shows that magnitude-based pruning of a neural network layer is equivalent to injecting a specific amount of differentially private noise into its hidden activations.
  • The equivalence is proven under the condition that the network width is sufficiently large, leveraging concentration inequalities and sensitivity analysis.
  • The method uses a gradual pruning strategy where weights are pruned based on magnitude thresholds during training.
  • A differentially private noise injection mechanism is formally compared to pruning using the same privacy budget and accuracy targets.
  • Experiments on MNIST and CIFAR-10 datasets validate the theoretical findings using inversion attacks to measure privacy leakage.
  • The framework evaluates privacy via similarity between inverted images and original inputs, with lower similarity indicating better privacy.

Experimental results

Research questions

  • RQ1Is magnitude-based pruning of a neural network layer equivalent to adding differentially private noise to its activations?
  • RQ2Can pruning achieve differential privacy guarantees when the network width is sufficiently large?
  • RQ3How does the privacy-utility trade-off of pruning compare to that of adding traditional differentially private noise in deep neural networks?
  • RQ4To what extent does increasing pruning sparsity reduce the success of inversion attacks on hidden-layer representations?
  • RQ5Does pruning preserve more privacy than noise addition under the same accuracy constraints?

Key findings

  • Magnitude-based pruning of a wide neural network layer is provably differentially private, establishing a formal equivalence between pruning and noise injection.
  • With a network width of a few hundred, the theoretical equivalence between pruning and differential privacy holds under practical privacy budgets.
  • On MNIST and CIFAR-10, pruning preserves significantly more privacy than adding differentially private noise while maintaining the same model accuracy.
  • As pruning sparsity increases (e.g., up to 90%), inversion attacks on hidden-layer representations fail to reconstruct meaningful inputs, producing near-black images.
  • When model accuracy drops below 0.2, both pruning and noise addition yield similar privacy leakage, as the signal becomes dominated by noise.
  • The experimental results confirm that higher sparsity in pruning correlates with reduced similarity between inverted and original images, indicating stronger privacy protection.

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.