mlsanityData to 7 Oct 2026

Membership Inference Attacks and Defenses in Neural Network Pruning

arXiv 2202.03335 ↗First posted 7 Feb 2022cs.CR cs.LG stat.MLcited by 42

On the map: LLM safety and security → Membership inference attacks

Abstract (arXiv)

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.

Key facts. Cited by 42 papers in the map (data through 7 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 38 of its 62 references that are in the map. First posted on arXiv 7 Feb 2022.

Builds on

38 of 62 references.

Closest ancestors · 1

Same direction, newest first

  1. 2021Practical Blind Membership Inference Attack via Differential Comparisons5 Jan

Other references · 37

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  5. 2016Layer Normalizationcited by 5,579
  6. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  7. 2016Deep Learning with Differential Privacycited by 2,682
  8. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  9. 2017Non-local Neural Networkscited by 2,290
  10. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  11. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  12. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
25 more
  1. 2016Pruning Filters for Efficient ConvNetscited by 1,129
  2. 2018Dual Attention Network for Scene Segmentationcited by 1,001
  3. 2018Self-Attention Generative Adversarial Networkscited by 809
  4. 2019Once-for-All: Train One Network and Specialize it for Efficient Deploymentcited by 778
  5. 2017Learning Efficient Convolutional Networks through Network Slimmingcited by 673
  6. 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 656
  7. 2020What is the State of Neural Network Pruning?cited by 578
  8. 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
  9. 2020Label-Only Membership Inference Attackscited by 371
  10. 2017Adversarial Examples: Attacks and Defenses for Deep Learningcited by 350
  11. 2020Systematic Evaluation of Privacy Risks of Machine Learning Modelscited by 273
  12. 2020Comparing Rewinding and Fine-tuning in Neural Network Pruningcited by 238
  13. 2019MemGuard: Defending against Black-Box Membership Inference Attacks via Adversarial Examplescited by 183
  14. 2018Machine Learning with Membership Privacy using Adversarial Regularizationcited by 177
  15. 2019Stolen Memories: Leveraging Model Memorization for Calibrated White-Box Membership Inferencecited by 168
  16. 2019What Do Compressed Deep Neural Networks Forget?cited by 164
  17. 2020Characterising Bias in Compressed Modelscited by 162
  18. 2020Membership Leakage in Label-Only Exposurescited by 156
  19. 2019Privacy Risks of Securing Machine Learning Models against Adversarial Examplescited by 136
  20. 2021Membership Inference Attack on Graph Neural Networkscited by 81
  21. 2020EagleEye: Fast Sub-net Evaluation for Efficient Neural Network Pruningcited by 80
  22. 2019Membership Inference Attacks on Sequence-to-Sequence Models: Is My Data In Your Machine Translation System?cited by 68
  23. 2020Prune Responsiblycited by 20
  24. 2020Privacy Analysis of Deep Learning in the Wild: Membership Inference Attacks against Transfer Learningcited by 19
  25. 2019Effects of Differential Privacy and Data Skewness on Membership Inference Vulnerabilitycited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 5; 2023: 8; 2024: 11; 2025: 11; 2026: 7.

42 papers.

Sort:

By area:

  1. 2023No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device MLcited by 21
  2. 2022A Blessing of Dimensionality in Membership Inference through Regularizationcited by 17
  3. 2024Inf2Guard: An Information-Theoretic Framework for Learning Privacy-Preserving Representations against Inference Attackscited by 13
  4. 2024Model Inversion Attacks: A Survey of Approaches and Countermeasurescited by 11
  5. 2023PATROL: Privacy-Oriented Pruning for Collaborative Inference Against Model Inversion Attackscited by 9
  6. 2024Do Parameters Reveal More than Loss for Membership Inference?cited by 9
  7. 2022Safety and Performance, Why not Both? Bi-Objective Optimized Model Compression toward AI Software Deploymentcited by 8
  8. 2023GraphGuard: Detecting and Counteracting Training Data Misuse in Graph Neural Networkscited by 8
  9. 2024Edge Unlearning is Not "on Edge"! An Adaptive Exact Unlearning System on Resource-Constrained Devicescited by 8
  10. 2025Rectifying Privacy and Efficacy Measurements in Machine Unlearning: A New Inference Attack Perspectivecited by 8
  11. 2025Differentiation-Based Extraction of Proprietary Data from Fine-Tuned LLMscited by 6
  12. 2023When Fairness Meets Privacy: Exploring Privacy Threats in Fair Binary Classifiers via Membership Inference Attackscited by 5
30 more
  1. 2024Investigating Calibration and Corruption Robustness of Post-hoc Pruned Perception CNNs: An Image Classification Benchmark Studycited by 5
  2. 2025Trustworthy AI: Safety, Bias, and Privacy -- A Surveycited by 5
  3. 2023Artificial Intelligence for Web 3.0: A Comprehensive Surveycited by 4
  4. 2024Safety and Performance, Why Not Both? Bi-Objective Optimized Model Compression against Heterogeneous Attacks Toward AI Software Deploymentcited by 4
  5. 2024Center-Based Relaxed Learning Against Membership Inference Attackscited by 4
  6. 2022NeuGuard: Lightweight Neuron-Guided Defense against Membership Inference Attackscited by 3
  7. 2024Representation Magnitude has a Liability to Privacy Vulnerabilitycited by 3
  8. 2024TEESlice: Protecting Sensitive Neural Network Models in Trusted Execution Environments When Attackers have Pre-Trained Modelscited by 3
  9. 2025CompLeak: Deep Learning Model Compression Exacerbates Privacy Leakagecited by 3
  10. 2025Membership and Memorization in LLM Knowledge Distillationcited by 3
  11. 2022Efficient Pruning for Machine Learning Under Homomorphic Encryptioncited by 2
  12. 2024Discriminative Adversarial Unlearningcited by 2
  13. 2024Inference Attacks: A Taxonomy, Survey, and Promising Directionscited by 2
  14. 2025Do Fairness Interventions Come at the Cost of Privacy: Evaluations for Binary Classifierscited by 2
  15. 2025Federated Learning for Large Models in Medical Imaging: A Comprehensive Reviewcited by 2
  16. 2023Can sparsity improve the privacy of neural networks?cited by 1
  17. 2023Sparsity in neural networks can improve their privacycited by 1
  18. 2023Membership Inference Attacks on DNNs using Adversarial Perturbationscited by 1
  19. 2025Onboard Optimization and Learning: A Surveycited by 1
  20. 2025A Unified and Scalable Membership Inference Method for Visual Self-supervised Encoder via Part-aware Capabilitycited by 1
  21. 2025SoK: Data Minimization in Machine Learningcited by 1
  22. 2026DeepLeak: Privacy Enhancing Hardening of Model Explanations Against Membership Leakagecited by 1
  23. 2026Decoupling Generalizability and Membership Privacy Risks in Neural Networkscited by 1
  24. 2026Explanations Leak: Membership Inference with Differential Privacy and Active Learning Defensecited by 1
  25. 2022Fault Detection and Classification of Aerospace Sensors using a VGG16-based Deep Neural Networkcited by 0
  26. 2025Models in the Same Family are NOT Trust-Equivalentcited by 0
  27. 2026Learnability and Privacy Vulnerability are Entangled in a Few Critical Weightscited by 0
  28. 2026Reconstruction of Personally Identifiable Information from Proprietary Data in Supervised Fine-Tuned Modelscited by 0
  29. 2026When T2I Synthetic Data Backfires: Amplified Privacy Risks in Real-Synthetic Mix Trainingcited by 0
  30. 2026The Privacy Fallacy of Crowdsourced Fine-Tuning: Extracting Proprietary Data via Topic-Based Poisoningcited by 0