Theoremcore
Parallel composition theorem
Also called parallel composition.
Mechanisms run on disjoint parts of the data, with parts fixed before the data is seen, cost only the largest epsilon in total under add/remove neighbors, and at most twice it under replace.
The parallel composition theorem says that queries on disjoint parts of a dataset do not add up their privacy costs. If the records are split into parts by a rule that does not look at the data, and mechanism reads only part and is -differentially private, then all outputs together are -DP under add/remove neighbors. The reason is that one person's record sits in one part only, so only one mechanism sees a change. A histogram with noise on each bin is the standard use: it costs the of one bin, not the sum over the bins that the basic composition theorem would give. Two conditions matter. The partition must be fixed before the data is seen, and the neighbor relation must be add/remove; under replace the cost can double.
Statement
A dataset is a finite multiset of records from a universe . Under the add/remove relation, when one of them is the other plus one record. Under the replace relation, when they have the same size and differ in one record.
Let be a fixed function, chosen without access to the data. It splits each dataset into parts . For , let read part and the earlier outputs. The composed mechanism outputs with . Composition may be adaptive, as on the basic composition page.
Theorem (parallel composition). Suppose that for each and each prefix, is -DP for the add/remove relation on its own part (this includes the empty part).
- Under add/remove neighbors, the composed mechanism is -DP.
- Under replace neighbors, if each is also -DP for replace on its own part, the composed mechanism is -DP with and .
In plain words
Sort the people into groups by a rule you fix in advance, for example by their age band. Ask one private question about each group. Each person is in one group only, so only one answer can depend on them. The total privacy cost for each person is the cost of the one question about their group, and not the sum over all groups.
The rule for the groups must not depend on the data. If it does, one new person can move many others from group to group, and the argument breaks.
If a change of one person can also move that person from one group to another, two answers change. Then the cost can be up to twice as large.
Proof
Fix a pair of neighbors. The proof of basic composition uses the privacy inequality of each step only for this one pair. So it is enough to find, for each step , numbers such that and meet the inequality with these numbers for every prefix. Then the composed outputs meet it with .
Add/remove. Say , and let . Because does not depend on the data, every other record stays in its part. So for , and . For the two inputs are equal, so for each prefix the two output laws are equal, and . For the two parts are add/remove neighbors, so . The sum is , which is at most . The case is the same with the roles swapped.
Replace. Say is with the record replaced by . Let and . If , only part changes, by a replace, and the sum is . If , part loses and part gains . Each of these two parts changes by one add/remove step, and the other parts do not change. The sum is . Both cases are at most .
Consequences
- Histograms and contingency tables. Let the parts be the bins, and let release the count of bin plus Laplace noise of scale (the Laplace mechanism on a count). With 5 bins and , each bin gets noise of scale 2. The whole histogram is -DP under add/remove, while basic composition would only give . Under replace the same release is -DP, which matches the global sensitivity of a histogram under replace.
- Trees of counts. In the binary tree mechanism, the nodes on one level cover disjoint time ranges, so each level costs the of one node. The levels are then combined by sequential composition.
- Query systems. PINQ has a Partition operator that splits the data by a key list given in advance and charges the budget once for all parts.
- Data-dependent splits need their own budget. A split that is chosen from the data, for example at a private median, must be paid for first. Then the parts are fixed, and the theorem applies to the queries after that point, by sequential composition of the two stages.
Tightness
The maximum is reached. In the histogram above, adding a record to bin raises its count by 1. At an output with above both counts, the density ratio of the Laplace noise is exactly . So the release is not -DP for any , and the bound is exact.
The factor 2 under replace is reached. Replace a record of bin by a record of bin . Count goes down by 1 and count goes up by 1. At an output with below and above all counts, the ratio is .
A partition that reads the data fails. Let the universe be . If holds at least one record with value 1, put all records in part 1; else put all records in part 2. Release each part's size plus noise of scale . Each step is -DP on its own part. Now take with records of value 0 and . The true pair of sizes moves from to . The privacy loss at some outputs is , which grows with . So no bound in terms of alone holds.
History
McSherry (2009) introduced parallel composition, together with sequential composition, in the paper on PINQ, a query language with a built-in privacy budget. The journal version appeared in Communications of the ACM in 2010. The theorem was implicit earlier in the analysis of histograms, where a record changes one cell only. The need for a data-independent split and the factor 2 under replace neighbors are standard points in the later literature, because the papers of that time used different neighbor relations.
References
- Frank McSherry, Privacy integrated queries: an extensible platform for privacy-preserving data analysis, SIGMOD 2009, pages 19 to 30, the section on sequential and parallel composition (the Partition operator of PINQ)
- Frank McSherry, Privacy integrated queries: an extensible platform for privacy-preserving data analysis, Communications of the ACM 53(9), pages 89 to 97, 2010, the journal version, with the same composition rules
- 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 (composition theorems), which the proof below extends to disjoint inputs
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 3DDM7T Edit this page History Report an error Markdown