Introduction
Standard Differential Privacy (DP) tools often measure privacy using "add/remove" adjacency, which primarily protects whether an individual is in a dataset (membership). However, this paper reveals that these tools dangerously overstate protection when the goal is to hide specific attributes (like labels) of individuals already known to be in the data. By developing novel auditing "canaries," the authors demonstrate that real-world privacy leakage for attributes is significantly higher than standard libraries report, often matching the stricter "substitute" adjacency metric instead.
The Privacy Gap: Add/Remove vs. Substitute Adjacency
Differential Privacy is the gold standard for protecting data, but its guarantees depend entirely on how you define "adjacent" datasets. Most popular DP libraries (like PyTorch’s Opacus) use Add/Remove Adjacency: the model should look statistically similar whether a specific person's record is included or completely removed. This is ideal for protecting membership.
However, in many real-world applications—like fine-tuning a model on a known database of medical records—we already know the patients are in the dataset. The goal is instead to protect their attributes (e.g., a specific diagnosis or label). To protect attributes, one must use Substitute Adjacency: the model should look the same if one person's record is replaced with a different one.
The authors argue there is a critical "privacy gap." Practitioners using standard libraries are told they have a certain privacy budget ($\epsilon$), but that budget only applies to membership. If an attacker is trying to guess a label, the actual protection is much weaker than the reported $\epsilon$ suggests.
Auditing Methods: Designing Privacy Canaries
To bridge the gap between theory and practice, the authors developed novel auditing tools designed to measure empirical leakage under substitute adjacency. Auditing involves inserting "canaries"—specially crafted data points—into the training set and observing how much they influence the final model.
They propose several types of canaries across different threat models:
- Gradient-Space Canaries: "Worst-case" theoretical canaries where the attacker can directly manipulate the gradients fed into the optimizer.
- Input-Space Canaries: More realistic attacks where the adversary modifies actual data (images or text).
- Crafted Input: Using optimization to create a "poisoned" sample that looks like a normal data point but maximizes the model's gradient response.
- Mislabeled Samples: Keeping the data the same but changing the label to see if the model leaks the original label.
- Adversarial Natural Samples: Picking existing outliers from an auxiliary dataset that are most likely to cause leakage.
These attacks were evaluated across three distinct domains: image classification (CIFAR-10 fine-tuning), tabular data (Purchase100 trained from scratch), and text sentiment analysis (SST-2 fine-tuning).
Key Findings: The "Add/Remove" Illusion
The most striking insight is that standard DP guarantees can act as "optimistic lies" when it comes to attribute privacy. If a library reports an $\epsilon=2$ under add/remove adjacency, an attacker guessing labels might face a reality closer to $\epsilon=4$ or higher.
- Violating the Bound: In almost all experiments, the empirical privacy leakage (the "audit" result) exceeded the theoretical upper bound reported by Add/Remove DP ($\epsilon_{AR}$).
- Tracking Substitute DP: The audit results closely tracked the privacy budget predicted by the Substitute Adjacency accountant ($\epsilon_S$). This empirically proves that Substitute DP is the correct mathematical framework for protecting label or attribute inference.
- The Subsampling Gap: As the subsampling rate ($q$) decreases—a common technique to improve DP utility—the gap between what Add/Remove reports and what the audit reveals becomes even more pronounced.
- Fine-tuning is Fragile: Models fine-tuned on sensitive data are much more susceptible to attribute leakage than models trained from scratch. Because the model already understands the features of the data, a single mislabeled or crafted sample can significantly shift the model's weights.
- Utility Preservation: Inserting these auditing canaries did not significantly degrade the model's accuracy, meaning these vulnerabilities can be exploited silently without the model owner noticing a drop in performance.
Limitations and Future Work
While these auditing techniques reveal critical flaws in current DP accounting, they come with limitations:
- Computational Cost: Auditing is highly expensive. To get a high-confidence estimate of $\epsilon$, the authors had to train the model up to 2,500 times for a single data point, which is impractical for massive models.
- Hyperparameter Sensitivity: The effectiveness of "Input-Space" canaries depends heavily on the choice of learning rate and clipping bounds. Poorly set parameters might cause the audit to underestimate the true leakage.
- Scope: The study focuses on gradient-based DP (DP-SGD). These techniques might not directly apply to specialized privacy methods like "Label DP," which use different noise-injection mechanisms.
Future work must focus on developing "single-run" auditing methods that bypass the need for thousands of retrains, alongside more robust canary designs tailored for complex, non-convex optimization landscapes.
Summary updated