Definitionadvanced
Privacy loss random variable
Also called privacy loss, privacy loss distribution.
The log ratio ln(p(Y)/q(Y)) of the output laws of a mechanism on two neighbors, at an output Y drawn on the first. Its law gives the exact delta for each epsilon.
The privacy loss random variable measures how much one output of a mechanism tells about which of two neighboring datasets was used. For a mechanism and neighbors , it is the log ratio of the probabilities of the output under and under , where is drawn from . A large positive value is an output that strongly points to . The whole law of this variable, the privacy loss distribution, fixes every privacy guarantee of the pair: pure DP is a bound on its absolute value, the tight for each is one expectation of it, Renyi DP and zCDP are bounds on its moment generating function, and numerical accountants compose mechanisms by convolving its law. It is the log likelihood ratio of the Neyman-Pearson lemma, so it is also the best statistic for a test that tries to tell from .
Definition
Let be a randomized mechanism and neighbors under a stated relation (add/remove or replace). Let and be the laws of and , with densities and with respect to a common measure (for discrete outputs, the probability mass functions).
The privacy loss function of the ordered pair is
with when . The privacy loss random variable is with . Its law, a distribution on , is the privacy loss distribution of the pair. The pair has its own privacy loss, and both orders matter.
These facts follow from the definition. The function is written .
- Exact delta. For each , the smallest with for all events is
where the term is 1 on the event . The first form is the hockey-stick divergence, reached at . The second form follows from . So is -DP if and only if for every ordered pair of neighbors. 2. Pure DP. is -DP if and only if with probability 1 for every ordered pair of neighbors. 3. A sufficient tail condition. for every ordered pair implies -DP, because . The converse is false. 4. Moments. is the KL divergence , and for , , where is the Renyi divergence. So the moment generating function of holds the Renyi divergences of all orders. 5. Composition. If two mechanisms run with independent coins, the privacy loss of the pair of outputs is the sum of the two privacy losses, and the two terms are independent. So the privacy loss distribution of a composition is the convolution of the distributions of its steps.
Examples and non-examples
Gaussian mechanism. Let with , and let . With and standard normal, a direct computation gives . So , and fact 1 gives the analytic formula of Balle and Wang:
For and this is ; for it is . The law of has no bound, so the Gaussian mechanism is not -DP for any , by fact 2. The tail condition of fact 3 at , gives only , more than twice the exact value.
Laplace mechanism. Let with , and . Then . So with probability (outputs ), with probability (outputs ), and the rest of the mass is spread over the open interval . Since , the Laplace mechanism is -DP. Fact 1 gives for ; for and this is .
Randomized response. With parameter , randomized response reports the true bit with probability . For neighbors with bits 1 and 0, with probability and with probability . Then , the KL divergence of the pair.
The value . A mechanism that outputs the whole dataset with probability , and a fixed symbol otherwise, has with probability and otherwise. Fact 1 gives for every . It is -DP and not -DP for any .
Non-example: one order is not enough. Let and on two outputs. At , but . A guarantee needs the larger value, so a page or a program that tracks only for can be wrong.
Non-example: a small mean is not privacy. A small KL divergence does not bound the tail of . Two laws can have close to 0 while is large on a rare output. This is why accountants track the full law, or all moments, and not only the mean.
Related definitions
- Approximate DP is the bound of fact 1 for all neighbors.
- Renyi differential privacy bounds for one order; zero-concentrated DP bounds it for all orders by a quadratic.
- Gaussian differential privacy compares a pair with the Gaussian pair, whose privacy loss is .
- The moments accountant adds the logs of the moments of over the steps of an algorithm; numerical privacy accounting convolves the laws of directly.
- The likelihood ratio test and the Neyman-Pearson lemma use the same statistic; the best test of against rejects when is above a threshold.
References
- Mark Bun and Thomas Steinke, Concentrated differential privacy: simplifications, extensions, and lower bounds, TCC 2016-B, LNCS 9985, pages 635 to 658, Definition 1.2 (privacy loss random variable) and the statement of zCDP through it
- Clement L. Canonne, Gautam Kamath and Thomas Steinke, The discrete Gaussian for differential privacy, NeurIPS 2020, arXiv 2004.00010, Definition 8 (privacy loss random variable) and the characterization of approximate DP by the privacy loss after it, which cites Meiser and Mohammadi (CCS 2018, Lemma 1)
- 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, the definition of the privacy loss of an outcome in Chapter 2, and Section 3.5 (its use in the proof of advanced composition)
- Cynthia Dwork, Guy N. Rothblum and Salil Vadhan, Boosting and differential privacy, FOCS 2010, pages 51 to 60, the privacy loss as a sum of bounded terms in the proof of the composition theorem
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 XCQTAN Edit this page History Report an error Markdown