[Paper Review] Membership-Doctor: Comprehensive Assessment of Membership Inference Against Machine Learning Models
This paper introduces Membership-Doctor, a comprehensive benchmark framework for evaluating membership inference attacks and defenses across diverse models, datasets, and threat models. It reveals that Jensen-Shannon divergence of entropy/cross-entropy better predicts attack success than overfitting, and that data augmentation significantly weakens existing attacks while improving model utility—offering a new, effective defense strategy.
Machine learning models are prone to memorizing sensitive data, making them vulnerable to membership inference attacks in which an adversary aims to infer whether an input sample was used to train the model. Over the past few years, researchers have produced many membership inference attacks and defenses. However, these attacks and defenses employ a variety of strategies and are conducted in different models and datasets. The lack of comprehensive benchmark, however, means we do not understand the strengths and weaknesses of existing attacks and defenses. We fill this gap by presenting a large-scale measurement of different membership inference attacks and defenses. We systematize membership inference through the study of nine attacks and six defenses and measure the performance of different attacks and defenses in the holistic evaluation. We then quantify the impact of the threat model on the results of these attacks. We find that some assumptions of the threat model, such as same-architecture and same-distribution between shadow and target models, are unnecessary. We are also the first to execute attacks on the real-world data collected from the Internet, instead of laboratory datasets. We further investigate what determines the performance of membership inference attacks and reveal that the commonly believed overfitting level is not sufficient for the success of the attacks. Instead, the Jensen-Shannon distance of entropy/cross-entropy between member and non-member samples correlates with attack performance much better. This gives us a new way to accurately predict membership inference risks without running the attack. Finally, we find that data augmentation degrades the performance of existing attacks to a larger extent, and we propose an adaptive attack using augmentation to train shadow and attack models that improve attack performance.
Motivation & Objective
- To address the lack of a comprehensive benchmark for evaluating membership inference attacks and defenses across diverse models, datasets, and threat models.
- To systematically evaluate the performance of nine state-of-the-art attacks and six defenses under varied experimental conditions.
- To investigate the necessity of common threat model assumptions, such as same-architecture or same-distribution between shadow and target models.
- To identify intrinsic factors that determine attack effectiveness beyond overfitting, and to evaluate the impact of real-world data and data augmentation.
- To develop a modular, extensible framework—Membership-Doctor—that supports integration of new attacks, defenses, datasets, and models.
Proposed method
- The authors implement a modular framework, Membership-Doctor, that integrates nine membership inference attacks and six defenses across four model architectures (VGG11, MobileNetV2, ResNet18, ResNet34) and six benchmark datasets (CIFAR10, CIFAR100, Place20/40/60/80).
- They evaluate all combinations across 1,296 attack scenarios, systematically varying threat model assumptions, including shadow model architecture and data distribution.
- The framework enables measurement of attack performance under real-world conditions, including attacks using Internet-collected data instead of lab datasets.
- They compute the Jensen-Shannon divergence between entropy and cross-entropy distributions of member and non-member samples to predict attack success.
- They evaluate the impact of data augmentation on both attack and defense performance, proposing an adaptive attack that uses augmentation in shadow and attack model training.
- Hyperparameters of defenses are tuned to explore the privacy-utility trade-off, particularly for DP-SGD, MixupMMD, and label smoothing.
Experimental results
Research questions
- RQ1What is the best-performing membership inference attack and defense under a fixed experimental scenario?
- RQ2How do different assumptions in the threat model—such as same architecture or data distribution between shadow and target models—affect attack performance?
- RQ3What intrinsic factors, beyond overfitting, determine the success of membership inference attacks?
- RQ4How effective are membership inference attacks when using real-world data collected from the Internet?
- RQ5How does data augmentation affect the performance of both attacks and defenses, and can it be leveraged as a defense mechanism?
Key findings
- The NN-normal+label attack achieves the highest performance among all evaluated attacks, while metric-based attacks offer comparable results with lower computational cost.
- MixupMMD and DP-SGD are the most effective defenses, with MixupMMD preserving model utility better than other defenses.
- Assumptions such as same-architecture or same-distribution between shadow and target models are not necessary for effective attacks, challenging prior assumptions.
- The Jensen-Shannon divergence of entropy and cross-entropy between member and non-member samples correlates strongly with attack performance and can predict risk without running the attack.
- Data augmentation significantly degrades existing attacks and acts as a strong defense, improving both privacy and model utility.
- Adaptive attacks that use data augmentation in training shadow and attack models outperform standard attacks against models trained with data augmentation.
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.