Membership Inference Attacks on DNNs using Adversarial Perturbations

Hassan Ali, Adnan Qayyum, Ala Al-Fuqaha, Junaid QadirarXiv 2023

TL;DR

This paper introduces Adversarial Membership Inference Attack (AMIA), a novel method that uses adversarial perturbations to identify if a specific data point was used to train a deep neural network. By leveraging both membership and non-membership information through shadow models, AMIA significantly outperforms existing state-of-the-art attacks on well-generalized datasets where traditional methods typically fail.

What Problem Does This Paper Address?

Membership Inference (MI) attacks aim to determine whether a specific "subject" (a data point) was part of a target model's training set. This is a critical privacy concern, especially in sensitive domains like healthcare.

Existing high-confidence attacks, such as the Likelihood Ratio Attack (LiRA) and Enhanced MI Attack (EMIA), rely heavily on the target model overfitting its training data. When a model overfits, it behaves noticeably differently on training data versus unseen data. However, on simpler datasets like MNIST or Fashion-MNIST, models generalize well, leaving a very small "accuracy gap" for attackers to exploit. As shown in Figure 2, while CIFAR-10 shows a significant gap, MNIST and Fashion-MNIST models are much more tightly fit to the underlying distribution.

Fig. 2: Comparing the train and test accuracies of the CNN on the three datasets considered in this paper.

Consequently, current attacks often yield a 0% True Positive Rate (TPR) at low False Positive Rates (FPR) on these simpler datasets. The authors set out to bridge this gap by finding new ways to extract membership signals even from well-generalized models.

Methods

The authors first propose a unified three-stage framework for MI attacks: Preparation (training shadow models), Indication (computing a membership likelihood score), and Decision (applying a threshold).

Building on this, they introduce two primary innovations:

  1. AMIA (Adversarial Membership Inference Attack): Unlike previous methods that only use "non-member" shadow models (models trained without the target subject), AMIA uses both member and non-member shadow models. It computes a small adversarial perturbation ($\Delta x$) for each subject. This perturbation is optimized to maximize the loss difference between the member and non-member shadow models. Because adversarial perturbations are often transferable, this optimized noise helps "expose" the membership signal when applied to the target model.
  2. Augmented Indicators: The authors found that simply looking at the loss of a single point is insufficient. They propose analyzing the Gaussian neighborhood of a subject—perturbing the input with random noise and ensembling the resulting likelihood ratios—to capture local loss landscape trends that signal membership.

The flow of these methods compared to previous work is illustrated in Figure 1.

Flow diagram comparing EMIA and the proposed AMIA, showing the addition of member shadow models and adversarial perturbation optimization.

Finally, they introduce a new metric, Running TPR Average (RTA), which provides a more stable evaluation of attack performance in the critical low-FPR (high-confidence) region.

Datasets

The attacks were evaluated on three standard benchmarks:

  • CIFAR-10: A complex dataset where models typically overfit.
  • MNIST: A simple handwritten digit dataset where models generalize very well.
  • Fashion-MNIST: A dataset of clothing items, serving as a slightly more complex alternative to MNIST.

For all experiments, the target models were trained on only half of the available training data to simulate standard MI attack evaluation settings.

Key Insights and Ideas

  • Membership Info is Essential: Previous "efficient" attacks like EMIA skipped training member shadow models to save compute. This paper shows that for well-generalized models, the signal provided by "what a model looks like with this data" is indispensable.
  • Adversarial Noise as a Privacy Probe: Adversarial perturbations aren't just for fooling classifiers; they can be used to find the "seams" in a model's decision boundary that are unique to its training data.
  • Transferability is a Double-Edged Sword: The same property that allows adversarial attacks to work across different models also allows MI attacks to transfer from shadow models to a black-box target model.
  • Neighborhood Analysis: The loss at a single point can be noisy. By looking at the "loss landscape" (the Gaussian neighborhood), attackers can find more robust signals of membership.

Key Results

The proposed attacks show a dramatic improvement in high-confidence membership detection:

  • Fashion-MNIST: At a 1% FPR (99% confidence), both LiRA and EMIA achieved 0% TPR. AMIA achieved 6% TPR, and E-AMIA (an enhanced version) reached 8% TPR.
  • MNIST: Similarly, while LiRA and EMIA hovered near 0-2% TPR, AMIA achieved 6% TPR at 1% FPR.
  • Transferability: AMIA proved to be the most transferable attack. Variables optimized for one target model were highly effective when used to attack completely different "unknown" models trained on the same data.
  • Robustness to Defense: AMIA remained more effective than previous attacks even when the target model was trained using Differential Privacy (DP-SGD), a standard defense against MI attacks.

Limitations and Future Work

  • Computational Cost: While more efficient than the "online" version of LiRA, AMIA still requires training multiple shadow models, which can be resource-intensive for very large DNNs.
  • Data Distribution Assumption: Like most MI attacks, AMIA assumes the attacker has access to data sampled from the same distribution as the target model's training set.
  • Future Direction: The authors suggest developing Universal Adversarial Membership Inference Attacks (U-AMIA), which would use a single universal perturbation for all subjects to further improve computational efficiency.

Summary updated

BibTeX
@misc{ali2023membership,
  author = {Hassan Ali and Adnan Qayyum and Ala Al-Fuqaha and Junaid Qadir},
  title = {{Membership Inference Attacks on DNNs using Adversarial Perturbations}},
  year = {2023},
  eprint = {2307.05193},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.05193},
}
Figure