SHAPr: An Efficient and Versatile Membership Privacy Risk Metric for Machine Learning
Preprint
Abstract
Data used to train machine learning (ML) models can be sensitive. Membership inference attacks (MIAs), attempting to determine whether a particular data record was used to train an ML model, risk violating membership privacy. ML model builders need a principled definition of a metric to quantify the membership privacy risk of (a) individual training data records, (b) computed independently of specific MIAs, (c) which assesses susceptibility to different MIAs, (d) can be used for different applications, and (e) efficiently. None of the prior membership privacy risk metrics simultaneously meet all these requirements. We present SHAPr, a membership privacy metric based on Shapley values which is a leave-one-out (LOO) technique, originally intended to measure the contribution of a training data record on model utility. We conjecture that contribution to model utility can act as a proxy for memorization, and hence represent membership privacy risk. Using ten benchmark datasets, we show that SHAPr is indeed effective in estimating susceptibility of training data records to MIAs. We also show that, unlike prior work, SHAPr is significantly better in estimating susceptibility to newer, and more effective MIA. We apply SHAPr to evaluate the efficacy of several defenses against MIAs: using regularization and removing high risk training data records. Moreover, SHAPr is versatile: it can be used for estimating vulnerability of different subgroups to MIAs, and inherits applications of Shapley values (e.g., data valuation). We show that SHAPr has an acceptable computational cost (compared to naive LOO), varying from a few minutes for the smallest dataset to ~92 minutes for the largest dataset.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- Membership Inference Attacks From First Principles2022
- Membership Leakage in Label-Only Exposures2021
- Quantifying Membership Privacy via Information LeakageIEEE Transactions on Information Forensics and Security, 2021
- AI auditing and impact assessment: according to the UK information commissioner’s officeAI and Ethics, 2021
- Privacy-Preserving in Defending against Membership Inference Attacks2020
- Does learning require memorization? a short tale about a long tail2020
- Efficient task-specific data valuation for nearest neighbor algorithmsProceedings of the VLDB Endowment, 2019
- Comprehensive Privacy Analysis of Deep Learning: Passive and Active White-box Inference Attacks against Centralized and Federated Learning2019
- ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Models2019
- 17. A Value for n-Person Games1953