Leave-one-out Distinguishability in Machine Learning
Jiayuan Ye, Anastasia Borovykh, Soufiane Hayou, Reza Shokri
TL;DR
This work introduces LOOD, a framework that quantifies how adding or removing training data alters a model's output distribution, tying memorization, information leakage, and influence to a single diagnostic. It provides an analytic Gaussian Process-based method (NNGP-linked) to estimate LOOD efficiently, with closed-form posterior mean and covariance, and validates strong correlations with membership inference attacks while achieving large speedups over retraining. The authors also show that the optimal queries eliciting maximum leakage can be identified and that activation functions impact leakage via kernel rank, revealing a privacy–accuracy trade-off. The framework enables principled analysis of leakage across architectures and queries, with potential for data reconstruction and deeper privacy guidance in ML systems.
Abstract
We introduce an analytical framework to quantify the changes in a machine learning algorithm's output distribution following the inclusion of a few data points in its training set, a notion we define as leave-one-out distinguishability (LOOD). This is key to measuring data **memorization** and information **leakage** as well as the **influence** of training data points in machine learning. We illustrate how our method broadens and refines existing empirical measures of memorization and privacy risks associated with training data. We use Gaussian processes to model the randomness of machine learning algorithms, and validate LOOD with extensive empirical analysis of leakage using membership inference attacks. Our analytical framework enables us to investigate the causes of leakage and where the leakage is high. For example, we analyze the influence of activation functions, on data memorization. Additionally, our method allows us to identify queries that disclose the most information about the training data in the leave-one-out setting. We illustrate how optimal queries can be used for accurate **reconstruction** of training data.
