TL;DR
Differential Privacy (DP) gives us a mathematical knob ($\varepsilon$) to protect data, yet translating that number into real-world safety against realistic attackers has largely been guesswork. This paper introduces a unified mathematical framework that calculates exact upper bounds on what an adversary can extract—even when attacking multiple people at once, exploiting skewed real-world probabilities (like common passwords), and aiming for "close enough" rather than exact guesses.
What Problem Does This Paper Address?
Imagine you deploy a machine learning model trained with Differential Privacy set to $\varepsilon = 1$. Mathematically, DP promises that a worst-case membership inference attacker—someone who already knows every record in your dataset except one, and just wants to guess if that final person was included—succeeds with probability at most $0.73$.
In the real world, however, attackers rarely play that game. You probably care much more about whether an attacker can reconstruct multiple users' sensitive attributes or passwords, armed only with general background knowledge about the population. Until now, practitioners had no principled way to translate $\varepsilon$ into risk guarantees for these realistic scenarios. Relying on empirical simulated attacks only gives lower bounds (a smarter attacker tomorrow might break your defense), leaving engineers to fall back on folkloric rules of thumb like "just keep $\varepsilon \le 10$." Prior theoretical bounds were a fragmented patchwork, handling single targets or uniform random data in isolation, never all together.
Methods
The authors build a "generic attack game" that models almost any privacy attack—membership inference, attribute inference, or full data reconstruction—under one roof.
Here is how it works: $n$ independent targets are drawn from prior distributions (representing what the attacker already knows before seeing the model), fed into a DP mechanism, and the attacker makes guesses based on the output. Rather than comparing the attacker's guess to the single most likely record in the universe (as prior work did), the authors compare the attacker's posterior success rate directly to their baseline prior success rate—how lucky that exact guess would get on a fresh random sample without ever seeing the model.
Using standard DP odds ratios alongside coupling and linear-programming tools from "one-run" privacy auditing, they show that for pure $\varepsilon$-DP, the total number of compromised targets is bounded by a sum of independent Bernoulli coin flips—each weighted by the privacy parameter $\varepsilon$ and the baseline prior probability. They extend this to approximate $(\varepsilon, \delta)$-DP and $f$-DP. Crucially, the framework requires the success metric to be decomposable (meaning total success is the sum of individual target successes, which still allows approximate per-record distance matching). Furthermore, because true real-world priors are rarely known, they prove the bound is monotonic: plugging in a conservative upper confidence bound on the prior still yields a mathematically valid certificate.
Datasets
To test their bounds against concrete empirical attacks on GPT-2, the authors evaluate three secret distributions (plus tabular marginal reconstruction detailed in their appendix):
- Uniform random canaries: Synthetic 9-digit random numbers (standard "Secret Sharer" setup) where every secret has a $10^{-9}$ prior probability.
- Numerical passwords: 9-digit passwords modeled with a Zipf's law distribution to reflect real-world skew (e.g.,
123456789appears ~43M times in the wild). - Personally Identifiable Information (PII): Real names extracted from 500 sampled sequences of the Enron emails dataset, where prior probabilities conditioned on surrounding text are estimated via pre-trained GPT-2 perplexity.
For fine-tuning audits, these distributions are scaled down to synthetic two-token canaries over 10 possible secret tokens. No new public benchmark datasets are introduced.
Key Insights and Ideas
- Uniform canaries give a false sense of security: Auditing LLMs by inserting uniformly random numbers drastically underestimates risk for real data. Because real secrets (like passwords or context-dependent names) have skewed priors, common secrets leak at much stricter privacy budgets than random digits.
- Conservative estimates are safe: You don't need to know the exact probability distribution of human language to use this math. Overestimating how easy a secret is to guess a priori only makes the bound more conservative, preserving high-probability guarantees.
- Separating math slack from weak attacks: When an empirical attack on DP-SGD fails, is the bound loose, or is the attack just bad? By introducing an Idealized Gaussian Attack (a mathematically optimal Bayes adversary operating on noisy one-hot vectors), the authors cleanly separate theoretical slack in their bounds from the practical blind spots of black-box LLM attacks (like models "forgetting" memorized data in later epochs).
Key Results
- Tighter than state-of-the-art: For single-record attacks under $\mu$-GDP, the framework matches state-of-the-art uniform bounds (MMC) while being continuous, and is substantially tighter than existing non-uniform bounds (KGK+) across $\mu \in \{1, 2, 4\}$.
- Drastically different $\varepsilon$ needed for real secrets: To cap an attacker's generalized advantage at $\le 0.05$ (with $\delta = 10^{-5}$), a 9-digit uniform canary only requires $\varepsilon_{\text{protect}} = 17.8$. However, protecting worst-case PII requires $\varepsilon_{\text{protect}} = 2.37$, and skewed numerical passwords require $\varepsilon_{\text{protect}} = 0.25$. At $\varepsilon = 1$, the median password's advantage bound is $\ll 0.05$, while the most popular password jumps to $0.24$.
- Empirical LLM extraction: Across 100 canaries in DP-finetuned GPT-2, the theoretical bound aligns almost perfectly with the Bayes-optimal Idealized Gaussian attack on uniform priors, though a noticeable gap remains between the theoretical bound and optimal attack on skewed priors (passwords and PII).
Limitations and Future Work
- Independent targets & decomposable metrics: The math requires targets to be drawn independently (unmodeled correlations across users degrade guarantees, just as in standard DP) and relies on decomposable metrics—leaving non-decomposable, dataset-wide adversarial goals as an open question.
- Slack on skewed priors: A gap persists between their general bound and the Bayes-optimal Gaussian baseline for heavily skewed distributions, suggesting bespoke bounds for specific mechanisms could be tighter.
- Estimating complex priors & policy misuse: Getting tight upper confidence bounds on priors for high-dimensional data like natural language remains tough (loose priors yield loose bounds). Finally, the authors warn against using lower empirical risk numbers as a blanket excuse to weaken DP protections where structural assumptions might fail.
Summary updated