Algorithm Search⌘K

Theoremresearch

Fingerprinting code lower bound

Also called Bun-Ullman-Vadhan lower bound.

Fingerprinting codes show that answering d attribute means with (epsilon, delta)-DP and error below 1/2 needs about sqrt(d) rows, which the Gaussian mechanism nearly matches.

The fingerprinting code lower bound says that approximate differential privacy cannot answer dd attribute means with small error unless the dataset has about d\sqrt d rows. A fingerprinting code is a way to give each of nn users a secret string of dd bits, so that a group of users who mix their strings cannot make a new string without being traced. Bun, Ullman and Vadhan (2014) saw that an accurate private mechanism for attribute means would be such a mix that cannot be traced, which contradicts the security of the code. With the codes of Tardos, of length d=O~(n2)d = \tilde O(n^2), every (1,1/(10n))(1, 1/(10n))-DP mechanism with error below 12\frac{1}{2} on dd attribute means needs n=Ω~(d)n = \tilde\Omega(\sqrt d). Steinke and Ullman sharpened this to error Ω(dlog⁡(1/δ)/(εn))\Omega(\sqrt{d\log(1/\delta)}/(\varepsilon n)), which the Gaussian mechanism matches up to a factor O(log⁡log⁡d)O(\sqrt{\log\log d}).

Statement

Setting. A dataset is x∈({0,1}d)nx \in (\{0,1\}^d)^n, nn rows of dd bits. Two datasets are neighbors if they differ in one row (replace). The attribute means are the dd counting queries qj(x)=1n∑ixi,jq_j(x) = \frac{1}{n}\sum_i x_{i,j}. A mechanism MM outputs a∈[0,1]da \in [0,1]^d, and it has error α\alpha with failure β\beta if, for every xx, max⁡j∣aj−qj(x)∣≤α\max_j |a_j - q_j(x)| \le \alpha with probability at least 1−β1 - \beta.

Definition 1 (fingerprinting code, syntax; Vadhan Definition 5.16). A fingerprinting code of length d=d(n)d = d(n) for nn users is a pair of randomized algorithms. Gen\mathrm{Gen} outputs an n×dn \times d matrix CC of bits, with row ii the codeword of user ii, and a tracing key tktk. Trace(tk,w)\mathrm{Trace}(tk, w) takes w∈{0,1}dw \in \{0,1\}^d and outputs a user in [n][n] or ⊥\bot. For a set S⊆[n]S \subseteq [n] of users, ww is feasible for SS if for every column jj, wj=Ci,jw_j = C_{i,j} for some i∈Si \in S. So on every column where all rows of CSC_S have the same bit, ww has that bit too.

Definition 2 (security; Vadhan Definition 5.17). The code is secure if for every nn, every S⊆[n]S \subseteq [n] and every randomized map PP from CSC_S to {0,1}d\{0,1\}^d,

P[w is feasible for S and Trace(tk,w)∉S]≤negl(n),w=P(CS),P[w \text{ is feasible for } S \text{ and } \mathrm{Trace}(tk, w) \notin S] \le \mathrm{negl}(n), \quad w = P(C_S),

with the probability over Gen\mathrm{Gen} and PP, and negl(n)=n−ω(1)\mathrm{negl}(n) = n^{-\omega(1)}.

Theorem 1 (Tardos; Vadhan Theorem 5.18). For every nn there is a secure fingerprinting code of length d=O~(n2)d = \tilde O(n^2) for nn users.

Theorem 2 (codes give lower bounds; Bun, Ullman and Vadhan, Vadhan Theorem 5.20). Suppose a secure fingerprinting code of length dd for n+1n + 1 users exists. Then for all large nn, no (1,1/(10n))(1, 1/(10n))-DP mechanism on ({0,1}d)n(\{0,1\}^d)^n answers the dd attribute means with error α<12\alpha < \frac{1}{2} and failure β≤1/(10n)\beta \le 1/(10n).

Theorem 3 (attribute means; Steinke and Ullman, Vadhan Theorem 5.21). For every dd, ε∈(0,1)\varepsilon \in (0,1) and δ∈(2−d,1/n1.1)\delta \in (2^{-d}, 1/n^{1.1}), every (ε,δ)(\varepsilon, \delta)-DP mechanism that with high probability answers all dd attribute means with error at most α\alpha has

α≥Ω(min⁡{dlog⁡(1/δ)εn,1}).\alpha \ge \Omega\left(\min\left\{\frac{\sqrt{d\log(1/\delta)}}{\varepsilon n}, 1\right\}\right).

Theorem 4 (arbitrary counting queries; Bun, Ullman and Vadhan, Vadhan Theorem 5.22). For all d,n,kd, n, k with n2.1≤k≤22d/3n^{2.1} \le k \le 2^{2^{d/3}}, there is a family QQ of kk counting queries on X={0,1}dX = \{0,1\}^d such that every (ε,1/(10n))(\varepsilon, 1/(10n))-DP mechanism that with high probability answers all of QQ with error at most α\alpha has

α≥Ω~((log⁡∣X∣ log⁡∣Q∣εn)1/2).\alpha \ge \tilde\Omega\left(\left(\frac{\sqrt{\log|X|}\,\log|Q|}{\varepsilon n}\right)^{1/2}\right).

Vadhan Theorem 5.23 gives a bound of the same kind for tt-way marginals; see the source for its exact range of nn and tt.

The lesson. For approximate DP, about d/ε\sqrt d/\varepsilon rows are needed to answer dd attribute means with constant error. No method, however clever, beats the Gaussian mechanism by more than a factor O(log⁡log⁡d)O(\sqrt{\log\log d}) on this task.

In plain words

A film studio marks each customer's copy of a film in dd scenes, with a different pattern for each customer. If a few customers mix their copies, the studio can still name one of them. The pirates must obey one rule: if all their copies agree in a scene, the pirate copy has that mark too.

Now let the patterns be the rows of a dataset. An accurate private mechanism for the column means, rounded to 0 or 1, obeys the rule, so the studio can name someone in the dataset. But a private output depends little on one person, so that person is also named when left out. Then the studio accuses an innocent person too often, and the code is not secure. So the dataset must be too small for the mechanism to be accurate.

Proof

Theorem 2 is proved in full. Theorems 1, 3 and 4 are stated with their locators and not proved here.

Theorem 2. Assume MM is (1,1/(10n))(1, 1/(10n))-DP and answers the dd attribute means with error below 12\frac{1}{2} and failure β≤1/(10n)\beta \le 1/(10n). We may assume that the law of M(x)M(x) does not depend on the order of the rows, since MM can first permute the rows at random. Let P=Round∘MP = \mathrm{Round} \circ M, where Round\mathrm{Round} rounds each coordinate to the nearest bit. By post-processing, PP is (1,1/(10n))(1, 1/(10n))-DP.

Generate (C,tk)(C, tk) for n+1n + 1 users and let S=[n]S = [n].

Step 1: P(CS)P(C_S) is feasible with probability at least 1−β1 - \beta. If all rows of CSC_S have the bit bb in column jj, then qj(CS)=bq_j(C_S) = b. When MM succeeds, ∣aj−b∣<12|a_j - b| < \frac{1}{2}, so Round(aj)=b\mathrm{Round}(a_j) = b.

Step 2: someone in SS is accused often. By security, P[w feasible and Trace(tk,w)∉S]≤νP[w \text{ feasible and } \mathrm{Trace}(tk, w) \notin S] \le \nu with ν\nu negligible, so P[Trace(tk,P(CS))∈S]≥1−β−νP[\mathrm{Trace}(tk, P(C_S)) \in S] \ge 1 - \beta - \nu. There are nn users in SS, so some fixed i∗∈Si^* \in S has

P[Trace(tk,P(CS))=i∗]≥1−β−νn.P[\mathrm{Trace}(tk, P(C_S)) = i^*] \ge \frac{1 - \beta - \nu}{n}.

Step 3: privacy moves the accusation to a set without i∗i^*. Let S′=[n+1]∖{i∗}S' = [n+1] \setminus \{i^*\}. Up to the order of rows, CS′C_{S'} is CSC_S with row i∗i^* replaced by row n+1n+1, so for each fixed (C,tk)(C, tk) the two datasets are neighbors. The event {Trace(tk,⋅)=i∗}\{\mathrm{Trace}(tk, \cdot) = i^*\} is a fixed set of outputs of PP, so DP gives, for each (C,tk)(C, tk) and then on average,

P[Trace(tk,P(CS))=i∗]≤e⋅P[Trace(tk,P(CS′))=i∗]+110n.P[\mathrm{Trace}(tk, P(C_S)) = i^*] \le e \cdot P[\mathrm{Trace}(tk, P(C_{S'})) = i^*] + \frac{1}{10n}.

Step 4: the code is broken. Combine steps 2 and 3:

P[Trace(tk,P(CS′))=i∗]≥1e(1−β−νn−110n)≥0.8−νen>0.29n−ν.P[\mathrm{Trace}(tk, P(C_{S'})) = i^*] \ge \frac{1}{e}\left(\frac{1 - \beta - \nu}{n} - \frac{1}{10n}\right) \ge \frac{0.8 - \nu}{e n} > \frac{0.29}{n} - \nu.

Now apply Steps 1 and 2 to S′S', which has nn users: P(CS′)P(C_{S'}) is feasible for S′S' with probability at least 1−β1 - \beta, and security for S′S' gives P[Trace(tk,P(CS′))=i∗]≤β+ν≤0.1/n+νP[\mathrm{Trace}(tk, P(C_{S'})) = i^*] \le \beta + \nu \le 0.1/n + \nu, since i∗∉S′i^* \notin S'. For large nn, 0.29/n−ν>0.1/n+ν0.29/n - \nu > 0.1/n + \nu, because ν\nu is negligible. This is a contradiction. ■\blacksquare

From Theorem 2 to d\sqrt d rows. With Theorem 1, a code for n+1n + 1 users has length d=O~(n2)d = \tilde O(n^2). A mechanism for more columns also answers fewer columns, so for all dd above this length no such mechanism exists on nn rows. Put the other way, a (1,1/(10n))(1, 1/(10n))-DP mechanism with error below 12\frac{1}{2} on dd attribute means needs n≥Ω~(d)n \ge \tilde\Omega(\sqrt d). Vadhan notes that simple reductions then give α≥Ω~(d)/(εn)\alpha \ge \tilde\Omega(\sqrt d)/(\varepsilon n) in general.

A hand example of Step 1. Let CSC_S have the rows 10111011, 11011101 and 10011001. Columns 1 and 4 are 1 in every row, and columns 2 and 3 have the mean 13\frac{1}{3}. If every mean is within 12\frac{1}{2}, then a1>12a_1 > \frac{1}{2} and a4>12a_4 > \frac{1}{2}, so the rounded output starts and ends with 1. It is feasible for SS whatever the middle bits are.

Consequences

  • The price of approximate DP. For dd attribute means with δ>0\delta > 0, the error is Θ~(dlog⁡(1/δ)/(εn))\tilde\Theta(\sqrt{d \log(1/\delta)}/(\varepsilon n)). The packing lower bound gives only Ω(min⁡{d,log⁡(1/δ)}/(εn))\Omega(\min\{d, \log(1/\delta)\}/(\varepsilon n)) here, and the reconstruction theorems give Ω(d/n)\Omega(\sqrt d/n) only when d<nd < n. Theorem 3 contains both (Vadhan, after Theorem 5.21).
  • Query release. Theorem 4 shows that the error of private multiplicative weights, and so of MWEM-style methods, is nearly optimal for worst-case families of counting queries. This is a limit for every private query release method.
  • Roles switch. In the proof the private mechanism plays the pirate, and the tracing algorithm plays the adversary against privacy. A tracing adversary decides only if a person is in the data, which is weaker than reconstruction, but it can still matter, for example if all the rows are patients with one disease.
  • The real-world lesson. Homer et al. (2008) showed that exact summary statistics of genomic data can show if one person's DNA is in a study. After that, the US National Institutes of Health removed open online access to summary statistics of some genomic datasets (Zerhouni and Nabel 2008, cited by Vadhan as [62, 109]). Dwork, Smith, Steinke, Ullman and Vadhan (2015) show that the risk stays when the statistics are only approximate and the attacker knows little about the code. This page gives only the theorem and its lesson. The defense is noise of the size of Theorem 3, from a cryptographic source of randomness with exact sampling (Mironov 2012; Canonne, Kamath and Steinke 2020).

Tightness

The bounds are nearly tight (theorems). For attribute means, the Gaussian mechanism with the composition bound of Vadhan Theorem 2.7 has error O(dlog⁡(1/δ)log⁡log⁡d/(εn))O(\sqrt{d \log(1/\delta) \log\log d}/(\varepsilon n)), which is Theorem 3 up to O(log⁡log⁡d)O(\sqrt{\log\log d}). For arbitrary families of counting queries, private multiplicative weights (Hardt and Rothblum; Vadhan Theorem 4.3) has error O((log⁡∣X∣log⁡(1/δ) log⁡∣Q∣/(εn))1/2)O((\sqrt{\log|X| \log(1/\delta)}\,\log|Q|/(\varepsilon n))^{1/2}). With δ=1/(10n)\delta = 1/(10n), Theorem 4 matches it up to the factor log⁡(1/δ)1/4\log(1/\delta)^{1/4} and log factors. Theorem 3 removes the restriction of Theorem 2 to ε=1\varepsilon = 1 and δ=1/(10n)\delta = 1/(10n). The range of δ\delta in Theorem 3 is needed: for δ≤2−d\delta \le 2^{-d} the packing lower bound of order d/(εn)d/(\varepsilon n) takes over.

History

Boneh and Shaw (1998) defined collusion-secure fingerprinting codes for digital content, with a code of length about n3n^3, and Tardos (2003) gave codes of the optimal length O~(n2)\tilde O(n^2). Ullman (STOC 2013) used fingerprinting codes inside a cryptographic construction to show that answering n2+o(1)n^{2+o(1)} counting queries privately and efficiently is hard. Bun, Ullman and Vadhan (STOC 2014) proved the information-theoretic lower bounds for attribute means, arbitrary counting queries and marginals. Steinke and Ullman (2015) proved the bound with log⁡(1/δ)\sqrt{\log(1/\delta)}, and Dwork, Smith, Steinke, Ullman and Vadhan (FOCS 2015) made the tracing robust. Vadhan (2017, Section 5.3) gives the presentation used here.

References

  1. Mark Bun, Jonathan Ullman and Salil Vadhan, Fingerprinting codes and the price of approximate differential privacy, STOC 2014, pages 1 to 10, the reduction from fingerprinting codes to lower bounds for attribute means, and the lower bounds for arbitrary counting queries and for marginals
  2. Salil Vadhan, The complexity of differential privacy, in Tutorials on the Foundations of Cryptography, Springer, 2017, pages 347 to 450, Section 5.3: Definitions 5.16 and 5.17 (fingerprinting codes), Theorem 5.18 (Tardos), Claim 5.19 (Boneh-Shaw), Theorem 5.20 (codes imply lower bounds for attribute means), Theorems 5.21, 5.22 and 5.23
  3. Gabor Tardos, Optimal probabilistic fingerprint codes, STOC 2003, pages 116 to 125, fingerprinting codes of length O(n^2 log(n/negl)) for n users
  4. Dan Boneh and James Shaw, Collusion-secure fingerprinting for digital data, IEEE Transactions on Information Theory 44(5), 1998, pages 1897 to 1905, the definition of collusion-secure fingerprinting and a code of length about n^3
  5. Thomas Steinke and Jonathan Ullman, Between pure and approximate differential privacy, arXiv:1501.06095, the lower bound of order sqrt(d log(1/delta))/(epsilon n) for attribute means
  6. Cynthia Dwork, Adam Smith, Thomas Steinke, Jonathan Ullman and Salil Vadhan, Robust traceability from trace amounts, FOCS 2015, pages 650 to 669, robust forms of the codes with biased Bernoulli columns, and the link to tracing with summary statistics

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.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/E37PHH/text.yaml