[Paper Review] Privacy Analysis of Deep Learning in the Wild: Membership Inference Attacks against Transfer Learning
This paper presents the first systematic analysis of membership inference attacks against transfer learning models, demonstrating that such attacks remain highly effective even when the target model's architecture is unknown. Using shadow model training, the authors achieve up to 95% AUC in membership inference on fine-tuned ResNet20 models, revealing significant privacy risks in real-world ML deployments.
While being deployed in many critical applications as core components, machine learning (ML) models are vulnerable to various security and privacy attacks. One major privacy attack in this domain is membership inference, where an adversary aims to determine whether a target data sample is part of the training set of a target ML model. So far, most of the current membership inference attacks are evaluated against ML models trained from scratch. However, real-world ML models are typically trained following the transfer learning paradigm, where a model owner takes a pretrained model learned from a different dataset, namely teacher model, and trains her own student model by fine-tuning the teacher model with her own data. In this paper, we perform the first systematic evaluation of membership inference attacks against transfer learning models. We adopt the strategy of shadow model training to derive the data for training our membership inference classifier. Extensive experiments on four real-world image datasets show that membership inference can achieve effective performance. For instance, on the CIFAR100 classifier transferred from ResNet20 (pretrained with Caltech101), our membership inference achieves $95\%$ attack AUC. Moreover, we show that membership inference is still effective when the architecture of target model is unknown. Our results shed light on the severity of membership risks stemming from machine learning models in practice.
Motivation & Objective
- To investigate the effectiveness of membership inference attacks in the transfer learning setting, where models are fine-tuned from pretrained teacher models.
- To evaluate whether membership information from both teacher and student datasets is exposed under black-box access.
- To analyze the impact of frozen layers on attack performance in student models.
- To assess whether membership inference remains effective when the target model's architecture is unknown to the attacker.
Proposed method
- Employed shadow model training to generate data for training the membership inference classifier, mimicking the behavior of the target model.
- Conducted three distinct attack scenarios: attacking the teacher model, the student model, and transferring attack knowledge across different architectures.
- Used fine-tuning for transfer learning, with ResNet20 and VGG16 as student and teacher models, respectively, pre-trained on Caltech101 and fine-tuned on CIFAR100, Flowers102, and PubFig83.
- Evaluated attack performance using AUC (Area Under the ROC Curve), measuring the ability of the inference model to distinguish between training and non-training samples.
- Systematically varied the number of frozen layers in the student model to assess their impact on membership inference success.
- Explored transferability of attacks by training shadow models on different architectures (e.g., VGG16) than the target models (e.g., ResNet20).
Experimental results
Research questions
- RQ1Are membership inference attacks still effective in the transfer learning setting, particularly when the target model is a fine-tuned student model?
- RQ2How does the number of frozen layers in the student model affect the performance of membership inference attacks?
- RQ3Can membership inference attacks remain effective when the attacker does not know the architecture of the target model?
- RQ4Is membership information from the teacher model leaked through the student model during transfer learning?
Key findings
- Membership inference attacks achieved an AUC of 0.95 on the CIFAR100 dataset when attacking a student model fine-tuned from a ResNet20 teacher model pretrained on Caltech101.
- The attack performance on the student model significantly decreased as the number of frozen layers increased, with the most dramatic drop observed when all five blocks were frozen.
- When the shadow model and target model had different architectures (e.g., VGG16 shadow model attacking a ResNet20 target model), the attack AUC remained above 0.94, indicating strong transferability.
- Membership information from the teacher model was not leaked through the student model, as the student model’s parameters were updated using its own data.
- The student model inevitably leaked membership information about its own training data, even under high freezing regimes.
- The attack remained effective (AUC > 0.9) even when the attacker had no knowledge of the target model’s architecture, demonstrating robustness across architectural boundaries.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.