Lune

CVPR2021Top-tier venue

On the Difficulty of Membership Inference Attacks

Shahbaz Rezaei, Xin Liu

Abstract

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%

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

17 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Bag of Tricks for Training Data Extraction from Language Models cites Membership Inference Attacks Against Machine Learning Models
  • Bag of Tricks for Training Data Extraction from Language Models cites 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 cites 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 cites Membership Inference Attacks Against Machine Learning Models
  • ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models cites Machine Learning Models that Remember Too Much
  • The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks cites Membership Inference Attacks Against Machine Learning Models
  • The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks cites Evaluating Differentially Private Machine Learning in Practice
  • The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks cites Machine Learning Models that Remember Too Much
  • Privacy for Free: How does Dataset Condensation Help Privacy? cites Membership Inference Attacks Against Machine Learning Models
  • Attack-Aware Noise Calibration for Differential Privacy cites Membership Inference Attacks Against Machine Learning Models
  • Attack-Aware Noise Calibration for Differential Privacy cites Evaluating Differentially Private Machine Learning in Practice
  • Evaluating Differentially Private Machine Learning in Practice cites Membership Inference Attacks Against Machine Learning Models
  • Evaluating Differentially Private Machine Learning in Practice cites ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models
  • Machine Learning Models that Remember Too Much cites Membership Inference Attacks Against Machine Learning Models
  • M^4I: Multi-modal Models Membership Inference cites Membership Inference Attacks Against Machine Learning Models
  • M^4I: Multi-modal Models Membership Inference cites ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models
  • M^4I: Multi-modal Models Membership Inference cites Evaluating Differentially Private Machine Learning in Practice
  • On the Importance of Difficulty Calibration in Membership Inference Attacks cites Membership Inference Attacks Against Machine Learning Models
  • On the Importance of Difficulty Calibration in Membership Inference Attacks cites 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 cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers17

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

Builds on8

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

Related papers

  1. Practical Blind Membership Inference Attack via Differential ComparisonsBo Hui, Yuchen Yang, Haolin Yuan, Philippe Burlina et al.NDSS 2021
  2. Membership Inference Attacks With False Discovery Rate ControlChenxu Zhao, Wei Qian, Aobo Chen, Mengdi HuaiICCV 2025 · 2 citations
  3. Privacy Leaks by Adversaries: Adversarial Iterations for Membership Inference AttackJing Xue, Zhishen Sun, Haishan Ye, Luo Luo et al.AAAI 2026
  4. How Does Data Augmentation Affect Privacy in Machine Learning?Da Yu, Huishuai Zhang, Wei Chen, Jian Yin et al.AAAI 2021 · 67 citations
  5. Imitative Membership Inference AttackYuntao Du, Yuetian Chen, Hanshen Xiao, Bruno Ribeiro et al.USENIX Security 2026
Dusk over the sea between two cliffs drawn in fine vertical lines