Dong Roth Su 2022 - Privacy Amplification by Subsampling
Summary
If is -DP on datasets of size , then running on a uniformly random -subset of an -dataset is -DP with and , . For -DP this is strictly stronger than the classical bound. The theorem is proved by converting to guarantees, applying the classical result, and converting back.
Overview
Subsampling before a private mechanism amplifies privacy: a person not in the subsample enjoys perfect privacy, which happens with probability . This was formalized for -DP by Kasiviswanathan et al. It fails for concentrated DP (CDP, zCDP), which motivated truncated CDP at the cost of complexity, and for Renyi DP it holds in a complex form (Wang-Balle-Kasiviswanathan). -DP admits a simple, general statement.
Main Content
Setup. For and a dataset of individuals, is a uniformly random -subset. For defined on , the subsampled mechanism is (the intermediate subset is not released, which distinguishes it from composition).
Definition 4.1 ( -sampling operator)
For write , where . The -sampling operator is
where is the inverse defined in (4) and is the biconjugate (the greatest convex lower bound of ).
is a two-step transformation: symmetrization (min of and its inverse) and convexification (biconjugate). is a symmetric trade-off function and .
Theorem 4.2 (subsampling)
If is -DP on , then the subsampled mechanism is -DP on , where the sampling ratio is .
Properties of (qualitative amplification).
- For and symmetric: . As the sampling ratio falls from 1 to 0, privacy interpolates monotonically from to perfect privacy.
- If then (more private stays more private).
- .
Closed form (Eq. 14)
For symmetric , let be the unique fixed point . Then
(Proof in Appendix F.) The middle segment is the line of slope joining the two curves, which is what the convexification produces.
Corollary 4.3 (amplification for -DP)
If is -DP on then is -DP on , where
Lemma 4.4 (classical, Ullman)
If is -DP then is -DP with as above, i.e. -DP. Corollary 4.3 improves on it since by (15).
The improvement cannot be expressed in the framework, and the loss from forcing the subsampled guarantee into form compounds under composition. The paper states that the theorem holds for any subsampling scheme for which Lemma 4.4 holds, including independent coin flips per record.
Proof of Theorem 4.2 (Sec. 4.2)
- By Proposition 2.12, is -DP for all with .
- By Lemma 4.4, satisfies, for each , -DP with , .
- Eliminating gives (Eq. 16, proved in Appendix F).
- is asymmetric, so Proposition 2.12 cannot be applied directly; the paper extends it. Proposition 4.5 (special case of Proposition F.2): for a generic trade-off function let . If and is -DP for all , then is -DP.
- The condition holds for : with the fixed point of , by symmetry about the line, so and ; then because is decreasing and .
Tightness: the bound is tight if (the original mechanism is blatantly non-private), shown in Appendix F (Discussion, Sec. 6).
Examples
Figure 6 (right):
Setup: an -DP mechanism applied to a 20% subsample. Solution: , . At type I level : the classical bound gives , whereas Corollary 4.3 gives . The smallest guaranteed sum of type I and II errors is with Corollary 4.3, with the classical bound, and with no subsampling (all recomputed). Interpretation: the paper’s remark that the improvement is “the shaded triangle” between and corresponds to a much higher guaranteed floor on the attacker’s total error. (The paper’s text describes this as the minimal error sum “can be significantly lower than the prediction of Lemma 4.4”; since the guaranteed minimum is higher, so “lower” here is best read as a wording slip about the attacker’s advantage being lower. This is this note’s reading.)
import numpy as np
def f_eps_delta(a, eps, delta):
return max(0.0, 1 - delta - np.exp(eps) * a, np.exp(-eps) * (1 - delta - a))
def Cp_eps_delta(a, eps, delta, p): # Corollary 4.3
e0, d0 = np.log(1 - p + p * np.exp(eps)), p * delta
line = 1 - p * delta - p * (np.exp(eps) - 1) / (np.exp(eps) + 1) - a
return max(f_eps_delta(a, e0, d0), line)
eps, delta, p = 3.0, 0.1, 0.2
grid = np.linspace(0, 1, 2001)
print(np.log(1 - p + p * np.exp(eps)), p * delta) # 1.572, 0.02
print(min(a + Cp_eps_delta(a, eps, delta, p) for a in grid)) # 0.799 (Cor. 4.3)
print(min(a + f_eps_delta(a, np.log(1 - p + p * np.exp(eps)), p * delta) for a in grid)) # 0.337 (Lemma 4.4)
print(min(a + f_eps_delta(a, eps, delta) for a in grid)) # 0.086 (no subsampling)Connections
- Used to analyze noisy SGD, where every step is a subsampled Gaussian mechanism: Dong Roth Su 2022 - Noisy SGD Privacy Analysis. The moments accountant had to bypass the missing amplification statement for divergence-based notions: Abadi 2016 - Moments Accountant Theorems and Proofs.
- Experiments/surveys that sample users (e.g. sampled user panels for lift studies) are subsampled mechanisms; whether DP amplification applies depends on the sampling being secret and independent of the data; see Conversion Lift Studies on Ad Platforms. This is a mapping, not a claim of the paper.