Problemcore
Private query release
Also called private data release, differentially private synthetic data.
Answer every query of a large class, such as all counting queries, accurately under differential privacy.
- Origin
- Avrim Blum, Katrina Ligett, Aaron Roth, 2008
Private query release asks for answers to every query in a large class , such as all counting queries over a universe or all marginals of a table, under differential privacy. The answers must all be accurate at the same time, and the release must hide each row. If each query gets its own noise, the error grows with the number of queries, so a few thousand queries on a few thousand rows give nothing useful. Blum, Ligett and Roth (2008) showed that the error can grow only with the logarithm of and of the universe size: release a small synthetic dataset, chosen privately, and answer every query from it. Lower bounds show the limits: no mechanism answers too many queries too well (reconstruction), pure DP pays (packing), and approximate DP pays about for attribute means (fingerprinting codes). Efficient algorithms for every class do not exist under standard cryptographic assumptions.
Notation. is the data universe, the number of rows, the query class, the error and the failure probability. For , is the number of binary attributes. has the density , the variance and .
In plain words
A hospital wants to publish many statistics about its patients: how many are over 60, how many smoke, how many are over 60 and smoke, and so on, for every combination someone might ask. Each number must be close to the truth, and no number may give away a single patient.
If you add separate noise to each number, the noise must grow with the count of numbers, because together they say a lot. A better way is to build a small fake table of patients that gives nearly the right answer to every question, choose it with a private random process, and publish only the fake table. Then anyone can ask any question of the fake table. This works when the table has enough real rows. Some limits cannot be beaten: with too few rows, any table that answers all questions well also gives away the patients.
Definition
Data and privacy. A dataset is . Two datasets are neighbors if they differ in one row (replace). A mechanism is -DP if for all neighbors and all sets of outputs.
Queries. A counting query is , with the answer . A linear query has in the same formula. The class is public.
Accuracy. outputs a vector , or a data structure that answers every . It is -accurate for if for every dataset ,
The problem. Given , , , and , find an -DP mechanism with the least . The dual question is the sample complexity: the least for which error is possible. A mechanism is efficient if it runs in time polynomial in , and , not in .
Variants
- Synthetic data. The output is a dataset , and . This is the form of SmallDB and MWEM, and the one users can load into normal tools.
- Offline and online. In the offline (non-interactive) form, is fixed and all answers come at once. In the online form, an analyst picks each query after seeing the earlier answers, as in private multiplicative weights and the sparse vector technique.
- Linear workloads and other error measures. For a workload matrix of linear queries, one may ask for small mean squared error and not the worst error, as in the matrix mechanism.
- Special classes. Point functions (a histogram), thresholds and ranges on an ordered universe, -way marginals (conjunctions of attributes), and the attribute means .
- Continual release. Data arrive in a stream and the counts must be released at every step, as in the binary tree mechanism.
- Neighbor relation. With add or remove neighbors, is private and the answers are counts, not fractions. The bounds change by constant factors.
Examples
All 256 counting queries on 3 binary attributes. Take , so cells, with rows, and . Every counting query is a set of cells, so has queries. The numbers below come from the formula for the maximum of independent Laplace variables (theorems, not measurements).
| method | sensitivity in | noise | error bound with probability 0.95 |
|---|---|---|---|
| Laplace on all 256 answers | each | 1.09 on the worst query | |
| Laplace on the 8 cells, then add cells | each | 0.0101 on each cell, so at most 0.081 on any query |
Replacing one row moves one unit of count from one cell to another. That changes the 128 queries that hold exactly one of the two cells, so the vector of 256 answers has sensitivity , and the Laplace mechanism on it is useless. The histogram has sensitivity , and every query is a sum of at most 8 noisy cells. A query of 8 cells has the noise standard deviation . The noisy histogram is itself synthetic data. This works because is small; for with large the histogram has cells and the methods below are needed.
Reconstruction as a limit. With and all subsets of rows given by row identifiers, error below on every query lets anyone rebuild 90 percent of the bits (Vadhan Corollary 5.3). So query classes that refer to single rows cannot be released accurately. Classes that treat rows as a multiset, like counting queries on , can.
Known algorithms
The bounds are on the worst error with high probability, from the sources (theorems).
| algorithm | privacy | error | time |
|---|---|---|---|
| Laplace on each query (Vadhan Theorem 2.6) | |||
| Gaussian on each query (Vadhan Theorem 2.7) | |||
| Laplace histogram | for any counting query | ||
| SmallDB (Blum, Ligett and Roth; Vadhan Theorem 4.1) | |||
| Private multiplicative weights (Hardt and Rothblum; Vadhan Theorem 4.3) | per query | ||
| MWEM (Hardt, Ligett and McSherry) | of order , like SmallDB | per round | |
| Matrix mechanism (Li et al.) | or | mean squared error set by a strategy matrix | a convex search over strategies |
| Binary tree mechanism | in counts for prefix sums | per step |
The first two rows pay a power of , and the SmallDB and multiplicative weights rows pay only , at the price of a lower power of and time polynomial in . For a small universe the histogram is best. The Laplace histogram row uses the union bound over cells; for a query of cells the error is a sum of noise terms. Each method needs a cryptographic source of randomness and exact sampling in a deployment (Mironov 2012; Canonne, Kamath and Steinke 2020).
Bounds
- Reconstruction (Dinur and Nissim; Vadhan Theorems 5.2 and 5.6). A class that refers to single rows cannot be released with error on all queries, or error on random queries. See the reconstruction theorems.
- Packing (Vadhan Theorems 5.13 to 5.15). For pure DP and a class that tells all of apart, , and the sample complexity for constant error is set by a packing number. See the packing lower bound.
- Fingerprinting codes (Vadhan Theorems 5.21 and 5.22). For -DP, attribute means need error , and some classes of queries with need error , close to private multiplicative weights. See the fingerprinting code lower bound.
- Running time. Under cryptographic assumptions, some classes of counting queries on have no accurate private release in time polynomial in and (Dwork, Naor, Reingold, Rothblum and Vadhan, STOC 2009). Ullman (STOC 2013) shows that answering more than about arbitrary counting queries efficiently is hard, while the Gaussian mechanism answers about of them efficiently with constant error. Vadhan Section 6 (traitor-tracing lower bounds and lower bounds for synthetic data) surveys these results.
Reductions
- Synthetic data gives query release. A synthetic dataset answers every by , by post-processing. For a small universe the converse holds with twice the error: a linear program finds the fractional histogram whose answers are nearest to the noisy answers in the worst query, and the true histogram is a candidate, so the result is within of the truth.
- Small datasets suffice. For every and every of counting queries, a random sample of rows of answers all of within (a Chernoff and union bound). So the search can be over datasets of rows, which is the base of SmallDB; for a class of finite VC dimension, can be replaced by the VC dimension (Blum, Ligett and Roth).
- Online from offline. Private multiplicative weights uses the sparse vector technique to answer an online query only when the current synthetic data errs on it, and pays only for those updates.
- Lower bounds from codes and attacks. The lower bounds above reduce from reconstruction and from fingerprinting codes; the hardness results reduce from traitor-tracing schemes.
Applications
- Official statistics. Agencies publish large sets of counts and marginal tables; query release is the model for formal privacy of such tables, and the reconstruction theorems explain why tables with exact counts are a risk.
- Synthetic data for analysts. A private synthetic dataset can be loaded into normal tools, and every later analysis is free by post-processing.
- Range and prefix counts. Dashboards of counts over time or over ranges use tree-based and matrix methods.
- Learning. Answers to all statistical queries of a class let a learner train in the statistical query model with no extra privacy cost.
References
- Salil Vadhan, The complexity of differential privacy, in Tutorials on the Foundations of Cryptography, Springer, 2017, pages 347 to 450, Section 2 (Theorems 2.6 and 2.7, arbitrary counting queries), Section 4 (Theorem 4.1, SmallDB, and Theorem 4.3, private multiplicative weights), Section 5 (information-theoretic lower bounds) and Section 6 (computational lower bounds)
- Cynthia Dwork and Aaron Roth, The Algorithmic Foundations of Differential Privacy, Foundations and Trends in Theoretical Computer Science 9(3-4), 2014, Chapter 4 (releasing linear queries with correlated error: SmallDB and online multiplicative weights) and Chapter 8 (lower bounds)
- Avrim Blum, Katrina Ligett and Aaron Roth, A learning theory approach to noninteractive database privacy, Journal of the ACM 60(2), Article 12, 2013, the release of a small synthetic database for a class of finite VC dimension
- Moritz Hardt and Guy N. Rothblum, A multiplicative weights mechanism for privacy-preserving data analysis, FOCS 2010, pages 61 to 70, private multiplicative weights, an online mechanism with error of order n to the minus 1/2
- Jonathan Ullman, Answering n^(2+o(1)) counting queries with differential privacy is hard, STOC 2013, pages 361 to 370, the hardness of efficient release for more than about n^2 arbitrary counting queries
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 | W2 basic |
|
Tag N6CR1F Edit this page History Report an error Markdown