TL;DR
Most differential privacy (DP) libraries calculate privacy guarantees assuming an "add/remove" relationship between datasets, which is designed to protect user membership. This paper reveals that this standard approach significantly overstates privacy protections when the goal is to protect specific attributes or labels of data already in the dataset. By introducing new auditing attacks based on "substitute" adjacency, the authors demonstrate that real-world privacy leakage can easily breach standard reported DP bounds.
What Problem Does This Paper Address?
Differential Privacy (DP) relies on the concept of "adjacent" datasets to bound how much an adversary can learn from a model's output. In practice, almost all major DP libraries default to add/remove adjacency—meaning two datasets are adjacent if one has exactly one more or one fewer record than the other. This perfectly protects membership privacy (i.e., answering the question: "Is my data in this training set?").
However, in many modern machine learning scenarios, like fine-tuning a large language model on user text, an adversary might already know a user's data was included. The real goal is to protect attribute privacy or label privacy (e.g., "What did the user say?" or "What was the label?"). To protect attributes, we need substitute adjacency, where one record is replaced by another. The authors address a critical gap: standard add/remove DP accounting overstates the actual protection against attribute inference attacks, potentially misleading practitioners into a false sense of security.
Methods
To expose and quantify this privacy gap, the authors develop a suite of novel auditing tools tailored for substitute adjacency under a realistic "hidden-state" threat model (where the adversary only sees the final model parameters or output logits, not intermediate training steps).
They propose algorithms to craft two main types of "canaries" (probe data points used to detect if a specific record influenced training):
- Gradient-Space Canaries: Worst-case gradient manipulations designed to maximize distinguishability by orienting adjacent gradients in opposite directions.
- Input-Space Canaries: More practical perturbations applied directly to the data. This includes crafted input samples (minimizing cosine similarity to a target gradient), mislabeled samples, and adversarial natural samples selected from an auxiliary dataset.
The empirical privacy leakage ($\epsilon$) is then computed using Gaussian DP conversions based on false positive and false negative rates across multiple training runs.
Datasets
The authors evaluated their auditing methods across three distinct setups:
- CIFAR10: 500 samples used for supervised fine-tuning of the final layer of a pretrained ViT-B-16 image classification model.
- SST-2 (Stanford Sentiment Treebank): 5K samples used for text classification fine-tuning of a linear layer on top of a Sentence-BERT encoder.
- Purchase100: 50K samples used to train a 3-layer multi-layer perceptron (MLP) completely from scratch.
Key Insights and Ideas
- The Adjacency Illusion: Relying on standard add/remove DP libraries to protect attributes or labels is dangerous. The theoretical bounds they report ($\epsilon_{AR}$) underestimate the actual information leakage when an adversary is trying to guess an attribute rather than membership.
- Group Privacy is Too Loose: While you can mathematically convert an add/remove bound to a substitute bound using standard "group privacy" rules, this approach yields suboptimal, overly conservative upper bounds. Numerical accountants specifically designed for substitute adjacency provide much tighter, more accurate guarantees.
- Fine-Tuning is More Vulnerable: Pretrained models that undergo fine-tuning are significantly more susceptible to input-space privacy leaks than models trained entirely from scratch.
Key Results
- When auditing with worst-case dataset canaries, the empirical privacy leakage ($\epsilon$) consistently exceeded the theoretical upper bound guaranteed by add/remove DP ($\epsilon_{AR}$). However, it tightly tracked the budget predicted by a substitute DP accountant ($\epsilon_S$).
- As shown in the fine-tuning experiments on CIFAR10, gradient-space canaries yielded the tightest empirical lower bounds, clearly violating the add/remove accounting limits across various subsampling rates ($q$).
- Input-space canaries (such as mislabeled or crafted inputs) also successfully breached the reported add/remove DP guarantees, particularly at larger subsampling rates, proving that practical data-poisoning or attribute-inference attacks can bypass standard DP expectations.
Limitations and Future Work
- Hyperparameter Sensitivity: The effectiveness of input-space canaries degrades at later training steps and is highly sensitive to training hyperparameters like the clipping bound ($C$), learning rate ($\eta$), and total training steps ($T$).
- Gradient-Based Restriction: The proposed canaries are specifically tailored for gradient-based optimization algorithms (like DP-SGD and DP-Adam). They do not easily extend to alternative DP mechanisms, such as specialized Label DP frameworks that don't rely on standard gradient perturbation.
- High Computational Cost: Auditing requires training thousands of model instances ($R = 2500$ to $25000$) to confidently estimate the empirical lower bounds. The authors suggest that integrating single-run auditing approaches could be a promising direction to improve efficiency.
Summary updated