Theoremcore
Dinur-Nissim reconstruction attack
Also called fundamental law of information recovery, database reconstruction attack.
If all 2^n subset sums of n secret bits have error o(n), or about n random ones have error o(sqrt n), almost all bits follow from the answers, so no private mechanism is that accurate.
The Dinur-Nissim theorems are lower bounds on the error of every mechanism that protects privacy. A dataset holds one secret bit for each of people, and a query asks for the number of 1s in a subset of the rows. If a mechanism answers all subset queries with error , or about random subset queries with error , then the answers fix all but a small fraction of the bits. Such a mechanism is "blatantly non-private", and no differentially private mechanism can be that. So too many accurate answers destroy privacy, whatever the method of noise. The result came before differential privacy and shaped it: noise of order on each of counts is needed, and up to log factors it is enough.
Statement
Setting. A dataset is a vector , one secret bit for each row. Two datasets are neighbors if they differ in one row (replace). A query is , a subset of the rows, with the normalized answer . A mechanism answers a set of queries with error if, with high probability, its outputs satisfy for all .
Definition (blatant non-privacy; Vadhan Definition 5.1, Dwork-Roth Definition 8.1). is blatantly non-private if for every , one can compute from a vector that differs from in at most coordinates, with high probability over the coins of .
Theorem 1 (all queries; Vadhan Theorem 5.2, Dwork-Roth Theorem 8.1). If for every , then every with for all differs from in at most coordinates. Such an exists, since is one. So with , is blatantly non-private (Vadhan Corollary 5.3).
Theorem 2 (partial discrepancy; Vadhan Theorem 5.5). Let be the matrix with rows , and let
If answers with error , then is blatantly non-private.
Theorem 3 (few queries; Vadhan Theorem 5.6 with Lemma 5.7). There is a constant such that, with high probability, uniformly random queries have . Then every mechanism that answers them with error below is blatantly non-private. In counts, the error must be at least on some query.
Theorem 4 (private mechanisms are not blatantly non-private). Let and let be -DP. For a uniformly random and any rule that guesses from , the expected fraction of correct bits is at most . For and this is below , so cannot reach correct bits with probability above .
The lesson. By Theorems 1, 3 and 4, a -DP mechanism has error above on some subset query, and error at least on some of random subset queries. Every private method of data release must pay this error.
In plain words
Each person in a table has one secret yes or no. You may ask "how many of these people said yes?" for any group you like, and you get an answer that is a little wrong.
If you may ask about every group and each answer is wrong by much less than , then only a table close to the true one fits all the answers: ask about the people who said no, and about those who said yes, and a wrong guess shows up. If you ask about only random groups, a far table still fails some random group by about . So answers wrong by much less than let anyone rebuild almost all secrets. A private method must make its answers wrong by at least about .
Proof
All four parts are proved here, except Lemma 5.7 of Vadhan in Theorem 3, which is a marked sketch.
Theorem 1. Fix that is consistent with all answers. By the triangle inequality, for every . Take , the set of rows with . Then , and is the number of rows with and , so there are at most such rows. Take , the set of rows with . Then is the number of rows with and , again at most . So and differ in at most rows, which is at most for .
Theorem 2. Let be consistent with the answers to (the true is one), and let . By the triangle inequality, . By the definition of , this forces , so differs from in at most rows.
Theorem 3 (sketch of Lemma 5.7). This is a sketch; the full argument is Vadhan, the proof sketch of Lemma 5.7, with the anticoncentration bound he cites there. Fix with . Then has more than entries of the same sign, so for a random the value is a difference of two independent binomial sums, one with more than fair terms. By anticoncentration, with probability at least . For independent queries, all fail with probability at most . A union bound over at most vectors gives , and in fact small, for a small constant . So with high probability, and Theorem 2 applies with .
Theorem 4. Fix a row and a guess rule for bit . Let be with , for the other rows fixed. Let and . The two datasets are neighbors, so and . Adding them gives , so the chance of a correct guess of bit is at most . Average over the other rows and sum over for the expected number of correct bits. If were blatantly non-private with probability , the expected fraction would be at least , which is above for .
A hand example of the proof of Theorem 1. Take and , with counts that are wrong by at most . The candidate differs from in rows 2 and 6. The query has the true count 0 and the count 2 on . An answer within 0.9 of 0 is more than 0.9 from 2, so the answer to rules out . In general, the candidates that survive differ from in at most rows of and rows of , here at most 1 row each.
Consequences
- Error of order is the price of privacy for counts. Any -DP release of random subset counts has error of order on some count, for constant and .
- A limit on query release. A mechanism for private query release cannot answer all subset queries on rows with error below in counts. With more rows than the log of the number of queries, as in SmallDB and MWEM, the error can be small.
- Polynomial time. A linear program finds a fractional that is consistent with the answers, and rounding gives the same conclusion for random queries (Vadhan, the remark after Lemma 5.7). Dwork and Yekhanin give explicit query sets with fast decoding. So the bound does not need a strong adversary.
- Robustness. Dwork and Roth Theorem 8.2 shows that a linear number of random queries is enough even if only a fraction of the answers have error at most : the answers then fix all but entries.
- Noise is not optional. The theorems do not depend on how the answers are made. Rounding, sampling or "cell suppression" that keeps all answers accurate falls under them as well. A real release also needs a cryptographic source of randomness and exact sampling for its noise (Mironov 2012; Canonne, Kamath and Steinke 2020).
Tightness
The bounds are tight up to constants and log factors (theorems). For all queries, error in normalized form is the right order: answering to every query has error at most and is -DP. The Gaussian mechanism answers counting queries with normalized error , and Vadhan Theorem 2.7 lowers to . For and constant and this is , which matches Theorem 3 up to log factors. With (density , variance , ) on each of counts, the Laplace mechanism has error of order in counts, which is -DP but larger than .
History
Dinur and Nissim (PODS 2003) proved the reconstruction theorems, for subset sums with error on all queries and with error on polynomially many queries, with an efficient decoder for the second. Dwork, McSherry, Nissim and Smith (2006) then defined differential privacy with noise calibrated to sensitivity. Dwork, McSherry and Talwar (2007) and Dwork and Yekhanin (2008) made the attacks robust and fast. Dwork and Roth (2014) and Vadhan (2017) present the results as lower bounds, with the partial discrepancy view. The theorems are often cited as a reason for statistical agencies to protect published tables with formal privacy.
References
- Irit Dinur and Kobbi Nissim, Revealing information while preserving privacy, PODS 2003, pages 202 to 210, the reconstruction theorems for subset sum queries with error o(n) and o(sqrt n)
- Salil Vadhan, The complexity of differential privacy, in Tutorials on the Foundations of Cryptography, Springer, 2017, pages 347 to 450, Section 5.1: Definition 5.1 (blatant non-privacy), Theorem 5.2 and Corollary 5.3, Definition 5.4 (partial discrepancy), Theorem 5.5, Theorem 5.6 and Lemma 5.7, and the remark on a polynomial-time version with a linear program
- Cynthia Dwork and Aaron Roth, The Algorithmic Foundations of Differential Privacy, Foundations and Trends in Theoretical Computer Science 9(3-4), 2014, Section 8.1: Definition 8.1 (blatant non-privacy), Theorem 8.1 (error E on all subsets gives 4E wrong positions), Theorem 8.2 (a linear number of random queries, robust to a fraction of bad answers)
- Cynthia Dwork and Sergey Yekhanin, New efficient attacks on statistical disclosure control mechanisms, CRYPTO 2008, LNCS 5157, pages 469 to 480, explicit query sets with a polynomial-time reconstruction
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 H49EPH Edit this page History Report an error Markdown