[Paper Review] White-box vs Black-box: Bayes Optimal Strategies for Membership Inference
The paper derives Bayes-optimal membership inference strategies showing that black-box (loss-based) attacks can match white-box attacks under mild assumptions, and provides practical approximations that outperform prior methods on CIFAR-10 and ImageNet.
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.
Motivation & Objective
- Motivate and formalize membership inference under both white-box and black-box settings.
- Derive the Bayes-optimal membership inference strategy and show its dependence solely on loss, not model parameters.
- Develop practical, tractable approximations (MAST, MALT, MATT) and connect to differential privacy notions.
- Empirically validate attacks on CIFAR-10 and ImageNet, comparing with state-of-the-art methods.
Proposed method
- Model the training procedure as a posterior over parameters with temperature T (likelihood proportional to exp(-1/T sum loss)).
- Derive the Bayes-optimal membership probability M(θ, z1) using Bayesian reasoning, showing dependence only on the loss through a score s and a calibration term τ.
- Introduce explicit approximations to the optimal score: MAST (per-sample calibrations τ(z1)), MALT (constant τ), and MATT (Taylor-based approximation).
- Relate results to differential privacy, presenting ε-differential privacy and (ε, δ)-membership privacy guarantees and implications for training procedures.
- Translate the theory into practical attack algorithms and discuss baselines (0-1) and shadow-models.
- Evaluate attacks on logistic regression with CNN features (CIFAR-10), small CNNs, and large models (Imagenet) with varied data augmentation.
Experimental results
Research questions
- RQ1What is the Bayes-optimal strategy for membership inference given model parameters and a target sample?
- RQ2Does the Bayes-optimal attack depend on model parameters beyond the loss of the target sample?
- RQ3Can practical, tractable approximations (MAST, MALT, MATT) outperform existing membership inference approaches?
- RQ4How do data augmentation and model scale affect the strength of membership inference attacks on real-world datasets like CIFAR-10 and ImageNet?
Key findings
- The optimal membership inference depends only on the loss, not on the classifier parameters, implying white-box attacks offer no asymptotic advantage over black-box attacks.
- Three explicit approximations (MAST, MALT, MATT) yield practical attacks that surpass prior methods (0-1 baseline and shadow models) in several settings.
- On CIFAR-10 with a simple logistic regression, MALT and MATT achieve higher attack accuracy than 0-1 and shadow-model attacks, with MATT often strongest.
- On ImageNet (VGG-16 and ResNet-101), data augmentation reduces the attack gap, yet the Bayes-optimal and MALT attacks still attain substantial membership privacy breaches without augmentation (around 90% accuracy) and remain above 64% with augmentation.
- Experiments on CIFAR-10 and ImageNet demonstrate the effectiveness of the proposed attacks across model complexities and data regimes.
- The framework connects membership inference to differential privacy, providing explicit ε-differential privacy guarantees and ε, δ-membership privacy bounds under certain assumptions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.