Packing lower bounds for differential privacy #
A private mechanism cannot place most of its mass in many pairwise disjoint regions, one for
each of many datasets, when those datasets are all close to a common centre. This is the
packing argument behind lower bounds on the error of (ε, 0)-private mechanisms, due to Hardt
and Talwar [DworkRoth2014, Lemma 8.4 and §8.3].
DifferentiallyPrivate.card_mul_le is the general form, for any adjacency relation. Take a
mechanism that is (ε, δ)-private for the relation relating a centre x₀ to the datasets x j
(j ∈ J), and pairwise disjoint events B j with Pr[M (x j) ∈ B j] ≥ p. Then
|J| · p ≤ exp ε + |J| · δ. The proof compares each x j with x₀ and sums the bounds
Pr[M x₀ ∈ B j], which are at most 1 in total by disjointness.
With group privacy for Hamming adjacency (DifferentiallyPrivate.hammingDist_le), datasets within
Hamming distance m of the centre give |J| · p ≤ exp (m ε) + |J| · ∑ i < m, exp (i ε) δ
(DifferentiallyPrivate.card_mul_le_of_hammingDist_le), and |J| · p ≤ exp (m ε) for pure
privacy (DifferentiallyPrivate.card_mul_le_of_hammingDist_le_of_pure).
DifferentiallyPrivate.log_two_mul_le_of_hammingDist_le is the form of [DworkRoth2014,
Lemma 8.4]: 2 ^ s datasets at pairwise Hamming distance at most Δ with success probability
at least 1 / 2 force ε ≥ ln 2 · (s - 1) / Δ. Dwork and Roth measure distance by the ℓ₁
distance between histograms; here datasets are tuples of rows compared by Hamming distance.
The application is the lower bound for one-way marginals [DworkRoth2014, Theorem 8.7]. A dataset
of n rows in {0, 1} ^ k has k one-way marginals (oneWayMarginals), the number of rows
whose j-th bit is set. Suppose an (ε, 0)-private mechanism answers, on every dataset, all of
them with error less than n / 2 with probability at least p. Then 2 ^ k · p ≤ exp (n ε)
(DifferentiallyPrivate.two_pow_mul_le_of_oneWayMarginals), so (k - 1) ln 2 ≤ n ε for
p = 1 / 2 (DifferentiallyPrivate.log_two_mul_le_of_oneWayMarginals) and n = Ω(k / ε). The
packed datasets are the 2 ^ k datasets with n equal rows.
Main definitions #
Cslib.Privacy.oneWayMarginals: the one-way marginals of a dataset of bit-vector rows.Cslib.Privacy.accurateMarginals: the answers giving every one-way marginal with error less than half the number of rows.
Main results #
Cslib.Privacy.DifferentiallyPrivate.card_mul_le: the packing bound for a general adjacency.Cslib.Privacy.DifferentiallyPrivate.card_mul_le_of_hammingDist_le,Cslib.Privacy.DifferentiallyPrivate.card_mul_le_of_hammingDist_le_of_pure: the packing bound for datasets near a centre in Hamming distance.Cslib.Privacy.DifferentiallyPrivate.log_two_mul_le_of_hammingDist_le: the Hamming form of [DworkRoth2014, Lemma 8.4].Cslib.Privacy.DifferentiallyPrivate.two_pow_mul_le_of_oneWayMarginals,Cslib.Privacy.DifferentiallyPrivate.log_two_mul_le_of_oneWayMarginals: one-way marginals needΩ(k / ε)rows [DworkRoth2014, Theorem 8.7].
References #
Packing bound. Let M be (ε, δ)-private for an adjacency relating x₀ to each x j,
j ∈ J. If the events B j are pairwise disjoint and M (x j) lands in B j with probability
at least p, then |J| · p ≤ exp ε + |J| · δ. This is the counting step of [DworkRoth2014,
Lemma 8.4].
Packing bound in Hamming distance. If M is (ε, δ)-private for Hamming adjacency, the
datasets x j (j ∈ J) are within Hamming distance m of a centre x₀, the events B j are
pairwise disjoint and Pr[M (x j) ∈ B j] ≥ p, then
|J| · p ≤ exp (m ε) + |J| · ∑ i < m, exp (i ε) δ. This is the Hamming-distance analogue of
[DworkRoth2014, Lemma 8.4], with a centre in place of pairwise distances and with δ.
Packing bound for pure privacy. If M is (ε, 0)-private for Hamming adjacency, the
datasets x j (j ∈ J) are within Hamming distance m of x₀, the events B j are pairwise
disjoint and Pr[M (x j) ∈ B j] ≥ p, then |J| · p ≤ exp (m ε).
[DworkRoth2014, Lemma 8.4], Hamming form. If M is (ε, 0)-private for Hamming
adjacency and 2 ^ s datasets at pairwise Hamming distance at most Δ have pairwise disjoint
events B j with Pr[M (x j) ∈ B j] ≥ 1 / 2, then ln 2 · (s - 1) ≤ Δ ε. Dwork and Roth state
this for histograms at ℓ₁ distance at most Δ.
The j-th marginal of the dataset with every row equal to w is n if w j is set and 0
otherwise.
Unfolding oneWayMarginals.
Unfolding accurateMarginals.
One-way marginals, [DworkRoth2014, Theorem 8.7]. Let M be (ε, 0)-private for
Hamming adjacency on datasets of n rows in {0, 1} ^ κ. If on every dataset M answers all
one-way marginals with error less than n / 2 with probability at least p, then
2 ^ |κ| · p ≤ exp (n ε).
One-way marginals need Ω(k / ε) rows, [DworkRoth2014, Theorem 8.7]. If an
(ε, 0)-private mechanism on datasets of n rows in {0, 1} ^ k answers, on every dataset, all
k one-way marginals with error less than n / 2 with probability at least 1 / 2, then
(k - 1) ln 2 ≤ n ε.