Lune

CVPR2021顶会

On the Difficulty of Membership Inference Attacks

Shahbaz Rezaei, Xin Liu

摘要

Recent studies propose membership inference (MI) attacks on deep models, where the goal is to infer if a sample has been used in the training process. Despite their apparent success, these studies only report accuracy, precision, and recall of the positive class (member class). Hence, the performance of these attacks have not been clearly reported on negative class (non-member class). In this paper, we show that the way the MI attack performance has been reported is often misleading because they suffer from high false positive rate or false alarm rate (FAR) that has not been reported. FAR shows how often the attack model mislabel non-training samples (non-member) as training (member) ones. The high FAR makes MI attacks fundamentally impractical, which is particularly more significant for tasks such as membership inference where the majority of samples in reality belong to the negative (non-training) class. Moreover, we show that the current MI attack models can only identify the membership of misclassified samples with mediocre accuracy at best, which only constitute a very small portion of training samples.

We analyze several new features that have not been comprehensively explored for membership inference before, including distance to the decision boundary and gradient norms, and conclude that deep models' responses are mostly similar among train and non-train samples. We conduct several experiments on image classification tasks, including MNIST, CIFAR-10, CIFAR-100, and Ima-geNet, using various model architecture, including LeNet, AlexNet, ResNet, etc. We show that the current stateof-the-art MI attacks cannot achieve high accuracy and low FAR at the same time, even when the attacker is given several advantages. The source code is available at https://github.com/shrezaei/MI-Attack. Dataset Cifar-100 Cifar-100 Cifar-100 Model AlexNet ResNet DenseNet Target Model Train Acc. 92.48% 95.80% 99.98% Target Model Test Acc. 43.87% 74.14% 82.83% Attack Acc. 82.62% 79.13% 87.74% Attack Precision 91.90% 87.3% 86.97% Attack Recall 86.92% 87.85% 98.29% Attack F1 89.23% 87.45% 92.26% Attack Bal. Acc. 74.02% 61.70% 66.65% Attack FAR 38.89% 64.45% 65.00%

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Bag of Tricks for Training Data Extraction from Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
  • Bag of Tricks for Training Data Extraction from Language Models 引用了 ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models
  • Bag of Tricks for Training Data Extraction from Language Models 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
  • ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models 引用了 Membership Inference Attacks Against Machine Learning Models
  • ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models 引用了 Machine Learning Models that Remember Too Much
  • The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Membership Inference Attacks Against Machine Learning Models
  • The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Evaluating Differentially Private Machine Learning in Practice
  • The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Machine Learning Models that Remember Too Much
  • Privacy for Free: How does Dataset Condensation Help Privacy? 引用了 Membership Inference Attacks Against Machine Learning Models
  • Attack-Aware Noise Calibration for Differential Privacy 引用了 Membership Inference Attacks Against Machine Learning Models
  • Attack-Aware Noise Calibration for Differential Privacy 引用了 Evaluating Differentially Private Machine Learning in Practice
  • Evaluating Differentially Private Machine Learning in Practice 引用了 Membership Inference Attacks Against Machine Learning Models
  • Evaluating Differentially Private Machine Learning in Practice 引用了 ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models
  • Machine Learning Models that Remember Too Much 引用了 Membership Inference Attacks Against Machine Learning Models
  • M^4I: Multi-modal Models Membership Inference 引用了 Membership Inference Attacks Against Machine Learning Models
  • M^4I: Multi-modal Models Membership Inference 引用了 ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models
  • M^4I: Multi-modal Models Membership Inference 引用了 Evaluating Differentially Private Machine Learning in Practice
  • On the Importance of Difficulty Calibration in Membership Inference Attacks 引用了 Membership Inference Attacks Against Machine Learning Models
  • On the Importance of Difficulty Calibration in Membership Inference Attacks 引用了 ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models
  • On the Importance of Difficulty Calibration in Membership Inference Attacks 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper17

  1. On the Importance of Difficulty Calibration in Membership Inference AttacksLauren Watson, Chuan Guo, Graham Cormode, Alexandre SablayrollesICLR 2022 · 189 次引用
  2. Privacy for Free: How does Dataset Condensation Help Privacy?Tian Dong, Bo Zhao, Lingjuan LyuICML 2022 · 154 次引用
  3. Bag of Tricks for Training Data Extraction from Language ModelsWeichen Yu, Tianyu Pang, Qian Liu, Chao Du 等ICML 2023 · 87 次引用
  4. M4^4I: Multi-modal Models Membership InferencePingyi Hu, Zihan Wang, Ruoxi Sun, Hu Wang 等NeurIPS 2022 · 39 次引用
  5. Attack-Aware Noise Calibration for Differential PrivacyBogdan Kulynych, Juan Felipe Gómez, Georgios Kaissis, Flávio P. Calmon 等NeurIPS 2024 · 23 次引用

它引用的 Paper8

  1. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 次引用
  2. The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos 等USENIX Security 2019 · 1,386 次引用
  3. ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning ModelsAhmed Salem, Yang Zhang, Mathias Humbert, Pascal Berrang 等NDSS 2019 · 1,141 次引用
  4. Evaluating Differentially Private Machine Learning in PracticeBargav Jayaraman, David EvansUSENIX Security 2019 · 586 次引用
  5. Machine Learning Models that Remember Too MuchCongzheng Song, Thomas Ristenpart, Vitaly ShmatikovCCS 2017 · 582 次引用

相关 Paper

  1. Practical Blind Membership Inference Attack via Differential ComparisonsBo Hui, Yuchen Yang, Haolin Yuan, Philippe Burlina 等NDSS 2021
  2. Membership Inference Attacks With False Discovery Rate ControlChenxu Zhao, Wei Qian, Aobo Chen, Mengdi HuaiICCV 2025 · 2 次引用
  3. Privacy Leaks by Adversaries: Adversarial Iterations for Membership Inference AttackJing Xue, Zhishen Sun, Haishan Ye, Luo Luo 等AAAI 2026
  4. How Does Data Augmentation Affect Privacy in Machine Learning?Da Yu, Huishuai Zhang, Wei Chen, Jian Yin 等AAAI 2021 · 67 次引用
  5. Imitative Membership Inference AttackYuntao Du, Yuetian Chen, Hanshen Xiao, Bruno Ribeiro 等USENIX Security 2026
黄昏的海面,两侧是细线勾勒的悬崖