[Paper Review] ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models
This paper presents the first model- and data-independent membership inference attacks on machine learning models, demonstrating that effective attacks can be mounted with minimal assumptions—using just one shadow model or even no shadow models at all. The authors further propose two practical defenses, dropout and model stacking, that significantly reduce attack success while preserving model utility across eight diverse datasets.
Machine learning (ML) has become a core component of many real-world applications and training data is a key factor that drives current progress. This huge success has led Internet companies to deploy machine learning as a service (MLaaS). Recently, the first membership inference attack has shown that extraction of information on the training set is possible in such MLaaS settings, which has severe security and privacy implications. However, the early demonstrations of the feasibility of such attacks have many assumptions on the adversary, such as using multiple so-called shadow models, knowledge of the target model structure, and having a dataset from the same distribution as the target model's training data. We relax all these key assumptions, thereby showing that such attacks are very broadly applicable at low cost and thereby pose a more severe risk than previously thought. We present the most comprehensive study so far on this emerging and developing threat using eight diverse datasets which show the viability of the proposed attacks across domains. In addition, we propose the first effective defense mechanisms against such broader class of membership inference attacks that maintain a high level of utility of the ML model.
Motivation & Objective
- To demonstrate that membership inference attacks on machine learning models are feasible under significantly relaxed assumptions compared to prior work.
- To show that attacks can be effective even when the adversary lacks access to the target model's architecture or training data distribution.
- To develop and evaluate novel defense mechanisms that reduce membership inference risk without degrading model performance.
- To establish the generality and practicality of membership inference threats across diverse machine learning applications and datasets.
Proposed method
- Proposes a single-shadow-model attack that replaces the need for multiple shadow models, drastically reducing cost and complexity.
- Introduces a data transfer attack that uses a different dataset to train a shadow model, enabling attacks without access to the target model's training data distribution.
- Develops an unsupervised membership inference attack that requires no shadow models, relying only on the target model's output behavior.
- Applies dropout regularization during training to reduce model overfitting and thus membership leakage.
- Employs model stacking to combine multiple base models into a hierarchical ensemble, improving robustness against membership inference.
- Evaluates attack and defense performance across eight diverse datasets (image, text, tabular) using various ML models (CNNs, MLPs, etc.).
Experimental results
Research questions
- RQ1Can membership inference attacks be effective when only a single shadow model is used, rather than multiple models?
- RQ2To what extent can membership inference be performed without access to training data from the same distribution as the target model?
- RQ3Is it possible to perform membership inference in a completely unsupervised manner, without constructing any shadow models?
- RQ4Can defense mechanisms like dropout and model stacking effectively reduce membership inference success while maintaining high model accuracy?
Key findings
- Using a single shadow model achieves nearly identical attack performance (0.95 precision and 0.95 recall on CIFAR-100 with a CNN) compared to prior methods using 10 shadow models.
- Data transfer attacks—training shadow models on unrelated datasets—achieve strong membership inference performance, demonstrating broad applicability.
- The unsupervised attack, which requires no shadow models, still achieves effective membership inference, proving the threat is pervasive.
- The proposed defense using dropout reduces membership inference attack success rate significantly while maintaining high model accuracy on all evaluated datasets.
- Model stacking as a defense also effectively reduces attack performance, with minimal impact on the target model’s predictive utility.
- The combination of both defenses leads to a substantial reduction in membership inference success across all eight diverse datasets tested.
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.