Dong Roth Su 2022 - Gaussian Differential Privacy Definition and Gaussian Mechanism
Summary
-GDP is -DP with , . It is one real parameter, interpretable ( reasonably private; almost nothing promised), and exactly characterizes the Gaussian mechanism: adding noise to a statistic is -GDP, and the bound is pointwise tight.
Overview
GDP is the privacy analogue of the Gaussian distribution among probability distributions: the central limit theorems of Section 3 show that -DP converges to GDP under composition (Dong Roth Su 2022 - Composition Theorem and Central Limit Theorems). It also precisely describes the most fundamental DP building block, Gaussian noise addition.
Main Content
Gaussian trade-off function
where is the standard normal CDF. is decreasing in : if . (Eq. 6 is proved in Appendix A via the Neyman-Pearson test: reject when the single observation exceeds a threshold.)
Definition 2.6 ( -GDP)
A mechanism satisfies -Gaussian differential privacy if it is -DP: for all neighboring .
Interpretation: telling neighbors apart from the output is at least as hard as telling from from one draw. The right panel of Figure 3 plots : is reasonably private, borderline, basically non-private (an adversary can hold type I and type II errors simultaneously at about 0.07), and for both errors can be as small as 0.001.
Theorem 2.7 (Gaussian mechanism)
For a statistic with sensitivity , the Gaussian mechanism with is -GDP.
Proof. are normal with means and common variance , so because .
Tightness. GDP gives the tightest possible bound for the Gaussian mechanism:
with the infimum (asymptotically) achieved at neighbors with irrespective of . The right-hand side need not be convex in general (so not a trade-off function), but for the Gaussian this works because of log-concavity of the Gaussian (Proposition A.3).
The parameterization is such that the noise multiplier is (noise standard deviation = sensitivity ).
Relation to and Renyi DP
-GDP is equivalent to the collection of -DP guarantees with for all (Corollary 2.13, see Dong Roth Su 2022 - Post-Processing, Blackwell, Primal-Dual and Group Privacy), and implies -RDP for all (Corollary B.6, see Dong Roth Su 2022 - Divergence Conversion, Discussion and Limitations). With zCDP, (a direct reading of ).
Examples
Choosing noise for a target GDP level
Setup: release a count with sensitivity 1 (one person changes it by at most 1) with . Solution: noise standard deviation . From Corollary 2.13: , so the release is -DP; at the implied (recomputed). Interpretation: a single parameter conveys the entire family of guarantees. The Gaussian mechanism with is thus “reasonably private” in the paper’s terminology.
import numpy as np
from scipy.stats import norm
from scipy.optimize import brentq
def G(mu, alpha): # Gaussian trade-off function
return norm.cdf(norm.ppf(1 - alpha) - mu)
def gdp_delta(mu, eps): # Corollary 2.13
return norm.cdf(-eps / mu + mu / 2) - np.exp(eps) * norm.cdf(-eps / mu - mu / 2)
def gdp_eps(mu, delta): # smallest eps with delta(eps) = delta
return brentq(lambda e: gdp_delta(mu, e) - delta, 0, 100)
print(G(1.0, 0.05)) # 0.7405: type II error at 5% type I error
print(gdp_delta(0.5, 1.0), gdp_eps(0.5, 1e-5)) # 0.00683, about 1.99
for mu in (0.5, 1, 3, 6): # equal-error point alpha = beta: Phi(-mu/2)
print(mu, norm.cdf(-mu / 2)) # 0.401, 0.309, 0.067, 0.00135Connections
- Gaussian mechanism in language: Abadi 2016 - DP Background and Gaussian Mechanism; in RDP language: Mironov 2017 - RDP of Randomized Response, Laplace and Gaussian (there the same noise gives , matching ).
- zCDP and the discrete Gaussian used by the census: Abowd 2022 - Discrete Gaussian, Queries and the Optimization Problem.
- Gaussian algebra background: Gaussian Distributions and Algebra.