Algorithm Search⌘K

Theoremadvanced

Packing lower bound for differential privacy

Also called Hardt-Talwar packing argument.

If many datasets close to one dataset each need their own region of outputs, an epsilon-DP mechanism fails on one of them unless there are at most about e^(m epsilon) of them.

The packing lower bound is a counting argument that limits every differentially private mechanism. Take a family CC of datasets that are all within mm changed rows of one dataset x0x_0, and suppose that a mechanism must put each x∈Cx \in C in its own region GxG_x of outputs, with the regions disjoint. Group privacy says that the output law on x0x_0 is close to the law on each x∈Cx \in C, so x0x_0 must give each region a fair share of its mass. The regions are disjoint and the mass is 1, so CC cannot be large: for ε\varepsilon-DP and success 12\frac{1}{2}, ∣C∣≤2emε|C| \le 2e^{m\varepsilon}. For counting queries that tell all elements of the universe XX apart, this gives error Ω(log⁡∣X∣/(εn))\Omega(\log|X|/(\varepsilon n)) for pure DP, and with δ>0\delta > 0 the bound Ω(min⁡{log⁡∣X∣,log⁡(1/δ)}/(εn))\Omega(\min\{\log|X|, \log(1/\delta)\}/(\varepsilon n)).

Statement

Setting. A dataset is x∈Xnx \in X^n. Two datasets are neighbors if they differ in one row (replace), and d(x,x′)d(x, x') is the number of rows in which they differ. M:Xn→YM : X^n \to Y is (ε,δ)(\varepsilon, \delta)-DP. A counting query is q:X→{0,1}q : X \to \{0, 1\}, with the answer q(x)=1n∑iq(xi)q(x) = \frac{1}{n}\sum_i q(x_i).

Theorem 1 (packing; Vadhan Theorem 5.13, Dwork-Roth Lemma 8.4). Let C⊆XnC \subseteq X^n be datasets with d(x,x0)≤md(x, x_0) \le m for all x∈Cx \in C, and let {Gx}x∈C\{G_x\}_{x \in C} be disjoint sets of outputs. If P[M(x)∈Gx]≥pP[M(x) \in G_x] \ge p for every x∈Cx \in C, then

1∣C∣≥p e−mε−δmin⁡{m,1/(eε−1)}.\frac{1}{|C|} \ge p\,e^{-m\varepsilon} - \delta \min\{m, 1/(e^{\varepsilon} - 1)\}.

For p=12p = \frac{1}{2} and δ=0\delta = 0, ∣C∣≤2emε|C| \le 2e^{m\varepsilon}, so m≥ln⁡(∣C∣/2)/εm \ge \ln(|C|/2)/\varepsilon.

Theorem 2 (non-redundant queries; Vadhan Theorem 5.14). Let QQ be a set of counting queries that tells all elements of XX apart: for all w≠w′w \ne w' in XX some q∈Qq \in Q has q(w)≠q(w′)q(w) \ne q(w'). Let MM be (ε,δ)(\varepsilon, \delta)-DP with ε≤1\varepsilon \le 1, and suppose that on every dataset, with probability at least 12\frac{1}{2}, MM answers all of QQ with error at most α<(n−1)/(2n)\alpha < (n-1)/(2n). Then

α≥12n(ln⁡(∣X∣/4)ε−1)orα≥12n(ln⁡(ε/(4δ))ε−1).\alpha \ge \frac{1}{2n}\left(\frac{\ln(|X|/4)}{\varepsilon} - 1\right) \quad \text{or} \quad \alpha \ge \frac{1}{2n}\left(\frac{\ln(\varepsilon/(4\delta))}{\varepsilon} - 1\right).

So α≥min⁡{Ω(log⁡∣X∣/(εn)),Ω(log⁡(1/δ)/(εn)),12}\alpha \ge \min\{\Omega(\log|X|/(\varepsilon n)), \Omega(\log(1/\delta)/(\varepsilon n)), \frac{1}{2}\} when δ≤ε2/16\delta \le \varepsilon^2/16, since then ln⁡(ε/(4δ))≥12ln⁡(1/δ)\ln(\varepsilon/(4\delta)) \ge \frac{1}{2}\ln(1/\delta).

Theorem 3 (packing characterization; Vadhan Theorem 5.15, stated without proof). For pure DP and constant error, the least nn is of order log⁡Pβ(K)/(βε)\log P_\beta(K)/(\beta\varepsilon), where KK is the convex hull of the answer vectors (q(w))q∈Q(q(w))_{q \in Q} of single elements w∈Xw \in X and Pβ(K)P_\beta(K) is the largest number of points of KK at pairwise ℓ∞\ell_\infty distance above β\beta. The lower bound is Theorem 1, and the upper bound is the exponential mechanism over such a packing. See Vadhan for the exact quantifiers over α\alpha and β\beta.

The lesson. Pure DP pays the logarithm of the number of outputs that must be told apart, divided by ε\varepsilon, in rows. Approximate DP can avoid this cost once log⁡(1/δ)\log(1/\delta) is below log⁡∣X∣\log|X|, and then other methods, such as the fingerprinting code lower bound, give the limits.

In plain words

A private method must act almost the same on datasets that differ in a few rows. Suppose you have many datasets, all a few rows away from one central dataset, and the method must give a clearly different answer for each.

On the central dataset, the method must still give each of these answers with a fair chance, because the central dataset is close to all of them. But the chances on one dataset add up to at most 1. So only a few datasets can each have their own answer. If the queries must tell apart ∣X∣|X| such datasets, the number of changed rows must be about log⁡∣X∣/ε\log|X|/\varepsilon, and that sets a floor on the error.

Proof

Group privacy with an exact constant. Let d(x,x′)=kd(x, x') = k and let x=y0,y1,…,yk=x′x = y_0, y_1, \dots, y_k = x' be a path of neighbors. Apply the definition of (ε,δ)(\varepsilon, \delta)-DP kk times:

P[M(x)∈T]≤ekεP[M(x′)∈T]+δ∑j=0k−1ejε.P[M(x) \in T] \le e^{k\varepsilon} P[M(x') \in T] + \delta \sum_{j=0}^{k-1} e^{j\varepsilon}.

This is Vadhan Lemma 2.2, before its last step bounds the sum by kekεk e^{k\varepsilon}.

Theorem 1. Fix x∈Cx \in C and apply group privacy with k=d(x,x0)≤mk = d(x, x_0) \le m and T=GxT = G_x. Since P[M(x)∈Gx]≥pP[M(x) \in G_x] \ge p,

P[M(x0)∈Gx]≥e−mε(p−δ∑j=0m−1ejε)=p e−mε−δ∑i=1me−iε.P[M(x_0) \in G_x] \ge e^{-m\varepsilon}\Big(p - \delta \sum_{j=0}^{m-1} e^{j\varepsilon}\Big) = p\,e^{-m\varepsilon} - \delta \sum_{i=1}^{m} e^{-i\varepsilon}.

The last sum is at most mm, and at most ∑i≥1e−iε=1/(eε−1)\sum_{i \ge 1} e^{-i\varepsilon} = 1/(e^{\varepsilon} - 1). (A path shorter than mm gives a larger right side, so the bound holds for all x∈Cx \in C.) The sets GxG_x are disjoint, so

1≥P[M(x0)∈⋃x∈CGx]=∑x∈CP[M(x0)∈Gx]≥∣C∣(p e−mε−δmin⁡{m,1/(eε−1)}).1 \ge P\Big[M(x_0) \in \bigcup_{x \in C} G_x\Big] = \sum_{x \in C} P[M(x_0) \in G_x] \ge |C|\big(p\,e^{-m\varepsilon} - \delta \min\{m, 1/(e^{\varepsilon} - 1)\}\big).

Divide by ∣C∣|C|. For p=12p = \frac{1}{2} and δ=0\delta = 0 this is ∣C∣≤2emε|C| \le 2e^{m\varepsilon}. ■\blacksquare

Theorem 2. Let m=⌊2αn+1⌋m = \lfloor 2\alpha n + 1 \rfloor, so 2αn<m≤2αn+1<n2\alpha n < m \le 2\alpha n + 1 < n by the bound on α\alpha. Fix w0∈Xw_0 \in X. For each w∈Xw \in X, let x(w)x(w) have its first mm rows equal to ww and the other n−mn - m rows equal to w0w_0. Let C={x(w):w∈X}C = \{x(w) : w \in X\}, so ∣C∣=∣X∣|C| = |X| and d(x(w),x(w0))≤md(x(w), x(w_0)) \le m. Let GxG_x be the closed ℓ∞\ell_\infty ball of radius α\alpha around the answer vector (q(x))q∈Q(q(x))_{q \in Q}. Then P[M(x)∈Gx]≥12P[M(x) \in G_x] \ge \frac{1}{2}. For w≠w′w \ne w', take qq with q(w)≠q(w′)q(w) \ne q(w'): then ∣q(x(w))−q(x(w′))∣=m/n>2α|q(x(w)) - q(x(w'))| = m/n > 2\alpha, so Gx(w)G_{x(w)} and Gx(w′)G_{x(w')} are disjoint. Theorem 1 with x0=x(w0)x_0 = x(w_0), p=12p = \frac{1}{2} and 1/(eε−1)≤1/ε1/(e^{\varepsilon} - 1) \le 1/\varepsilon gives

1∣X∣≥12e−mε−δε.\frac{1}{|X|} \ge \frac{1}{2}e^{-m\varepsilon} - \frac{\delta}{\varepsilon}.

So one of the two terms on the right is at least 14e−mε\frac{1}{4}e^{-m\varepsilon}. If 1/∣X∣≥14e−mε1/|X| \ge \frac{1}{4}e^{-m\varepsilon}, then m≥ln⁡(∣X∣/4)/εm \ge \ln(|X|/4)/\varepsilon. If δ/ε≥14e−mε\delta/\varepsilon \ge \frac{1}{4}e^{-m\varepsilon}, then m≥ln⁡(ε/(4δ))/εm \ge \ln(\varepsilon/(4\delta))/\varepsilon. In both cases α≥(m−1)/(2n)\alpha \ge (m - 1)/(2n) gives the claim. If δ≤ε2/16\delta \le \varepsilon^2/16, then δ≤ε/4\sqrt\delta \le \varepsilon/4, so ε/(4δ)≥δ−1/2\varepsilon/(4\delta) \ge \delta^{-1/2} and ln⁡(ε/(4δ))≥12ln⁡(1/δ)\ln(\varepsilon/(4\delta)) \ge \frac{1}{2}\ln(1/\delta). ■\blacksquare

A note on the source. Vadhan Theorem 5.13 prints the term −δ-\delta, but its proof derives −mδ-m\delta from Lemma 2.2, and −mδ-m\delta is what group privacy gives. The form above, with δmin⁡{m,1/(eε−1)}\delta\min\{m, 1/(e^{\varepsilon} - 1)\}, is what the proof supports. Vadhan's proof of Theorem 5.14 uses the term −δ-\delta; with the corrected term the log⁡(1/δ)\log(1/\delta) case needs a condition such as δ≤ε2/16\delta \le \varepsilon^2/16, as above.

Consequences

  • Point functions and attribute means. For X={0,1}dX = \{0,1\}^d, the dd attribute means qj(w)=wjq_j(w) = w_j tell all 2d2^d elements apart. So every ε\varepsilon-DP mechanism has error Ω(d/(εn))\Omega(d/(\varepsilon n)) on them, which the Laplace mechanism matches (Vadhan, after Theorem 5.14; a theorem). Point functions, which ask "how many rows equal ww?", give the same Ω(d/(εn))\Omega(d/(\varepsilon n)) for pure DP and Ω(log⁡(1/δ)/(εn))\Omega(\log(1/\delta)/(\varepsilon n)) for approximate DP, and a stability-based histogram matches the second.
  • Pure and approximate DP differ. With δ>0\delta > 0, group privacy says nothing past m≈ln⁡(1/δ)/εm \approx \ln(1/\delta)/\varepsilon rows, and Theorem 1 becomes empty. This is why the Gaussian mechanism can answer dd attribute means with error O(dlog⁡(1/δ)log⁡d/(εn))O(\sqrt{d \log(1/\delta) \log d}/(\varepsilon n)), below the pure-DP floor d/(εn)d/(\varepsilon n).
  • Lower bounds for query release. For private query release with pure DP, Theorem 3 gives the sample complexity for constant error, and the volume form of Hardt and Talwar gives lower bounds on the error of dd linear queries.
  • Learning. Beimel, Brenner, Kasiviswanathan and Nissim use packing to show that proper private learners of point functions need about log⁡∣X∣/ε\log|X|/\varepsilon samples, which is more than the VC dimension predicts.
  • Practice. The bound does not depend on the noise source. A real mechanism that meets it still needs a cryptographic source of randomness and exact sampling (Mironov 2012; Canonne, Kamath and Steinke 2020).

A worked example. Take X={0,1}3X = \{0,1\}^3, the 3 attribute means, n=10n = 10 and α=0.1\alpha = 0.1. Then m=⌊3⌋=3m = \lfloor 3 \rfloor = 3, and the 8 datasets x(w)x(w) have 3 rows equal to ww and 7 rows equal to 000000. Two of them differ by 3/10=0.3>2α3/10 = 0.3 > 2\alpha in some mean, so the 8 balls of radius 0.1 are disjoint. Theorem 1 with δ=0\delta = 0 and p=12p = \frac{1}{2} gives 8≤2e3ε8 \le 2e^{3\varepsilon}, so ε≥ln⁡(4)/3≈0.46\varepsilon \ge \ln(4)/3 \approx 0.46. No ε\varepsilon-DP mechanism with ε<0.46\varepsilon < 0.46 answers the 3 means of 10 rows within 0.1 with probability 12\frac{1}{2} on every dataset.

Tightness

The bounds are tight in several cases (theorems). For attribute means and pure DP, Ω(d/(εn))\Omega(d/(\varepsilon n)) matches the Laplace mechanism, which adds Lap(d/(εn))\mathrm{Lap}(d/(\varepsilon n)) to each mean. Here Lap(b)\mathrm{Lap}(b) has the density (1/(2b))e−∣z∣/b(1/(2b))e^{-|z|/b}, the variance 2b22b^2 and P(∣Z∣>t)=e−t/bP(|Z| > t) = e^{-t/b}. For point functions, the two terms d/(εn)d/(\varepsilon n) and log⁡(1/δ)/(εn)\log(1/\delta)/(\varepsilon n) are matched by the Laplace histogram and the stability-based histogram (Vadhan Proposition 2.8 and Theorem 3.5). The error 12\frac{1}{2} is reached by the (0,0)(0, 0)-DP mechanism that answers 12\frac{1}{2} to every query. The bound is weak when δ>0\delta > 0 and many queries are asked: for dd attribute means with δ>0\delta > 0 the truth is about d/(εn)\sqrt d/(\varepsilon n), which the packing bound cannot show and fingerprinting codes do.

History

Packing arguments for privacy appear in Hardt and Talwar (STOC 2010), who used them with the geometry of the convex body KK to bound the error of linear queries under ε\varepsilon-DP, and in Beimel, Brenner, Kasiviswanathan and Nissim (Machine Learning 2014), for private learning and data release. Dwork and Roth (2014, Section 8.2) give it as Lemma 8.4 in histogram form. Vadhan (2017, Section 5.2) gives the form used here, with the non-redundant queries and the characterization of sample complexity.

References

  1. Salil Vadhan, The complexity of differential privacy, in Tutorials on the Foundations of Cryptography, Springer, 2017, pages 347 to 450, Lemma 2.2 (group privacy), Section 5.2: Theorem 5.13 (packing lower bound), Theorem 5.14 (non-redundant queries) and Theorem 5.15 (packing characterization of sample complexity)
  2. Cynthia Dwork and Aaron Roth, The Algorithmic Foundations of Differential Privacy, Foundations and Trends in Theoretical Computer Science 9(3-4), 2014, Section 8.2: Lemma 8.4 (2^s datasets at pairwise distance at most Delta give epsilon at least (ln 2)(s-1)/Delta) and Corollary 8.5
  3. Moritz Hardt and Kunal Talwar, On the geometry of differential privacy, STOC 2010, pages 705 to 714, the packing and volume lower bounds for linear queries under epsilon-DP
  4. Amos Beimel, Hai Brenner, Shiva Prasad Kasiviswanathan and Kobbi Nissim, Bounds on the sample complexity for private learning and private data release, Machine Learning 94(3), 2014, pages 401 to 437, the packing lower bound for proper private learning of point functions

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/MYE9WM/text.yaml