Abstract
We study per-datum Membership Inference Attacks (MIAs), where an attacker aims to infer whether a fixed target datum was included in an algorithm's training set. We define membership leakage as the advantage of an optimal adversary and quantify it for the empirical mean, showing it depends on the Mahalanobis distance between the target and the data-generating distribution. We assess defenses like Gaussian noise and sub-sampling, demonstrating exactly how they reduce leakage. Our analysis, using Edgeworth expansions and the Lindeberg-Feller CLT, connects existing attacks and justifies canary selection strategies. Experiments validate our theory on synthetic and real-world datasets.
Introduction
Membership Inference (MI) attacks pose a significant privacy risk by allowing attackers to determine if a specific individual's data was used to train a model. While traditional research focuses on average-case privacy metrics, empirical evidence suggests that privacy leakage is not uniform across a dataset. Some individuals—often outliers—are much more vulnerable than others. This paper provides a rigorous mathematical framework to move beyond "average" privacy, quantifying leakage on a per-datum basis.
Quantifying Per-Datum Leakage
The authors formalize a fixed-target MI game centered on a specific target point $z^*$. By analyzing the Likelihood Ratio (LR) test—the statistically optimal attack strategy—they derive closed-form "leakage scores." Their technical approach utilizes Edgeworth expansions and the Lindeberg-Feller Central Limit Theorem to characterize attack score distributions as dataset size and dimensionality increase.
The Role of Mahalanobis Distance
A central finding is that a target point's vulnerability is directly tied to its Mahalanobis distance from the general population. Points located far from the distribution's "center" are statistically easier to identify.
This geometric perspective explains the "privacy onion" effect: as the most outlying points are removed or protected, the next layer of points becomes the new outliers with high Mahalanobis scores, becoming the next easiest targets.
The Covariance Attack
Building on this geometric insight, the authors propose the Covariance Attack. While standard "scalar product attacks" merely look at the correlation between a target and model output, the Covariance Attack "corrects" for the data's shape using the inverse covariance matrix. This allows the attacker to exploit the specific correlations between features, significantly boosting success rates.
Defenses and Auditing
The framework also quantifies the impact of common privacy defenses:
- Gaussian Noise: Adding noise acts as a contraction on the leakage score, reducing the attacker's advantage.
- Sub-sampling: Sub-sampling by a factor $\rho$ reduces the effective leakage score by exactly that factor.
Furthermore, the authors introduce Mahalanobis Canary Selection, a strategy to identify "in-distribution" canaries. These are points that are naturally hard for a model to learn and highly sensitive to membership, making them ideal for auditing privacy without degrading model performance.
Experimental Results
The theory was validated using synthetic data, Fashion MNIST (FMNIST), and CIFAR10. In synthetic tests, theoretical ROC curves predicted by the mathematical framework matched empirical results almost perfectly.
On FMNIST, the Covariance Attack demonstrated clear superiority, achieving an AUC of 1.00 for "easy" targets compared to 0.71 for the scalar product attack. On CIFAR10, "easy" targets were found to be visually distinct or unusual examples (e.g., an atypical "frog"), while "hard" targets were generic, well-classifiable examples.
Conclusion
This work provides a precise theoretical foundation for understanding why some data points leak more privacy than others. By identifying Mahalanobis distance as the key driver of per-datum leakage, the authors enable more effective attacks, better defenses, and more accurate privacy auditing. Future work aims to extend these proofs to highly non-linear deep network layers and a broader class of statistical estimators.
Summary updated