Skip to main content
QUICK REVIEW

[Paper Review] Enhanced Membership Inference Attacks against Machine Learning Models

Jiayuan Ye, Aadyaa Maddi|arXiv (Cornell University)|Nov 18, 2021
Adversarial Robustness in Machine LearningComputer Science45 references13 citations
TL;DR

This paper proposes a formal hypothesis testing framework for membership inference attacks that unifies prior work and enables the design of stronger attacks using reference models. It introduces Attack R and D, which achieve higher true positive rates with lower false positive rates by minimizing attacker uncertainty, and demonstrates superior performance over prior methods like LiRA in both accuracy and computational efficiency on CIFAR-10 and Wide ResNet models.

ABSTRACT

How much does a machine learning algorithm leak about its training data, and why? Membership inference attacks are used as an auditing tool to quantify this leakage. In this paper, we present a comprehensive extit{hypothesis testing framework} that enables us not only to formally express the prior work in a consistent way, but also to design new membership inference attacks that use reference models to achieve a significantly higher power (true positive rate) for any (false positive rate) error. More importantly, we explain extit{why} different attacks perform differently. We present a template for indistinguishability games, and provide an interpretation of attack success rate across different instances of the game. We discuss various uncertainties of attackers that arise from the formulation of the problem, and show how our approach tries to minimize the attack uncertainty to the one bit secret about the presence or absence of a data point in the training set. We perform a extit{differential analysis} between all types of attacks, explain the gap between them, and show what causes data points to be vulnerable to an attack (as the reasons vary due to different granularities of memorization, from overfitting to conditional memorization). Our auditing framework is openly accessible as part of the extit{Privacy Meter} software tool.

Motivation & Objective

  • To address the inconsistency and incomparability of existing membership inference attacks due to differing assumptions about attacker uncertainty.
  • To formalize membership inference as a hypothesis testing problem with a unified framework for consistent comparison and interpretation of attack performance.
  • To identify and minimize sources of uncertainty in membership inference attacks, particularly the secret bit indicating data membership in the training set.
  • To explain why different attacks succeed or fail by analyzing leakage at varying granularities, from overfitting to conditional memorization.
  • To develop a systematic methodology that enables stronger, more efficient attacks and provides actionable insights for privacy risk assessment.

Proposed method

  • Formalize membership inference as a random experiment in an indistinguishability game, where the adversary must determine if a data point is a member of the training set based on model outputs.
  • Introduce a template for hypothesis testing that captures attacker uncertainty and enables consistent comparison of attack power across different methods.
  • Design Attack R and Attack D using reference models to estimate the threshold for membership inference, minimizing uncertainty to a single bit (in/out).
  • Use differential analysis to compare attacks and identify the causes of vulnerability, including overfitting, memorization of hard examples, and influence of latent neighbors.
  • Leverage reference models trained on subsets of data to estimate the conditional leakage of a target record, improving accuracy and reducing computational cost.
  • Implement the framework in the Privacy Meter tool, enabling reproducible and auditable privacy risk assessment for machine learning models.

Experimental results

Research questions

  • RQ1How can membership inference attacks be formally unified under a consistent hypothesis testing framework to enable fair comparison and interpretation?
  • RQ2What sources of uncertainty in the attacker's knowledge limit the performance of membership inference attacks, and how can they be minimized?
  • RQ3Why do different attacks perform differently in inferring membership, and what types of memorization (e.g., overfitting, conditional memorization) contribute to vulnerability?
  • RQ4How does the composition of the remaining training dataset, particularly the presence of latent neighbors, affect the vulnerability of a specific data record?
  • RQ5Can a systematic methodology produce attacks that outperform state-of-the-art methods like LiRA in both accuracy and efficiency?

Key findings

  • Attack R achieves a higher AUC score than LiRA (Carlini et al., 2022) on CIFAR-10 with Wide ResNet, while maintaining similar true positive rates at low false positive rates.
  • Attack D outperforms LiRA in AUC and achieves a lower false positive rate at a fixed high true positive rate, due to its consideration of unknown target dataset influence.
  • The proposed framework reduces computational cost by requiring only 2n OUT models, compared to n OUT and n IN models per point in LiRA, resulting in an amortized cost that is (k+1)/2 times lower for k target points.
  • Differential analysis reveals that vulnerability is caused by multiple simultaneous factors, including overfitting, memorization of hard examples, and conditional memorization influenced by latent neighbors.
  • The loss of a vulnerable record is significantly lower on models where it is correctly predicted as a member, while the loss on random records remains stable regardless of prediction correctness.
  • Latent neighbors of a vulnerable record have a stronger influence on its vulnerability than the overall training dataset, suggesting that local data structure is more predictive than global data composition.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.