Theoremresearch
Privacy amplification by shuffling
Also called shuffle model amplification.
Shuffling the reports of n users with epsilon_0-LDP randomizers gives central (epsilon, delta)-DP with epsilon = O(sqrt(e^epsilon_0 log(1/delta)/n)), for epsilon_0 up to about ln(n/log(1/delta)).
Privacy amplification by shuffling says that local reports become much more private when they are sent through a shuffler, which removes the senders and outputs the reports in a uniformly random order. If each of users sends a report from an -locally private randomizer, the shuffled reports are -differentially private in the central sense with of order . For this is of order . So users can add little noise locally, with a weak local guarantee, and still get a strong central guarantee, as long as nobody can link the reports to the users. Erlingsson et al. proved the first version in 2019. The bound below is that of Feldman, McMillan and Talwar (2021), who show that each report hides the report of any one user among many "clones". The theorem is the basis of the shuffle model, which sits between the local and the central models of differential privacy.
Statement
There are users with data in a domain . The neighbor relation is replace: two data sets differ in the value of one user, and is public. User runs a randomizer that may depend on the earlier reports , and that is -LDP for each fixed value of them. The shuffled mechanism draws a uniformly random permutation of the users, runs the randomizers in the order , and outputs the reports in that order, so the observer does not learn which user sent which report.
Theorem (Feldman, McMillan and Talwar, Theorem 3.1). Let and
Then is -DP under replace, with
As a consequence, . For this is , and for it is .
The most common case has the same randomizer for all users and no dependence on the earlier reports. Then the output is the multiset of the reports .
In plain words
Each user adds some noise to their own answer, enough for a weak protection on its own. Then all answers go through a mixer that throws away the names and the order.
An observer who wants to learn your value now sees a pile of answers and does not know which one is yours. Because of the noise, every other answer has some chance of looking exactly like an answer you could have given. With many users, there are many such look-alikes, and they hide your answer.
The protection gets stronger as the number of users grows, roughly with its square root.
Proof
This is a marked sketch. The full proof is the proof of Theorem 3.1 in Section 3 of Feldman, McMillan and Talwar (FOCS 2021, arXiv 2012.12803). Steps 1 and 2 below are complete for non-adaptive randomizers; step 3 only outlines the computation of the constants.
Step 1 (clones). Fix the two values and of the user who changes, and write and for one randomizer . For every input and every report , the LDP condition gives for , so
for a probability distribution , which is the remaining mass, divided by . So each other user can be simulated as follows: with probability it is a clone and sends a draw from or with equal chance, and otherwise it sends a draw from .
Step 2 (a reduction to two counts). After the shuffle, the output is a multiset of reports. Let be the number of reports drawn from and the number drawn from , counting user 1 and the clones. Given , the multiset can be generated without knowing : draw reports from , from , one from each of the users who are not clones, and shuffle. So the shuffled output is a post-processing of , and by the post-processing theorem it suffices to bound the privacy of . Let be the number of clones and . Then when , and when . For ,
So the privacy loss of the pair is exactly .
Step 3 (concentration). is close to and are each close to , within except with probability . Then . The condition on makes large enough for these tail bounds. Feldman, McMillan and Talwar carry out this step with Chernoff and Hoeffding bounds. They obtain the factor by also splitting the report of user 1: with and , which are distributions by the LDP condition, and , and , so the clones can be taken as clones of and . They also handle adaptive randomizers, where the decomposition of step 1 is applied to each randomizer given the earlier reports.
Consequences
The numbers. For , the bound of the theorem gives these values. The condition column is , the largest that the theorem allows.
| condition | |||
|---|---|---|---|
| 1000 | 1 | 1.4604 | 0.5662 |
| 1 | 3.7630 | 0.2140 | |
| 2 | 3.7630 | 0.5009 | |
| 1 | 6.0656 | 0.0726 | |
| 4 | 6.0656 | 0.5346 | |
| 1 | 8.3682 | 0.0235 |
With users, local reports with the weak guarantee become central reports with .
- Frequency estimation. Local protocols such as randomized response and RAPPOR can run with a larger , and so with less noise, when a shuffler is in place. The error of a count then gets close to that of the central model.
- Many rounds. When users report many times, each round is amplified, and the rounds compose. The Renyi version of the clone analysis (Feldman, McMillan and Talwar, SODA 2023) fits Renyi DP accounting.
- Trust. The guarantee holds only against an observer who sees the shuffled output. The shuffler, or anyone who can link reports to users, still sees -LDP reports. In practice the shuffler is built with trusted hardware, mixnets or cryptographic protocols.
- Compared with subsampling. Amplification by subsampling hides whether a user took part. Shuffling hides which report belongs to the user. Both need the hidden randomness to stay hidden.
Tightness
The theorem is an upper bound with explicit constants, and it is not exact. For binary randomized response with , and , these are measurements made for this page:
- the closed form above gives ;
- the exact privacy of the two counts of step 2, computed numerically, gives ;
- the refined pair of step 3, where the report of user 1 is also split into and , gives when computed numerically;
- the exact privacy of shuffled randomized response itself, where the output is the number of ones, gives when all other users hold 0, and when half of them hold 1.
So the closed form is about six times the true value here, and the numerical value of the refined clone bound is within a factor of 1.5 of it. The gap comes from the tail bounds of step 3 and from the users who are not clones, whose reports add more noise that the analysis ignores. For this reason Feldman, McMillan and Talwar also give a numerical procedure for the clone bound, and accountants for the shuffle model compute it numerically.
Some condition on is needed. If is so large that the expected number of clones is below 1, then often no other report looks like a report of , and the report of user 1 is visible in the shuffled output.
History
Bittau et al. (SOSP 2017) built the Prochlo system, which encodes, shuffles and then analyzes user reports, and noted that the shuffle improves privacy. Erlingsson, Feldman, Mironov, Raghunathan, Talwar and Thakurta (SODA 2019) proved the first amplification theorem, for below a constant. In the same year, Cheu, Smith, Ullman, Zeber and Zhilyaev (EUROCRYPT 2019) defined the shuffle model as a model of computation and gave protocols for counting and summation, and Balle, Bell, Gascón and Nissim (CRYPTO 2019) introduced the privacy blanket, a decomposition of each report into a part that does not depend on the input, which allowed larger . Feldman, McMillan and Talwar (FOCS 2021) gave the clone analysis, with the bound above for all up to about , and sharpened it with a Renyi version at SODA 2023.
References
- Vitaly Feldman, Audra McMillan and Kunal Talwar, Hiding among the clones: a simple and nearly optimal analysis of privacy amplification by shuffling, IEEE FOCS 2021, pages 954 to 964, Theorem 3.1 (the bound and the condition on epsilon_0) and its proof in Section 3 (the decomposition of each report into clones of the two inputs of the first user)
- Úlfar Erlingsson, Vitaly Feldman, Ilya Mironov, Ananth Raghunathan, Kunal Talwar and Abhradeep Thakurta, Amplification by shuffling: from local to central differential privacy via anonymity, ACM-SIAM SODA 2019, pages 2468 to 2479, the first amplification theorem for shuffled local reports, for small epsilon_0
- Borja Balle, James Bell, Adrià Gascón and Kobbi Nissim, The privacy blanket of the shuffle model, CRYPTO 2019, LNCS 11693, pages 638 to 667, the privacy blanket decomposition and the amplification bound for larger epsilon_0
- Albert Cheu, Adam Smith, Jonathan Ullman, David Zeber and Maxim Zhilyaev, Distributed differential privacy via shuffling, EUROCRYPT 2019, LNCS 11476, pages 375 to 403, the definition of the shuffle model and its protocols for counting and summation
- Vitaly Feldman, Audra McMillan and Kunal Talwar, Stronger privacy amplification by shuffling for Renyi and approximate differential privacy, ACM-SIAM SODA 2023, pages 4966 to 4981, the sharper bounds and the Renyi version of the clone analysis
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 6Z9Z2W Edit this page History Report an error Markdown