Skip to main content
QUICK REVIEW

[Paper Review] Membership Inference Attacks and Defenses in Neural Network Pruning

Xiaoyong Yuan, Lan Zhang|arXiv (Cornell University)|Feb 7, 2022
Adversarial Robustness in Machine LearningComputer Science11 citations
TL;DR

This paper presents the first comprehensive analysis of membership inference attacks (MIA) in pruned neural networks, demonstrating that pruning increases privacy leakage due to heightened prediction divergence between members and non-members. It proposes a self-attention-based MIA that outperforms existing attacks and introduces a KL-divergence-based defense that reduces privacy risk while preserving model sparsity and accuracy.

ABSTRACT

Neural network pruning has been an essential technique to reduce the computation and memory requirements for using deep neural networks for resource-constrained devices. Most existing research focuses primarily on balancing the sparsity and accuracy of a pruned neural network by strategically removing insignificant parameters and retraining the pruned model. Such efforts on reusing training samples pose serious privacy risks due to increased memorization, which, however, has not been investigated yet. In this paper, we conduct the first analysis of privacy risks in neural network pruning. Specifically, we investigate the impacts of neural network pruning on training data privacy, i.e., membership inference attacks. We first explore the impact of neural network pruning on prediction divergence, where the pruning process disproportionately affects the pruned model's behavior for members and non-members. Meanwhile, the influence of divergence even varies among different classes in a fine-grained manner. Enlighten by such divergence, we proposed a self-attention membership inference attack against the pruned neural networks. Extensive experiments are conducted to rigorously evaluate the privacy impacts of different pruning approaches, sparsity levels, and adversary knowledge. The proposed attack shows the higher attack performance on the pruned models when compared with eight existing membership inference attacks. In addition, we propose a new defense mechanism to protect the pruning process by mitigating the prediction divergence based on KL-divergence distance, whose effectiveness has been experimentally demonstrated to effectively mitigate the privacy risks while maintaining the sparsity and accuracy of the pruned models.

Motivation & Objective

  • To investigate the impact of neural network pruning on training data privacy, particularly regarding membership inference attacks.
  • To analyze how pruning affects prediction divergence between training members and non-members across different classes.
  • To develop a novel, effective membership inference attack tailored for pruned models.
  • To propose a defense mechanism that mitigates privacy leakage during pruning without sacrificing model sparsity or accuracy.

Proposed method

  • The authors analyze prediction divergence in pruned models, showing disproportionate behavior shifts for members versus non-members.
  • They design a self-attention mechanism to enhance membership inference by modeling inter-sample relationships in logits.
  • The defense method uses KL-divergence minimization between member and non-member prediction distributions to reduce distinguishability.
  • The defense is integrated during the retraining phase of pruning to maintain model performance.
  • Experiments compare the attack and defense across multiple pruning strategies, sparsity levels, and adversary knowledge settings.
  • The attack and defense are evaluated on standard vision benchmarks with controlled ablations to isolate privacy effects.

Experimental results

Research questions

  • RQ1How does neural network pruning affect the susceptibility of models to membership inference attacks?
  • RQ2Does pruning induce class-specific differences in prediction divergence that can be exploited by membership inference attacks?
  • RQ3Can a self-attention mechanism improve membership inference performance on pruned models compared to existing attacks?
  • RQ4To what extent can KL-divergence-based mitigation reduce privacy leakage in pruned models without degrading accuracy or sparsity?
  • RQ5How does the performance of the proposed attack and defense vary under different pruning strategies and levels of adversary knowledge?

Key findings

  • The proposed self-attention membership inference attack achieves higher attack success rates than eight existing MIA methods on pruned models.
  • Pruning increases prediction divergence between members and non-members, especially in a class-dependent manner, amplifying privacy risks.
  • The KL-divergence-based defense significantly reduces membership inference attack success rates while maintaining model sparsity and accuracy.
  • The defense is effective across various pruning methods and sparsity levels, demonstrating robustness to different pruning regimes.
  • The attack performance is higher on pruned models than on their unpruned counterparts, indicating that pruning exacerbates privacy leakage.
  • Experiments show that the defense maintains model accuracy within 1% of baseline models even at high sparsity levels.

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.