Membership Inference Attacks on Machine Learning: A Survey

Hongsheng Hu, Zoran Salcic, Lichao Sun, Gillian Dobbie, Philip S. Yu, Xuyun Zhang

TL;DR

This paper provides the first comprehensive survey of membership inference attacks (MIAs) and defenses on machine learning models. It categorizes existing research, explains why these attacks are successful, and outlines promising future research directions, aiming to serve as a foundational resource for the community.

What Problem Does This Paper Address?

Machine learning (ML) models are increasingly used in sensitive domains like healthcare, where training data can contain private information. While ML models offer powerful capabilities, they can inadvertently "memorize" aspects of their training data. This memorization makes them vulnerable to Membership Inference Attacks (MIAs), where an attacker tries to determine if a specific data record was part of the model's training set. A successful MIA can lead to significant privacy breaches, such as inferring a person's medical condition from their clinical records used to train a diagnostic model. Despite the growing research in this area, there's a lack of a systematic overview, making it difficult for researchers to navigate the landscape of attacks, defenses, and their underlying principles.

Methods

This paper is a survey, so it doesn't introduce new algorithms but rather synthesizes existing work. The authors' primary methodological contribution is the creation of comprehensive taxonomies for both MIAs and their defenses.

  • Attack Taxonomy: MIAs are categorized based on:
  • Target Model Level: Classification, generative, regression, embedding models.
  • Adversarial Knowledge: Black-box (limited access) vs. White-box (full access).
  • Attack Approach: Classifier-based (training a separate classifier to distinguish members) vs. Metric-based (using specific metrics like prediction loss or confidence).
  • Training Paradigm: Centralized vs. Federated learning.
  • Domain: Natural Language Processing, Computer Vision, etc.
  • Defense Taxonomy: Defenses are categorized into four main types:
  • Confidence Score Masking
    • Regularization
    • Differential Privacy
    • Knowledge Distillation
  • Explanations: The paper also delves into why MIAs work, attributing their success to factors like model overfitting, the type of target model, and the diversity of training data.

Datasets

The paper lists numerous datasets used in the surveyed literature. Key datasets mentioned include:

  • Binary Data: Adult, Foursquare, Purchase-100, Texas-100
  • Image Data: MNIST, Fashion-MNIST, CIFAR-10, CIFAR-100, LFW, CelebA, IDC
  • Text Data: CSI, Review, Tweet EmoInt, Yelp-health, News, Weibo, Reddit comments
  • Graph Data: Pubmed, Citeseer, Cora
  • Other: ChestX-ray8, Cityscapes, BDD100K, Mapillary-Vistas

The authors also provide links to an open-source repository containing implementations of popular methods, aiming to facilitate the construction of benchmarks.

Key Insights and Ideas

  • Overfitting is Key: The primary driver behind successful MIAs is model overfitting. When a model performs significantly better on its training data than on unseen data, it has likely memorized specific training examples, making it vulnerable.
  • MIAs are Pervasive: MIAs are not limited to simple classification models; they are effective against a wide range of ML models, including generative models (like GANs and VAEs), embedding models, and regression models.
  • Black-Box Attacks are Dangerous: While white-box attacks have more information, black-box MIAs are often considered more dangerous because they can achieve significant privacy breaches with limited knowledge of the target model.
  • Label-Only Attacks are a Threat: Even when an attacker only has access to the predicted labels (not confidence scores), MIAs can still be effective, highlighting the pervasive nature of this privacy risk.
  • Federated Learning is Not Immune: While designed for privacy, federated learning (FL) environments are also susceptible to MIAs, and new attack vectors like "source inference attacks" are emerging.
  • Defense Trade-offs: Most defense mechanisms involve a trade-off between privacy guarantees and model utility (accuracy). Stronger privacy often leads to a degradation in model performance.

Key Results

As this is a survey paper, it doesn't present new experimental results in the traditional sense. Instead, it synthesizes findings from over 100 research papers. The key "results" are the comprehensive categorization and analysis of existing work, demonstrating:

  • The widespread effectiveness of MIAs across various ML models and settings.
  • The identification of key factors contributing to MIA success (overfitting, model type, data diversity).
  • A structured overview of existing defense strategies and their limitations.
  • The identification of significant research gaps and promising future directions.

Limitations and Future Work

Limitations:

  • Overfitting Assumption: Many existing MIA works rely on the assumption that target models are heavily overfitted. This assumption is becoming less practical as regularization techniques are more widely adopted, making MIAs on non-overfitted models a challenging but important area.
  • Unsupervised Learning Defenses: Defending MIAs on unsupervised learning models (like GANs, VAEs, and embedding models) is less explored due to the difficulty in perceiving and handling overfitting without labels.
  • Practical Deployment: The impact of the model's query interface (black-box vs. white-box) on the utility-privacy trade-off of defenses is often overlooked.

Future Work:

  • MIAs on Non-Overfitted Models: Developing and evaluating MIAs that are effective even when models are not heavily overfitted.
  • MIAs on Emerging Models: Investigating MIAs on self-supervised learning models (e.g., BERT, MoCo) and contrastive/meta-learning models.
  • Adversarial ML and MIA Synergy: Exploring the relationship between adversarial ML and MIAs, potentially leveraging adversarial techniques for stronger attacks or defenses.
  • Heterogeneous Federated Learning: Researching MIAs and defenses in heterogeneous FL settings, which are more realistic than homogeneous ones.
  • Exploiting MIA Information: Investigating new applications of MIA insights, such as auditing data contributions or improving adversarial example generation.
  • Practical Defense Design: Developing defense mechanisms that offer acceptable privacy-utility trade-offs, considering deployment constraints like query interfaces.
  • Federated Learning Defenses: Addressing the lack of specific defense techniques for MIAs in federated learning, especially for source inference attacks.

Summary updated

BibTeX
@article{hu2022membership,
  author = {Hongsheng Hu and Zoran Salcic and Lichao Sun and Gillian Dobbie and Philip S. Yu and Xuyun Zhang},
  title = {{Membership Inference Attacks on Machine Learning: A Survey}},
  journal = {ACM Computing Surveys},
  year = {2022},
  doi = {10.1145/3523273},
}
Figure