mlsanityData to 7 Oct 2026

How Does a Deep Learning Model Architecture Impact Its Privacy? A Comprehensive Study of Privacy Attacks on CNNs and Transformers

arXiv 2210.11049 ↗First posted 20 Oct 2022cs.CR cs.AI cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

As a booming research area in the past decade, deep learning technologies have been driven by big data collected and processed on an unprecedented scale. However, privacy concerns arise due to the potential leakage of sensitive information from the training data. Recent research has revealed that deep learning models are vulnerable to various privacy attacks, including membership inference attacks, attribute inference attacks, and gradient inversion attacks. Notably, the efficacy of these attacks varies from model to model. In this paper, we answer a fundamental question: Does model architecture affect model privacy? By investigating representative model architectures from convolutional neural networks (CNNs) to Transformers, we demonstrate that Transformers generally exhibit higher vulnerability to privacy attacks than CNNs. Additionally, we identify the micro design of activation layers, stem layers, and LN layers, as major factors contributing to the resilience of CNNs against privacy attacks, while the presence of attention modules is another main factor that exacerbates the privacy vulnerability of Transformers. Our discovery reveals valuable insights for deep learning models to defend against privacy attacks and inspires the research community to develop privacy-friendly model architectures.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 72 of its 112 references that are in the map. First posted on arXiv 20 Oct 2022.

Builds on

72 of 112 references.

References · 72

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  8. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  9. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  10. 2016Layer Normalizationcited by 5,579
  11. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  12. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
38 more
  1. 2014Going Deeper with Convolutionscited by 4,231
  2. 2014Deep Learning Face Attributes in the Wildcited by 3,679
  3. 2022A ConvNet for the 2020scited by 3,545
  4. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  5. 2016Wide Residual Networkscited by 3,057
  6. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  7. 2016Deep Learning with Differential Privacycited by 2,682
  8. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
  9. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  10. 2019Searching for MobileNetV3cited by 1,984
  11. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  12. 2019Deep Leakage from Gradientscited by 1,004
  13. 2016Deep Networks with Stochastic Depthcited by 973
  14. 2020Designing Network Design Spacescited by 954
  15. 2021Membership Inference Attacks From First Principlescited by 839
  16. 2021Going deeper with Image Transformerscited by 759
  17. 2020Inverting Gradients -- How easy is it to break privacy in federated learning?cited by 707
  18. 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 671
  19. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
  20. 2017Understanding the Effective Receptive Field in Deep Convolutional Neural Networkscited by 549
  21. 2018Exploiting Unintended Feature Leakage in Collaborative Learningcited by 509
  22. 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
  23. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
  24. 2021Early Convolutions Help Transformers See Bettercited by 395
  25. 2020Label-Only Membership Inference Attackscited by 371
  26. 2020iDLG: Improved Deep Leakage from Gradientscited by 367
  27. 2021See through Gradients: Image Batch Recovery via GradInversioncited by 320
  28. 2021Membership Inference Attacks on Machine Learning: A Surveycited by 306
  29. 2020Systematic Evaluation of Privacy Risks of Machine Learning Modelscited by 273
  30. 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
  31. 2021Enhanced Membership Inference Attacks against Machine Learning Modelscited by 237
  32. 2019Understanding and Improving Layer Normalizationcited by 213
  33. 2021Vision Transformers are Robust Learnerscited by 208
  34. 2020Information Leakage in Embedding Modelscited by 199
  35. 2021Are Transformers More Robust Than CNNs?cited by 187
  36. 2020When Machine Unlearning Jeopardizes Privacycited by 181
  37. 2022DaViT: Dual Attention Vision Transformerscited by 174
  38. 2020Membership Leakage in Label-Only Exposurescited by 156

50 most cited of 72 All 72 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 5; 2026: 3.

8 papers.