Mironov 2017 - From RDP to Approximate DP and Advanced Composition
Summary
An -RDP mechanism is -DP for every (Proposition 3). Combining that with the bound for any -DP mechanism (Lemma 1) and additivity gives an advanced composition theorem proved entirely in RDP language: -fold -DP composition is -DP when .
Overview
Section IV reduces RDP to -DP; Section V proves a composition theorem whose structure follows Dwork-Rothblum-Vadhan but is phrased without explicit probability arguments. The first is the route by which almost all RDP accounting is eventually reported.
Main Content
Proposition 3 (from RDP to -DP)
If is an -RDP mechanism, it also satisfies -differential privacy for any .
Proof. Let and write . By Proposition 10 (probability preservation), . Case I (): (the middle step uses , i.e. ). Case II (): . In both cases , which is stronger than -DP.
Since is free, one reports .
Lemma 1 (RDP curve of a pure-DP mechanism)
If satisfy and , then for , .
Proof sketch. If : . If : use the inequality for , , (Eq. 2). With , integrating against and using nonnegativity of gives , and . The case follows by continuity. The constant can be improved to with a more involved analysis (Bun-Steinke, Prop. 3.3).
Proposition 4 (advanced composition, probability form)
Let be an adaptive composition of mechanisms, each -DP, and let be adjacent. For any ,
Proof. Lemma 1 plus Proposition 1 give for all . Put . Case : choose ; Proposition 10 gives . Case : the right-hand side exceeds 1 trivially.
Corollary 1 (advanced composition, form)
Let be a composition of -DP mechanisms and with . Then is -DP with .
Proof sketch. Show . If , Proposition 4 gives . Otherwise () use and Proposition 4: , so .
Remark 3. The condition is the “high privacy” regime of advanced composition, where . With this covers . If , this and other composition theorems are unlikely to give strong bounds.
Examples
Numbers for advanced composition versus basic composition
Setup: mechanisms, each -DP, (so ). Solution: basic composition gives . Corollary 1 gives . The Dwork-Rothblum-Vadhan form gives about . Interpretation: Corollary 1 is much better than basic composition here but about 3x looser than the standard advanced composition: the constant 4 reflects the generic Lemma 1 constant 2 (the paper notes it can be improved to 0.5), and the paper observes that Proposition 4’s bound is “consistently outperformed” by the standard form with optimal (Section VI-D). The RDP value comes from directly using the mechanism’s own curve, see Mironov 2017 - RDP of Randomized Response, Laplace and Gaussian. All numbers are recomputed here.
import numpy as np
def basic(n, eps): return n * eps
def drv(n, eps, delta_p): # Dwork-Rothblum-Vadhan advanced composition
return np.sqrt(2 * n * np.log(1 / delta_p)) * eps + n * eps * (np.exp(eps) - 1)
def mironov_cor1(n, eps, delta):
assert np.log(1 / delta) >= eps**2 * n
return 4 * eps * np.sqrt(2 * n * np.log(1 / delta))
def rdp_to_dp(rdp_curve, delta, alphas=np.linspace(1.01, 300, 30000)):
"""Proposition 3, optimized over alpha. rdp_curve(alpha) -> epsilon."""
vals = rdp_curve(alphas) + np.log(1 / delta) / (alphas - 1)
i = int(np.argmin(vals))
return vals[i], alphas[i]
n, eps, delta = 10_000, 0.01, 1e-5
print(basic(n, eps), drv(n, eps, delta), mironov_cor1(n, eps, delta)) # 100, ~5.8, ~19.2
# 100 compositions of a Gaussian with sigma=4 (sensitivity 1): RDP curve 100*alpha/(2*16)
print(rdp_to_dp(lambda a: 100 * a / 32, 1e-5)) # ~(15.1, alpha~2.9)Connections
- Alternative route for the same Gaussian composition: the exact GDP curve gives at for (recomputed), versus 15.1 through Proposition 3; see Dong Roth Su 2022 - Gaussian Differential Privacy Definition and Gaussian Mechanism.
- The same Markov-style conversion is how the moments accountant produces : Abadi 2016 - Moments Accountant Theorems and Proofs.
- zCDP to conversion used for the census: Abowd 2022 - Why Differential Privacy, zCDP and Curator Models.