Skip to main content
QUICK REVIEW

[Paper Review] Sampling Attacks: Amplification of Membership Inference Attacks by Repeated Queries

Shadi Rahimian, Tribhuvanesh Orekondy|arXiv (Cornell University)|Sep 1, 2020
Privacy-Preserving Technologies in DataComputer Science22 references26 citations
TL;DR

This paper introduces a novel sampling attack that enables effective membership inference on machine learning models using only predicted labels, bypassing the need for confidence scores. The attack achieves up to 100% of the performance of standard methods when scores are available, and demonstrates that even defenses like DP-SGD and output perturbation are effective, with DP-Logits offering strong privacy protection at minimal utility cost.

ABSTRACT

Machine learning models have been shown to leak information violating the privacy of their training set. We focus on membership inference attacks on machine learning models which aim to determine whether a data point was used to train the victim model. Our work consists of two sides: We introduce sampling attack, a novel membership inference technique that unlike other standard membership adversaries is able to work under severe restriction of no access to scores of the victim model. We show that a victim model that only publishes the labels is still susceptible to sampling attacks and the adversary can recover up to 100% of its performance compared to when posterior vectors are provided. The other sides of our work includes experimental results on two recent membership inference attack models and the defenses against them. For defense, we choose differential privacy in the form of gradient perturbation during the training of the victim model as well as output perturbation at prediction time. We carry out our experiments on a wide range of datasets which allows us to better analyze the interaction between adversaries, defense mechanism and datasets. We find out that our proposed fast and easy-to-implement output perturbation technique offers good privacy protection for membership inference attacks at little impact on utility.

Motivation & Objective

  • To address the privacy risk of membership inference attacks on machine learning models, especially when only labels are exposed.
  • To develop a practical membership inference technique that operates under the severe constraint of no access to model confidence scores or posteriors.
  • To evaluate the effectiveness of differential privacy defenses, particularly DP-SGD and post-ho output perturbation, in mitigating such attacks.
  • To provide a comprehensive benchmark of membership inference attacks and defenses across diverse datasets, promoting transparency and reproducibility in the field.

Proposed method

  • Proposes a sampling attack that uses repeated queries to a victim model’s label output to estimate the true posterior distribution.
  • Employs a perturbation scale $ p^* $ to generate synthetic data points and estimate model behavior through label responses.
  • Applies a statistical estimation technique based on the law of large numbers, where the average label response converges to the true posterior as query count increases.
  • Introduces DP-Logits, a post-ho output perturbation defense that adds noise to model logits before applying argmax, enabling defense on already-trained models.
  • Uses shadow models trained on different datasets to transfer optimal perturbation scales, reducing training cost for adversaries.
  • Employs a unified evaluation framework across 5 diverse datasets (CIFAR10, CIFAR100, Purchase100, Texas100, Location) to compare attack and defense performance.

Experimental results

Research questions

  • RQ1Can membership inference be performed effectively when only model labels are exposed, without access to confidence scores or posteriors?
  • RQ2How does the performance of a membership inference attack scale with the number of repeated queries to a victim model?
  • RQ3To what extent can post-hoc output perturbation defenses like DP-Logits mitigate membership inference attacks compared to training-time defenses like DP-SGD?
  • RQ4Can an adversary transfer a pre-trained perturbation scale from one dataset to effectively attack models on other datasets?
  • RQ5How do different datasets influence the effectiveness of membership inference attacks and defenses?

Key findings

  • The proposed sampling attack achieves up to 95% of the AUC performance of standard membership inference attacks when confidence scores are available, even with only label access.
  • For the Location dataset, the sampling attack achieves an AUC of 0.89 with label-only access, matching the performance of attacks with full posterior access.
  • Increasing the number of queries from 10 to 100 significantly improves attack performance, with diminishing returns beyond 100 queries.
  • DP-SGD reduces the attack AUC to near-chance levels (e.g., 0.51 on CIFAR10), demonstrating strong defense efficacy.
  • The DP-Logits post-hoc defense achieves comparable protection to DP-SGD with minimal impact on model utility, making it practical for legacy models.
  • Transferring the optimal perturbation scale $ p^* $ from one dataset to another enables effective attacks, reducing adversary training time without significant performance loss.

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.