Algorithm Search⌘K

Definitionresearch

Gaussian differential privacy

Also called f-differential privacy, GDP, mu-GDP.

States privacy as a lower bound f on the type II error of any test that tells neighbors apart at each type I error. mu-GDP takes f as the curve of N(0,1) against N(mu,1).

Gaussian differential privacy states a privacy guarantee as a statement about hypothesis tests. An observer sees the output of a mechanism and must decide between two neighboring datasets xx and x′x'. Each test has a type I error (it says x′x' when the truth is xx) and a type II error (it says xx when the truth is x′x'). ff-differential privacy asks that, at each type I error aa, every test has type II error at least f(a)f(a). μ\mu-GDP is the case where ff is the curve of the best test of N(0,1)N(0, 1) against N(μ,1)N(\mu, 1). Dong, Roth and Su introduced both in 2019. The curve holds all (ε,δ)(\varepsilon, \delta) guarantees at once, without loss. The Gaussian mechanism with sensitivity Δ\Delta and noise σ\sigma is exactly (Δ/σ)(\Delta/\sigma)-GDP, composition of μi\mu_i-GDP steps is ∑μi2\sqrt{\sum \mu_i^2}-GDP, and a central limit theorem says that the composition of many private steps of any kind tends to a Gaussian curve.

Definition

Let PP and QQ be distributions on the same space. A test is a map ϕ\phi from outputs to [0,1][0, 1], the probability of rejecting PP. Its type I error is αϕ=EP[ϕ]\alpha_\phi = E_P[\phi] and its type II error is βϕ=1−EQ[ϕ]\beta_\phi = 1 - E_Q[\phi].

The trade-off function of the pair is

T(P,Q)(a)=inf⁡{βϕ:αϕ≤a},a∈[0,1].T(P, Q)(a) = \inf\{\beta_\phi : \alpha_\phi \le a\}, \qquad a \in [0, 1].

By the Neyman-Pearson lemma, the infimum is reached by tests that reject when the privacy loss ln⁡(p/q)\ln(p/q) is below a threshold. A function f:[0,1]→[0,1]f : [0, 1] \to [0, 1] is a trade-off function of some pair if and only if it is convex, continuous, non-increasing, and f(a)≤1−af(a) \le 1 - a for all aa.

Definition (ff-DP). Let ff be a trade-off function. A mechanism MM is ff-DP if T(M(x),M(x′))≥fT(M(x), M(x')) \ge f pointwise for all neighbors x,x′x, x'.

Definition (μ\mu-GDP). For μ≥0\mu \ge 0 let

Gμ(a)=T(N(0,1),N(μ,1))(a)=Φ(Φ−1(1−a)−μ),G_\mu(a) = T(N(0, 1), N(\mu, 1))(a) = \Phi\left(\Phi^{-1}(1 - a) - \mu\right),

where Φ\Phi is the standard normal distribution function. A mechanism is μ\mu-GDP if it is GμG_\mu-DP.

These facts connect the definitions to the rest of differential privacy. They are in the paper of Dong, Roth and Su.

  1. Approximate DP is a special case. MM is (ε,δ)(\varepsilon, \delta)-DP if and only if it is fε,δf_{\varepsilon, \delta}-DP, where
fε,δ(a)=max⁡(0,  1−δ−eεa,  e−ε(1−δ−a)).f_{\varepsilon, \delta}(a) = \max\left(0,\; 1 - \delta - e^{\varepsilon}a,\; e^{-\varepsilon}(1 - \delta - a)\right).

This hypothesis testing view of (ε,δ)(\varepsilon, \delta)-DP goes back to Wasserman and Zhou (2010) and to Kairouz, Oh and Viswanath, who used it for the optimal composition theorem. 2. Exact conversion. If MM is ff-DP, then for each ε\varepsilon it is (ε,δ(ε))(\varepsilon, \delta(\varepsilon))-DP with δ(ε)=1+f∗(−eε)\delta(\varepsilon) = 1 + f^*(-e^{\varepsilon}), where f∗f^* is the convex conjugate, and no smaller δ\delta follows from ff. For μ\mu-GDP this gives

δ(ε)=Φ(−εμ+μ2)−eεΦ(−εμ−μ2)for all ε≥0,\delta(\varepsilon) = \Phi\left(-\frac{\varepsilon}{\mu} + \frac{\mu}{2}\right) - e^{\varepsilon}\Phi\left(-\frac{\varepsilon}{\mu} - \frac{\mu}{2}\right) \quad\text{for all } \varepsilon \ge 0,

and μ\mu-GDP is equivalent to this whole family of (ε,δ(ε))(\varepsilon, \delta(\varepsilon)) guarantees. 3. Post-processing. If MM is ff-DP, so is g∘Mg \circ M for every randomized map gg. 4. Composition. Adaptive composition of an ff-DP and a gg-DP mechanism is (f⊗g)(f \otimes g)-DP, where f⊗gf \otimes g is the trade-off function of the product pair. For Gaussian curves, Gμ1⊗Gμ2=Gμ12+μ22G_{\mu_1} \otimes G_{\mu_2} = G_{\sqrt{\mu_1^2 + \mu_2^2}}. 5. Central limit theorem. If kk mechanisms are each fif_i-DP with fif_i close to the identity curve 1−a1 - a, then under mild conditions their composition is close to GμG_\mu-DP, with μ\mu given by simple functionals of the fif_i. So μ\mu-GDP is the natural limit for long compositions, as in DP-SGD. 6. Group privacy. A μ\mu-GDP mechanism is kμk\mu-GDP for groups of kk records.

Examples and non-examples

Gaussian mechanism. For a query with ℓ2\ell_2 sensitivity Δ\Delta, the pair N(f(x),σ2I)N(f(x), \sigma^2 I) and N(f(x′),σ2I)N(f(x'), \sigma^2 I) is, after a rotation and a scaling, N(0,1)N(0, 1) against N(μ,1)N(\mu, 1) with μ=∥f(x)−f(x′)∥2/σ≤Δ/σ\mu = \|f(x) - f(x')\|_2/\sigma \le \Delta/\sigma. So the mechanism is (Δ/σ)(\Delta/\sigma)-GDP, and this is exact. For μ=1\mu = 1, G1(0.05)=Φ(1.6449−1)=0.7405G_1(0.05) = \Phi(1.6449 - 1) = 0.7405: a test that wrongly accuses x′x' at most 5% of the time misses x′x' at least 74% of the time. Fact 2 gives δ(1)=0.126937\delta(1) = 0.126937 for μ=1\mu = 1 and δ(1)=0.0068296\delta(1) = 0.0068296 for μ=1/2\mu = 1/2.

Composition of Gaussian steps. Ten Gaussian steps, each μi=1/10\mu_i = 1/\sqrt{10}, compose to exactly 11-GDP, so the whole run is (1,0.126937)(1, 0.126937)-DP. No Renyi or zCDP conversion loss appears.

Randomized response. Randomized response with ε=ln⁡3\varepsilon = \ln 3 has trade-off function max⁡(1−3a,(1−a)/3)\max(1 - 3a, (1 - a)/3), which is fln⁡3,0f_{\ln 3, 0}. Its curve is a broken line with a corner at a=1/4a = 1/4. The composition of nn copies with parameter 1/n1/\sqrt n tends to G1G_1 by fact 5: for n=10000n = 10000, the exact δ\delta at ε=1\varepsilon = 1 is 0.1269240.126924, against 0.1269370.126937 for 11-GDP.

Non-example: a positive δ\delta at zero type I error. A mechanism that outputs the dataset with probability δ\delta allows a test with type I error 0 and type II error 1−δ1 - \delta: reject xx when the output is x′x'. So its trade-off function has f(0)≤1−δ<1f(0) \le 1 - \delta < 1, while Gμ(0)=1G_\mu(0) = 1 for every finite μ\mu. It is f0,δf_{0, \delta}-DP but not μ\mu-GDP for any μ\mu.

Non-example: GDP is not a bound on one divergence. Two mechanisms can have the same (ε,δ)(\varepsilon, \delta) at one ε\varepsilon, or the same Renyi divergence at one order, and different trade-off curves. A single number pair does not give ff; only the whole family of fact 2 does.

  • Approximate DP is fε,δf_{\varepsilon, \delta}-DP (fact 1).
  • Zero-concentrated DP also models the Gaussian. Since a μ\mu-GDP pair is a post-processing of the Gaussian pair, μ\mu-GDP implies 12μ2\frac12\mu^2-zCDP. The converse fails, and the zCDP conversion to (ε,δ)(\varepsilon, \delta) is looser than fact 2.
  • The privacy loss random variable and the trade-off function carry the same information about a pair. For the Gaussian pair, the privacy loss is N(μ2/2,μ2)N(\mu^2/2, \mu^2).
  • Numerical privacy accounting composes privacy loss distributions exactly, which is the numerical form of the tensor product in fact 4.
  • The optimal composition theorem is the tensor product of fact 4 for fε,δf_{\varepsilon, \delta} curves.

References

  1. Jinshuo Dong, Aaron Roth and Weijie J. Su, Gaussian differential privacy, Journal of the Royal Statistical Society Series B 84(1), 2022, arXiv 1905.02383, the definitions of trade-off functions, f-DP and mu-GDP, the composition theorem for f-DP, the central limit theorem, and the conversion between f-DP and (epsilon, delta)-DP
  2. Peter Kairouz, Sewoong Oh and Pramod Viswanath, The composition theorem for differential privacy, IEEE Transactions on Information Theory 63(6), 2017, the hypothesis testing view of (epsilon, delta)-DP as a region of type I and type II errors
  3. Cynthia Dwork and Aaron Roth, The Algorithmic Foundations of Differential Privacy, Foundations and Trends in Theoretical Computer Science 9(3-4), pages 211 to 407, 2014, Appendix A (the Gaussian mechanism), for the classical (epsilon, delta) analysis that GDP replaces

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/BW8JS6/text.yaml