Abstract
Label differential privacy (LDP) is a popular framework for training private ML models on datasets with public features and sensitive private labels. Despite its rigorous privacy guarantee, it has been observed that in practice LDP does not preclude label inference attacks (LIAs): Models trained with LDP can be evaluated on the public training features to recover, with high accuracy, the very private labels that it was designed to protect. In this work, we argue that this phenomenon is not paradoxical and that LDP merely limits the advantage of an LIA adversary compared to predicting training labels using the Bayes classifier. At LDP $\epsilon=0$ this advantage is zero, hence the optimal attack is to predict according to the Bayes classifier and is independent of the training labels. Finally, we empirically demonstrate that our result closely captures the behavior of simulated attacks on both synthetic and real world datasets.
Introduction
In many machine learning applications, such as medical diagnosis or ad click-through rate (CTR) prediction, input features (e.g., demographics) are non-sensitive, while labels (e.g., disease status) are highly private. Label Differential Privacy (label-DP) was developed to protect these labels by injecting noise during training. However, a paradox has emerged: models trained with strict label-DP are often vulnerable to Label Inference Attacks (LIAs), where an attacker recovers private labels with high accuracy by feeding training features back into the model—a method known as the Simple Prediction Attack (SPA).
This paper resolves this paradox by demonstrating that high label inference accuracy is not necessarily a privacy failure. Instead, it often reflects the model's ability to generalize from the underlying data distribution. The authors show that label-DP does not bound absolute attack accuracy, but rather the attacker's advantage over a baseline classifier that hasn't seen the specific training labels.
Methods
The authors formalize the threat model of LIAs and introduce two key metrics:
- Expected Attack Utility (EAU): Measures the absolute accuracy of an attacker guessing training labels.
- Advantage: The difference between the LIA's EAU and the EAU of a baseline Bayes classifier (which knows the data distribution but not the specific training labels).
Mathematically, the authors prove that no label-DP mechanism can strictly bound EAU below 1 for all $\epsilon > 0$ if the model generalizes well. However, they derive a universal upper bound showing that label-DP strictly limits the Advantage as a function of the privacy parameters $\epsilon$ and $\delta$. This implies that at low $\epsilon$, an attacker learns nothing more about the specific training labels than what is already inherent in the general data distribution.
Results and Empirical Validation
The theoretical framework was tested on synthetic Gaussian Mixture models and real-world datasets like CIFAR10 and Criteo 1TB Click Logs.
Key findings include:
- Generalization vs. Leakage: On CIFAR10, a model with strict $\epsilon=0.1$ allowed an SPA attack with ~87% accuracy. However, this matched the model's test accuracy, indicating the model was generalizing rather than leaking memorized labels.
- Tight Theoretical Bounds: On synthetic data, the empirical attack advantage closely followed the derived theoretical upper bound, particularly at the extremes of $\epsilon$.
- Real-World Resilience: On the Criteo dataset, absolute attack accuracy was high (~97%) due to class imbalance. However, the attacker's advantage dropped to near zero for $\epsilon \le 2$, proving that the label-DP model did not leak additional private information despite the high absolute accuracy.
Conclusion
This work clarifies that label-DP functions as intended by bounding the information gain of an attacker relative to a baseline, rather than absolute prediction accuracy. High inference accuracy is a natural consequence of good model generalization when features are predictive of labels. Future research will focus on tightening these bounds using alternative DP frameworks like Rényi-DP and developing more sophisticated attacks to probe the limits of label-DP in highly skewed real-world datasets.
Summary updated