White-box vs Black-box: Bayes Optimal Strategies for Membership Inference
Alexandre Sablayrolles, Matthijs Douze, Yann Ollivier, Cordelia, Schmid, Herv\'e J\'egou

TL;DR
This paper derives the optimal strategy for membership inference attacks, showing that black-box and white-box attacks are equally effective, and introduces improved methods that outperform existing approaches across various models and datasets.
Contribution
The paper establishes the Bayes optimal strategy for membership inference and demonstrates that black-box attacks are as effective as white-box attacks, providing new approximation methods.
Findings
Optimal attacks depend only on the loss function.
Black-box attacks are as effective as white-box attacks.
Proposed methods outperform state-of-the-art in diverse settings.
Abstract
Membership inference determines, given a sample and trained parameters of a machine learning model, whether the sample was part of the training set. In this paper, we derive the optimal strategy for membership inference with a few assumptions on the distribution of the parameters. We show that optimal attacks only depend on the loss function, and thus black-box attacks are as good as white-box attacks. As the optimal strategy is not tractable, we provide approximations of it leading to several inference methods, and show that existing membership inference methods are coarser approximations of this optimal strategy. Our membership attacks outperform the state of the art in various settings, ranging from a simple logistic regression to more complex architectures and datasets, such as ResNet-101 and Imagenet.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Machine Learning in Healthcare · Anomaly Detection Techniques and Applications
MethodsLogistic Regression
