- Baseline Attack (Attacker has full knowledge of training and testing losses/confidence scores/probability vector of target model)
- Shadow Attack [1]
- LiRA [2]
- RMIA [3]
- Quantile Regression [4]
python main_baseline.py --choice loss
python main_baseline.py --choice conf
python main_baseline.py --choice prob
python main_shadow_attack.py
python main_lira.py
python main_rmia.py
python main_quantile.py
Target Model: CNN (6 layers deep)
Dataset: CIFAR-10
Target Model Train/Test Accuracy: 99.23%/79.54%
Shadow Model Architecture: Same as Target Model
Measurment Size: Measuring 10 samples from training set and 10 samples from testing set
Shadow Data Sampling: 0% from training, 20% from testing set
Num Shadow Models: 50
Shadow Architecture: Same as Target Model
Attack | ROC Curve |
---|---|
Baseline Attack Confidence | ![]() |
Baseline Attack Loss | ![]() |
Baseline Attack Probability | ![]() |
LIRA Attack | ![]() |
Quantile Attack | ![]() |
RMIA Attack | ![]() |
Shadow Attack | ![]() |
[1] Shokri, R., Stronati, M., Song, C. and Shmatikov, V., 2017, May. Membership inference attacks against machine learning models. In 2017 IEEE symposium on security and privacy (SP) (pp. 3-18). IEEE.
[2] Carlini, Nicholas, Steve Chien, Milad Nasr, Shuang Song, Andreas Terzis, and Florian Tramer. "Membership inference attacks from first principles." In 2022 IEEE Symposium on Security and Privacy (SP), pp. 1897-1914. IEEE, 2022.
[3] Zarifzadeh, Sajjad, Philippe Liu, and Reza Shokri. "Low-Cost High-Power Membership Inference Attacks." In Forty-first International Conference on Machine Learning. 2024.
[4] Bertran, Martin, Shuai Tang, Aaron Roth, Michael Kearns, Jamie H. Morgenstern, and Steven Z. Wu. "Scalable membership inference attacks via quantile regression." Advances in Neural Information Processing Systems 36 (2024).