Hamming adjacency and group privacy #
Datasets are maps x : ι → X assigning a row to each index. Two datasets are Hamming-adjacent
(HammingAdjacent) when they differ in at most one row, the neighbor relation of
[GhoshRoughgardenSundararajan2012, §2.1]. For finite ι this is hammingDist x y ≤ 1
(hammingAdjacent_iff_hammingDist_le_one).
Group privacy: a mechanism that is (ε, δ)-private for Hamming adjacency is
(k ε, ∑ i < k, exp (i ε) · δ)-private for datasets at Hamming distance at most k
(DifferentiallyPrivate.hammingDist_le). For δ = 0 this is (k ε, 0)
(DifferentiallyPrivate.hammingDist_le_of_pure), the Hamming-distance form of
[DworkRoth2014, Theorem 2.2], which is stated for ℓ₁ distance between histograms; for 0 ≤ ε
the additive term is at most k exp ((k - 1) ε) δ (DifferentiallyPrivate.hammingDist_le'), the
bound in the footnote to that theorem. The proof walks along a chain of adjacent datasets.
DifferentiallyPrivate.pi: if every respondent applies an (ε, 0)-private local randomizer to
their own row independently, the joint mechanism is (ε, 0)-private for Hamming adjacency.
Main definitions #
Cslib.Privacy.HammingAdjacent: datasets differing in at most one row.
Main results #
Cslib.Privacy.DifferentiallyPrivate.hammingDist_le,Cslib.Privacy.DifferentiallyPrivate.hammingDist_le_of_pure,Cslib.Privacy.DifferentiallyPrivate.hammingDist_le': group privacy.Cslib.Privacy.DifferentiallyPrivate.pi: products of local randomizers.
References #
Two datasets are Hamming-adjacent when they differ in at most one row.
For finitely many rows, Hamming adjacency is Hamming distance at most one.
Every dataset is Hamming-adjacent to itself.
Hamming adjacency is symmetric.
Changing one row gives a Hamming-adjacent dataset.
A Hamming-adjacent dataset is obtained by changing any row in which it differs.
A pair at Hamming distance at most k + 1 passes through a dataset at distance at most k
from the first and adjacent to the second.
Group privacy: an (ε, δ)-private mechanism for Hamming adjacency is
(k ε, ∑ i < k, exp (i ε) · δ)-private for datasets at Hamming distance at most k.
Group privacy for pure privacy: an (ε, 0)-private mechanism for Hamming adjacency is
(k ε, 0)-private for datasets at Hamming distance at most k (the Hamming-distance form of
[DworkRoth2014, Theorem 2.2]).
Group privacy with the additive term k exp ((k - 1) ε) δ of the footnote to
[DworkRoth2014, Theorem 2.2], for 0 ≤ ε.
Products of local randomizers: if each respondent's randomizer M i is (ε, 0)-private
against arbitrary changes of its own input, the mechanism applying all of them independently is
(ε, 0)-private for Hamming adjacency.