How Does a Deep Learning Model Architecture Impact Its Privacy? A Comprehensive Study of Privacy Attacks on CNNs and Transformers
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
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2016Layer Normalizationcited by 5,579
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
38 more
- 2014Going Deeper with Convolutionscited by 4,231
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2022A ConvNet for the 2020scited by 3,545
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2016Wide Residual Networkscited by 3,057
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2016Deep Learning with Differential Privacycited by 2,682
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2019Searching for MobileNetV3cited by 1,984
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2019Deep Leakage from Gradientscited by 1,004
- 2016Deep Networks with Stochastic Depthcited by 973
- 2020Designing Network Design Spacescited by 954
- 2021Membership Inference Attacks From First Principlescited by 839
- 2021Going deeper with Image Transformerscited by 759
- 2020Inverting Gradients -- How easy is it to break privacy in federated learning?cited by 707
- 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 671
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
- 2017Understanding the Effective Receptive Field in Deep Convolutional Neural Networkscited by 549
- 2018Exploiting Unintended Feature Leakage in Collaborative Learningcited by 509
- 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
- 2021Early Convolutions Help Transformers See Bettercited by 395
- 2020Label-Only Membership Inference Attackscited by 371
- 2020iDLG: Improved Deep Leakage from Gradientscited by 367
- 2021See through Gradients: Image Batch Recovery via GradInversioncited by 320
- 2021Membership Inference Attacks on Machine Learning: A Surveycited by 306
- 2020Systematic Evaluation of Privacy Risks of Machine Learning Modelscited by 273
- 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
- 2021Enhanced Membership Inference Attacks against Machine Learning Modelscited by 237
- 2019Understanding and Improving Layer Normalizationcited by 213
- 2021Vision Transformers are Robust Learnerscited by 208
- 2020Information Leakage in Embedding Modelscited by 199
- 2021Are Transformers More Robust Than CNNs?cited by 187
- 2020When Machine Unlearning Jeopardizes Privacycited by 181
- 2022DaViT: Dual Attention Vision Transformerscited by 174
- 2020Membership Leakage in Label-Only Exposurescited by 156
50 most cited of 72 All 72 (JSON)
Built on by
Citing papers per year: 2025: 5; 2026: 3.
8 papers.
- 2025One-shot Federated Learning Methods: A Practical Guidecited by 6
- 2025Gradient Inversion Attacks on Parameter-Efficient Fine-Tuningcited by 3
- 2025Hypernetworks for Model-Heterogeneous Personalized Federated Learningcited by 1
- 2025Practical Feasibility of Gradient Inversion Attacks in Federated Learningcited by 1
- 2026Decoupling Generalizability and Membership Privacy Risks in Neural Networkscited by 1
- 2026Batch Normalization Amplifies Memorization and Privacy Riskscited by 1
- 2025Modeling Neural Networks with Privacy Using Neural Stochastic Differential Equationscited by 0
- 2026Learnability and Privacy Vulnerability are Entangled in a Few Critical Weightscited by 0
- 2026Batch Normalization Amplifies Memorization and Privacy Risks23 May 2026
- 2026Learnability and Privacy Vulnerability are Entangled in a Few Critical Weights13 Mar 2026
- 2026Decoupling Generalizability and Membership Privacy Risks in Neural Networks2 Feb 2026
- 2025Practical Feasibility of Gradient Inversion Attacks in Federated Learning27 Aug 2025
- 2025Hypernetworks for Model-Heterogeneous Personalized Federated Learning30 Jul 2025
- 2025Gradient Inversion Attacks on Parameter-Efficient Fine-Tuning4 Jun 2025
- 2025One-shot Federated Learning Methods: A Practical Guide13 Feb 2025
- 2025Modeling Neural Networks with Privacy Using Neural Stochastic Differential Equations12 Jan 2025