NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Membership Leakage in Label-Only Exposures

Zheng Li, Yang Zhang · DOI · OpenReview

TL;DR

This paper introduces "decision-based" membership inference attacks that can infer if a data point was used to train a machine learning model, even when only the model's final prediction (not its confidence score) is accessible. These attacks, particularly the "boundary attack," are shown to be effective and can bypass many existing defenses, highlighting a significant privacy risk in real-world ML deployments.

What Problem Does This Paper Address?

Machine learning (ML) models are increasingly used in sensitive applications like facial recognition and medical analysis. A critical privacy concern is "membership inference attacks," where an attacker tries to determine if a specific data point was part of the model's training set. Existing attacks primarily rely on the model's confidence scores (e.g., class probabilities). However, many real-world systems only expose the final predicted label, making these score-based attacks ineffective. This paper addresses the gap by developing and evaluating membership inference attacks that work solely with the model's final prediction, a more realistic and challenging threat model.

Methods

The paper proposes two novel "decision-based" membership inference attacks:

  • Transfer Attack: This attack leverages a "shadow model." The attacker first trains a shadow model on a separate dataset (the "shadow dataset") that shares the same distribution as the target model's training data. Crucially, the attacker uses the target model as an "oracle" to relabel the shadow dataset. The idea is that membership information learned by the target model can be transferred to the shadow model, allowing the attacker to perform a score-based attack locally on the shadow model.
  • Boundary Attack: This is a more stringent attack where the attacker has no access to a shadow dataset. Instead, they exploit the observation that ML models are more confident in their predictions for training data. The attacker perturbs input samples and observes how much perturbation is needed to change the model's final prediction. The intuition is that it's harder to "change the mind" of a model regarding a training data point, thus requiring larger perturbations. This magnitude of perturbation is used to infer membership.

Datasets

The authors evaluated their methods on four benchmark datasets:

  • CIFAR-10: A dataset of 32x32 color images in 10 classes.
  • CIFAR-100: Similar to CIFAR-10 but with 100 classes.
  • GTSRB (German Traffic Sign Recognition Benchmark): A dataset of traffic sign images, resized to 64x64.
  • Face: A dataset of human faces, with a subset of individuals having more than 40 images used for evaluation.

Key Insights and Ideas

  • Label-only exposures are vulnerable: The core insight is that even when only the final predicted label is available, membership inference attacks can still be successful, challenging the assumption that this limited output provides strong privacy.
  • Distance to decision boundary matters: The paper provides both quantitative and qualitative evidence that member samples are typically further away from the model's decision boundary in the output space compared to non-member samples. This geometric property is key to why these attacks work.
  • Transferability of membership information: The "transfer attack" demonstrates that membership signals can be transferred from a target model to a shadow model, even when the shadow model is trained on relabeled data.
  • Perturbation magnitude as a privacy signal: The "boundary attack" cleverly uses the amount of perturbation needed to flip a model's prediction as a proxy for membership, leveraging the model's inherent overfitting.

Key Results

  • High AUC scores: The proposed decision-based attacks (transfer and boundary) achieve high Area Under the Curve (AUC) scores, often outperforming previous score-based attacks. For example, on CIFAR-10 (M-5), the transfer attack achieved an AUC of 0.94, compared to 0.815 for the baseline.
  • Robustness to defenses: The decision-based attacks were evaluated against several defense mechanisms (generalization enhancement, differential privacy, confidence score perturbation). The paper found that these attacks could bypass most defenses, especially confidence score perturbation, unless heavy regularization was applied (which often degraded model accuracy).
  • Boundary attack effectiveness: The boundary attack, which requires no shadow dataset, also demonstrated strong performance, highlighting its practicality.
  • Loss metric superiority: For the transfer attack, using cross-entropy loss as the metric for membership inference yielded better results than using maximum confidence scores or entropy.

Limitations and Future Work

  • Defense effectiveness: While the attacks bypass most defenses, the paper notes that heavy regularization can mitigate them, albeit at the cost of model accuracy. This suggests a trade-off between privacy and utility.
  • Query costs: The boundary attack, while effective, relies on adversarial attack techniques that can require a significant number of queries to the target model. The paper investigates the impact of query count, showing that performance stabilizes after a certain threshold.
  • Future work: The authors suggest further exploration of defenses against these decision-based attacks and a deeper understanding of the relationship between overfitting and membership leakage. The paper also implicitly points to the need for more robust privacy-preserving ML techniques that can withstand these sophisticated attacks.

Summary updated

BibTeX
@inproceedings{li2020membership,
  author = {Zheng Li and Yang Zhang},
  title = {{Membership Leakage in Label-Only Exposures}},
  booktitle = {CCS},
  year = {2020},
  doi = {10.48550/arxiv.2007.15528},
}
Figure