Label-Only Membership Inference Attacks

Christopher A. Choquette-Choo, Florian Tramer, Nicholas Carlini, Nicolas Papernot
7/28/2020
cs.CRcs.LGstat.ML

Official code: cchoquette/membership-inference (69 stars, Python, last commit 2021-09-11).

Abstract

Membership inference attacks are one of the simplest forms of privacy leakage for machine learning models: given a data point and model, determine whether the point was used to train the model. Existing membership inference attacks exploit models' abnormal confidence when queried on their training data.

Show full abstract

These attacks do not apply if the adversary only gets access to models' predicted labels, without a confidence measure. In this paper, we introduce label-only membership inference attacks. Instead of relying on confidence scores, our attacks evaluate the robustness of a model's predicted labels under perturbations to obtain a fine-grained membership signal. These perturbations include common data augmentations or adversarial examples. We empirically show that our label-only membership inference attacks perform on par with prior attacks that required access to model confidences. We further demonstrate that label-only attacks break multiple defenses against membership inference attacks that (implicitly or explicitly) rely on a phenomenon we call confidence masking. These defenses modify a model's confidence scores in order to thwart attacks, but leave the model's predicted labels unchanged. Our label-only attacks demonstrate that confidence-masking is not a viable defense strategy against membership inference. Finally, we investigate worst-case label-only attacks, that infer membership for a small number of outlier data points. We show that label-only attacks also match confidence-based attacks in this setting. We find that training models with differential privacy and (strong) L2 regularization are the only known defense strategies that successfully prevents all attacks. This remains true even when the differential privacy budget is too high to offer meaningful provable guarantees.

View on arXivView PDF

Code Implementations(1)

Code for the paper: Label-Only Membership Inference Attacks

696PythonOct 13, 20205 years ago

Similar Papers

Cite this paper

@article{choquettechoo2020labelonly,
  title  = {Label-Only Membership Inference Attacks},
  author = {Christopher A. Choquette-Choo and Florian Tramer and Nicholas Carlini and Nicolas Papernot},
  year   = {2020},
  eprint = {2007.14321},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.14321}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2007.14321.svg)](https://codeofpaper.com/paper/2007.14321)

Discussion