[Paper Review] Quantifying Membership Inference Vulnerability via Generalization Gap and Other Model Metrics
This paper proposes a theoretically optimal, parameter-free Bayesian membership inference attack (BTTA) that leverages only the model's generalization gap—defined as the difference between training and test accuracy—along with label predictions. The attack achieves state-of-the-art performance comparable to shadow model attacks, demonstrating that generalization gap alone is a strong predictor of membership vulnerability.
We demonstrate how a target model's generalization gap leads directly to an effective deterministic black box membership inference attack (MIA). This provides an upper bound on how secure a model can be to MIA based on a simple metric. Moreover, this attack is shown to be optimal in the expected sense given access to only certain likely obtainable metrics regarding the network's training and performance. Experimentally, this attack is shown to be comparable in accuracy to state-of-art MIAs in many cases.
Motivation & Objective
- To develop a membership inference attack that operates under minimal assumptions, relying only on publicly available model statistics.
- To establish a theoretical upper bound on membership inference attack effectiveness based on generalization gap and other basic model metrics.
- To demonstrate that simple, deterministic attacks using generalization gap can match the performance of complex, trained shadow model attacks.
- To reveal which model characteristics are most informative for membership inference, thereby informing defense strategies.
- To compare the information content of state-of-the-art attacks with a theoretically optimal baseline, identifying what additional data may improve attack performance.
Proposed method
- Proposes the Bayesian Take-the-Typical Attack (BTTA), a deterministic black-box membership inference method that uses only the generalization gap and predicted labels.
- Derives a theoretically optimal attack strategy under the assumption of known training and test accuracy per class, and label proportions.
- Generalizes BTTA into a categorical Bayesian attack (CBTTA) that partitions data by true or predicted labels to improve accuracy.
- Uses Bayesian inference to compute the posterior probability that a data point belongs to the training set, based on its predicted label and the model’s generalization gap.
- Employs shadow models for empirical comparison, validating that the performance of state-of-the-art attacks is largely driven by the same generalization gap information.
- Performs ablation and comparison across multiple datasets (e.g., CIFAR-10) to evaluate attack accuracy, precision, and recall under varying training set sizes.
Experimental results
Research questions
- RQ1Can a membership inference attack be both theoretically optimal and practically effective using only the generalization gap and label predictions?
- RQ2How does the performance of a simple Bayesian attack compare to complex shadow model-based attacks when both rely on the same core information?
- RQ3To what extent does the generalization gap alone determine the vulnerability of a model to membership inference attacks?
- RQ4What information do state-of-the-art membership inference attacks actually exploit, and how does this compare to the minimal assumptions of the proposed method?
- RQ5Does partitioning the data by predicted or true labels significantly improve the accuracy of a Bayesian membership inference attack?
Key findings
- The proposed Bayesian Take-the-Typical Attack (BTTA) achieves an accuracy of 0.746 on CIFAR-10 with 10,000 training samples, matching the performance of the shadow model attack (SMA) at 0.793.
- The predicted label partition attack (PPL) and true label partition attack (PTL) achieve identical performance to BTTA, indicating no significant gain from partitioning in this setting.
- The shadow model attack's performance is comparable to the Bayesian attack, suggesting it primarily learns the same generalization gap information.
- As training set size increases, both the Bayesian attack and shadow model attack accuracy decrease, confirming that reduced overfitting (smaller generalization gap) reduces membership inference vulnerability.
- The recall of all attacks exceeds 0.95 across all data sets, indicating high sensitivity in detecting training set members.
- The attack remains effective even with minimal assumptions—only requiring training/test accuracy per class, label proportions, and model predictions—highlighting the predictive power of generalization gap.
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.