Theoremcore
Advanced composition theorem
Also called strong composition theorem, Dwork-Rothblum-Vadhan composition.
k-fold adaptive composition of (epsilon, delta)-DP mechanisms is (epsilon', k delta + delta')-DP with epsilon' = epsilon sqrt(2k ln(1/delta')) + k epsilon (e^epsilon - 1), so loss grows as sqrt(k).
The advanced composition theorem shows that the privacy loss of many private steps grows like the square root of their number, not linearly, if you accept a small failure probability. For mechanisms that are each -differentially private, chosen adaptively, and for any , the composition is -DP with
For small the second term is about , and is about . The basic composition theorem gives instead. With steps of and , the bound is against 10. The proof views the total privacy loss as a sum of bounded terms with a small mean and applies the Azuma inequality.
Statement
Fix a symmetric neighbor relation. The k-fold adaptive composition experiment for a class of mechanisms and an adversary runs, for a bit , the steps :
- picks two neighboring datasets and a mechanism , as a function of its coins and of the outputs .
- receives , with fresh coins.
Let be the view of (its coins and ) in experiment . The class is -DP under -fold adaptive composition if for every adversary and every event , , and the same with and swapped. The case for all is the plain composition of mechanisms on one pair of neighbors.
Theorem (Dwork, Rothblum and Vadhan 2010; Dwork-Roth Theorem 3.20). For all , the class of -DP mechanisms is -DP under -fold adaptive composition, where
Corollary (Dwork-Roth Corollary 3.21). For and , it is enough that each step is -DP with to get -DP in total.
In plain words
Each private answer moves the odds about one person up or down by a small amount. Basic composition assumes that every answer pushes the odds in the same direction by the full amount. That can happen, but it is very unlikely when there are many answers.
Most answers push the odds only a little, and some push them the other way. The pushes add up like the steps of a random walk. A random walk of many small steps usually ends near where its average drift takes it, plus a spread that grows like the square root of the number of steps.
So, except with a small probability that you choose, the total push stays far below the worst case. You pay for that small probability in the second privacy parameter.
Proof
The proof below is full for . The extension to is a marked sketch with the exact locator.
Lemma 1 (KL bound). Let have densities with everywhere. Then the KL divergence satisfies .
Proof. Since , we have . Let , , and , so . The bound on the ratio gives and . These say and . Adding them gives , which is the total variation bound. So .
Lemma 2 (tail to DP). Let . If , then for every .
Proof. Let . Then .
The case . Fix an adversary. The coins of have the same law in both experiments. Given and a prefix , the adversary's choices are fixed. So the log ratio splits into a sum:
Run experiment 0 and condition on and the prefix. Then , because is -DP, and with , by Lemma 1. Let . The form a martingale difference sequence, and given the past, lies in an interval of length . The Azuma-Hoeffding inequality gives . Take . Then the bound is , and since ,
Lemma 2 gives the inequality from experiment 0 to experiment 1. The class is closed under the swap of and , so the same argument gives the other direction.
The case (sketch). By Dwork-Roth Lemma 3.17, an -DP pair of output laws is within statistical distance of a pair of laws whose log ratio is bounded by . Replace each step by such a pair. By the triangle inequality for statistical distance, the view changes by at most . The argument applies to the replaced experiment and gives , and the change of the view adds . The full proof is in Dwork and Roth, Section 3.5.2, in the proof of Theorem 3.20.
Consequences
- More queries for the same budget. With a fixed total budget, each of queries can get noise for instead of . Dwork and Roth use this to answer close to counting queries with error on a dataset of size .
- Crossover with basic composition. For and the bound is below only for :
| basic, | advanced, | |
|---|---|---|
| 10 | 1.0 | 1.7674 |
| 20 | 2.0 | 2.5611 |
| 50 | 5.0 | 4.2428 |
| 100 | 10.0 | 6.3082 |
| 1000 | 100.0 | 27.1397 |
- The first sqrt(k) accountant. The analysis of private learning by many noisy steps, for example DP-SGD, first used this theorem. Abadi et al. (2016) showed that tracking the moments of the privacy loss gives much less; see the moments accountant.
- A heuristic, not a theorem. The simple form "" is only a guide. It drops the factor and the term , and it is wrong when is not small.
Tightness
The square root growth cannot be removed. Take runs of randomized response with parameter . The privacy loss is with binomial with trials and success probability . Its mean is , and its standard deviation is about . By the central limit theorem, the needed for a fixed small grows like times a factor that grows with .
The constants are not exact. For , and total , the exact optimum of Kairouz, Oh and Viswanath is , against the bound . The optimal composition theorem gives the exact value for every . The term is needed up to second-order terms: the example in the Tightness section of the basic composition page loses .
History
Dwork, Rothblum and Vadhan (2010) proved the theorem in a paper on boosting for queries. They also set up the adaptive experiment above, in which an adversary picks the datasets and the mechanisms one step at a time, and showed that the bound holds there. Dwork and Roth (2014) give it as Theorem 3.20, with the proof through the KL bound and Azuma's inequality. Kairouz, Oh and Viswanath (2015) found the exact optimum for identical steps, and Murtagh and Vadhan (2016) showed that the exact optimum for different steps is hard to compute. Later work moved to divergences that compose by a plain sum, such as Renyi DP and zCDP, and to numerical accountants.
References
- Cynthia Dwork, Guy N. Rothblum and Salil Vadhan, Boosting and differential privacy, FOCS 2010, pages 51 to 60, the k-fold adaptive composition experiment and the composition theorem
- 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, Section 3.5.1, Lemma 3.17 (approximate max divergence as a statistical distance plus a max divergence), Lemma 3.18 (the KL bound) and Lemma 3.19 (Azuma); Section 3.5.2, Definition 3.7, Theorem 3.20 and its proof, and Corollary 3.21
- Peter Kairouz, Sewoong Oh and Pramod Viswanath, The composition theorem for differential privacy, IEEE Transactions on Information Theory 63(6), pages 4037 to 4049, 2017, the optimal composition theorem, which shows how far the bound is from exact
Where this leads
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 0CAVYC Edit this page History Report an error Markdown