Theoremadvanced
Privacy amplification by subsampling
Also called amplification by sampling.
An (epsilon, delta)-DP mechanism run on a Poisson sample with rate q is (ln(1 + q(e^epsilon - 1)), q delta)-DP under add/remove, about q(e^epsilon - 1); without replacement it holds under replace.
Privacy amplification by subsampling says that a private mechanism becomes more private when it runs on a random sample of the data that the observer does not see. If each record joins the sample independently with probability (Poisson sampling), and the mechanism is -differentially private under add/remove neighbors, then the mechanism on the sample is -DP. For small the new parameter is about , which is about . A person who is probably not in the sample can lose little. The theorem is a key step in the analysis of DP-SGD, where each step uses a small random batch, and of the moments accountant. The exact bound depends on the sampling scheme and on the neighbor relation, so a page or a system that uses it must name both.
Statement
A dataset is a finite multiset of records. Under add/remove, when one of them is the other plus one record. Under replace, when they have the same size and differ in one record.
Poisson subsampling. keeps each record of independently with probability . The sample stays hidden; only the output of the mechanism is released.
Sampling without replacement. For datasets of size and , is a uniform random subset of records of . Write .
Theorem. Let , , and .
- (Poisson, add/remove.) If is -DP under add/remove, then is -DP under add/remove.
- (Without replacement, replace; Balle, Barthe and Gaboardi.) If is -DP under replace on datasets of size , then is -DP under replace on datasets of size .
Both bounds are tight for pure DP (). Since , , and for , .
In plain words
Suppose a survey picks each person by a coin flip, with a small chance of being picked, and keeps the list of picked people secret. Then it runs a private analysis on the picked people only.
An observer who wants to learn about you must first guess whether you were picked. Most of the time you were not, and then the result does not depend on you at all. When you were picked, you get the usual protection.
Together, this gives a much stronger protection than the analysis gives alone. When the chance of being picked is small and the analysis is already quite private, the leak shrinks by about that chance. When the analysis leaks a lot, the gain is much smaller.
Proof
The proof of part 1 is full. Part 2 is a marked sketch.
Part 1. Let . A Poisson sample of is a Poisson sample of , with added with probability , independently of . Fix an event of outputs and write
Then and . For each , the sets and are add/remove neighbors, so averaging the DP inequality over gives
Write , so .
From to . .
From to . The second inequality gives , so . The identity
gives . Hence . Finally , so the last term is at most .
The case is the same pair in the other order, and both orders are covered.
Part 2 (sketch). Let be with record replaced by . Couple the two samples: draw , and replace by when it is drawn. The samples differ, in one record, only when is drawn, which has probability . So the output law under is against under , where each pair of components comes from replace neighbors. Balle, Barthe and Gaboardi bound such mixtures by their advanced joint convexity of the hockey-stick divergence, which gives . The full proof is in their paper (NeurIPS 2018, arXiv 1807.01647), in the section on sampling without replacement.
Consequences
- The numbers. For and , , close to . For and , , far above . The form "about " is a heuristic for small only.
- Private learning. DP-SGD runs a Gaussian mechanism on a random batch at each step. The moments accountant uses a sharper form of amplification, for the Renyi divergence of the subsampled Gaussian, and then composes the steps.
- Other schemes. Sampling with replacement and fixed-size samples under add/remove neighbors have different bounds. Balle, Barthe and Gaboardi list them. A system must use the bound of the scheme that it runs.
- Related amplification. Privacy amplification by shuffling is a different effect: it hides who sent each local report, not who is in the sample.
Tightness
Let a special record be absent from , and let . Let apply randomized response with parameter to the bit " is in ". This bit changes by at most 1 between add/remove neighbors, so is -DP. On , the bit is 0, and outputs 1 with probability . On , the bit is 1 with probability , and outputs 1 with probability
The ratio is exactly . So is not -DP for any , and part 1 is tight.
History
Kasiviswanathan, Lee, Nissim, Raskhodnikova and Smith used amplification by sampling in their study of what can be learned privately (FOCS 2008; SIAM Journal on Computing 2011), and the effect appears in work of Smith from the same period. Later papers stated many versions, with different sampling schemes and neighbor relations. Balle, Barthe and Gaboardi (NeurIPS 2018) gave a uniform method through couplings and divergences, and tight bounds for each scheme. Abadi et al. (2016) and Mironov, Talwar and Zhang (2019) analyzed the subsampled Gaussian mechanism directly, which is sharper than amplification followed by composition.
References
- Borja Balle, Gilles Barthe and Marco Gaboardi, Privacy amplification by subsampling: tight analyses via couplings and divergences, NeurIPS 2018, arXiv 1807.01647, the bounds for Poisson subsampling with add/remove neighbors and for sampling without replacement with replace neighbors, proved by couplings and advanced joint convexity
- Shiva Prasad Kasiviswanathan, Homin K. Lee, Kobbi Nissim, Sofya Raskhodnikova and Adam Smith, What can we learn privately?, SIAM Journal on Computing 40(3), 2011, the lemma that running a private algorithm on a random sample of the data improves its privacy parameter
- Ilya Mironov, Kunal Talwar and Li Zhang, Renyi differential privacy of the sampled Gaussian mechanism, arXiv 1908.10530, 2019, Definition 3 (Poisson sampling with add/remove neighbors) and Table 1 (bounds for the subsampled Gaussian under different sampling schemes)
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 B5J3MT Edit this page History Report an error Markdown