Leveraging Adversarial Examples to Quantify Membership Information Leakage

Ganesh Del Grosso, Hamid Jalalzai, Georg Pichler, Catuscia Palamidessi, Pablo Piantanida

Introduction

Membership Inference Attacks (MIAs) represent a critical privacy threat in machine learning, where an adversary seeks to determine if a specific data point was included in a model's training set. Successful MIAs can lead to the exposure of sensitive information, such as medical records or private personal data. Traditionally, high-performing MIAs have been resource-intensive, requiring the training of multiple "shadow models" or access to representative auxiliary datasets. This paper introduces a novel, data-efficient approach that utilizes Adversarial Distance to quantify membership leakage using only the target model itself.

Methodology: The Adversarial Distance Metric

The core hypothesis of this work is that models exhibit a local "stiffness" or increased robustness around training samples due to overfitting. During training, the model's decision boundaries are optimized to minimize loss on specific points, effectively placing those points deeper within their respective class territories.

The Adversarial Distance attack pipeline, illustrating the process from target sample input to membership classification.

The Attack Pipeline

  1. Adversarial Generation: For a target sample $(x, y)$, a white-box adversarial attack (Auto-PGD) is employed to find the minimum perturbation $v$ required to change the model's prediction: $\text{argmax } \hat{g}_\theta(x) \neq \text{argmax } \hat{g}_\theta(x + v)$.
  2. Distance Measurement: The magnitude of this perturbation, $\hat{d} = \|v\|_p$, is calculated.
  3. Thresholding: The distance $\hat{d}$ is compared against a threshold $\tau$. Because training samples are more stable, a larger distance $\hat{d} > \tau$ indicates the sample is likely a Member, while a smaller distance $\hat{d} < \tau$ suggests it is a Non-member.

Experimental Setup

The researchers evaluated the Adversarial Distance attack on standard image recognition benchmarks, CIFAR-10 and CIFAR-100, using several popular computer vision architectures: AlexNet, ResNet, ResNext, and DenseNet. The attack was compared against several baselines, including black-box metrics (Softmax response) and complex white-box attacks that utilize gradient statistics and auxiliary training data.

Key Results

The proposed method consistently achieved state-of-the-art performance across various architectures without requiring any additional training data. On AlexNet and ResNet trained on CIFAR-100, the Adversarial Distance method reached an AUROC of approximately 84%.

ROC curves comparing Adversarial Distance (Adv. Dist.) against other membership inference baselines across AlexNet, DenseNet, ResNet, and ResNext architectures.

As shown in the ROC curves, the Adversarial Distance metric (purple line) significantly outperforms standard baselines like Softmax response and Modified Entropy (Mentr.). Notably, it achieves comparable or superior performance to complex data-driven attacks, such as the white-box attack by Nasr et al., despite its much simpler implementation and lower resource requirements.

Discussion and Limitations

This research demonstrates that adversarial examples, typically viewed as a security vulnerability, can be repurposed as a powerful diagnostic tool for privacy. The "effort" required to fool a model on a specific point serves as a direct proxy for how much the model has memorized that point.

However, the attack currently requires white-box access to the model's gradients to efficiently find the minimum perturbation. While query-based black-box adversarial attacks might offer a workaround, they would increase the attack's complexity. Additionally, while highly effective for image classification, the generalizability of this metric to other domains like Natural Language Processing (NLP) remains an area for future investigation. Future work should also explore how privacy-preserving techniques, such as Differential Privacy, impact the adversarial distance of training samples.

Summary updated

BibTeX
@inproceedings{grosso2022leveraging,
  author = {Ganesh Del Grosso and Hamid Jalalzai and Georg Pichler and Catuscia Palamidessi and Pablo Piantanida},
  title = {{Leveraging Adversarial Examples to Quantify Membership Information Leakage}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure