Dong Roth Su 2022 - Composition of Approximate DP and Berry-Esseen
Summary
-DP is , so the -part and the -part compose separately: ‘s combine as and the -part converges to GDP. Theorem 3.6 gives the limit , i.e. testing against . Theorem 3.7 gives an approximation error, beating the classical Berry-Esseen rate.
Overview
The CLTs of Section 3.2 need and so exclude with (where ). Section 3.3 handles -DP by splitting off the part.
Main Content
Decomposition of (Eqs. 11-13)
so . The function is the trade-off function of shifted uniforms: . In general tensoring with rescales the graph of toward the origin by :
( is symmetric if is; (11) and (12) follow from (13).)
Theorem 3.6 (CLT for -DP)
Let be a triangular array with , , , for constants . Then uniformly on ,
Meaning: distinguishing neighbors from the composed output is at least as hard as distinguishing from (for small , so the uniform shift is about ). This gives a global approximation of the tensor product in time with a closed form, whereas Murtagh-Vadhan showed finding the smallest with is P-hard for any (equivalently, evaluating the conjugate at any point), with an FPTAS in for a single .
Theorem 3.6 is silent on the error for moderate . Theorem 3.4 gives a non-asymptotic normal approximation with error under mild conditions (Corollary D.7), which is too coarse for tight guarantees ( at ).
Theorem 3.7 (beating Berry-Esseen)
Fix and set . There is a constant depending only on such that for all and ,
Simulations suggest for : with the difference between and is below 0.013 pointwise. Numerical evidence suggests the same rate in the inhomogeneous case when the are roughly the same size; a proof is open. It extends to through decomposition (11).
Proof idea (Appendix E). Kairouz-Oh-Viswanath showed with , and binomial. Directly approximating these binomials cannot beat because Berry-Esseen is rate-optimal for binomials; the proof instead exploits a smoothing effect that comes for free in testing, analogous to the continuity correction for normal approximations to binomial probabilities.
Examples
Figure 5: ten compositions of -DP
Setup: mechanisms, each -DP, so . Solution: the exact composition is the binomial testing problem above. At the smallest with exact composition -DP is (the paper’s dashed curve; recomputed here as ). The GDP curve gives at the same (recomputed). The paper reports that the CLT curve is “almost perfect” against the exact trade-off while the tightest single approximation is visibly looser. Interpretation: the CLT approximation is not a one-sided bound (at this the exact is slightly below the GDP-implied one); it is an accurate approximation of the whole curve, which a single pair cannot be.
import numpy as np
from scipy import stats
from scipy.stats import norm
from scipy.optimize import brentq
def exact_delta(eps0, n, eps):
"""delta(eps) of f_{eps0,0}^{(x)n} via the binomial representation (Kairouz-Oh-Viswanath)."""
p = np.exp(eps0) / (1 + np.exp(eps0)); q = 1 - p
k = np.arange(n + 1)
P, Q = stats.binom.pmf(k, n, p), stats.binom.pmf(k, n, q)
return np.sum(np.maximum(P - np.exp(eps) * Q, 0.0))
def gdp_delta(mu, eps):
return norm.cdf(-eps / mu + mu / 2) - np.exp(eps) * norm.cdf(-eps / mu - mu / 2)
n, eps0, d = 10, 1 / np.sqrt(10), 1e-3
print(brentq(lambda e: exact_delta(eps0, n, e) - d, 0, 10)) # about 2.89 (exact)
print(brentq(lambda e: gdp_delta(1.0, e) - d, 0, 10)) # about 3.14 (CLT / G_1)Combining parts
Setup: 100 mechanisms each . Solution: ; so the uniform part is . By (13) the result is scaled toward the origin by , practically . Interpretation: when ‘s are tiny relative to the part, the composition dominates and the whole guarantee is summarized by plus a negligible shift. (Illustrative arithmetic; Theorem 3.6 is asymptotic.)
Connections
- Advanced composition via Renyi: Mironov 2017 - From RDP to Approximate DP and Advanced Composition; the Berry-Esseen rate in this paper’s terms is what Theorem 3.7 improves.
- Subsampled version used for SGD: Dong Roth Su 2022 - Noisy SGD Privacy Analysis.
- The P-hardness context: Murtagh-Vadhan is discussed in Mironov 2017 - Renyi Divergence and the RDP Definition.