Sensitivity of queries #
The sensitivity of a real-valued query q : D → ℝ with respect to an adjacency relation Adj on
datasets is the largest change |q x - q y| between adjacent datasets [DworkRoth2014,
Definition 3.1], the ℓ₁-sensitivity of a one-dimensional query. Privacy mechanisms take an upper
bound on it as a hypothesis: Sensitivity Adj q Δ says that |q x - q y| ≤ Δ whenever
Adj x y. For an integer-valued query, apply it to the cast fun x => (q x : ℝ).
The exponential mechanism scores each outcome r with a utility u x r and needs a bound that
holds for every outcome at once, the sensitivity Δu of [DworkRoth2014, §3.4]:
PointwiseSensitivity Adj u Δ says that |u x r - u y r| ≤ Δ whenever Adj x y, for every r.
pointwiseSensitivity_iff restates it as a bound on each section fun x => u x r. Read with
R = Fin k, it bounds a vector-valued query F : D → Fin k → ℝ coordinatewise, its
ℓ∞-sensitivity; Dwork and Roth's Definition 3.1 measures vector-valued queries in ℓ₁ instead.
As with Cslib.Privacy.DifferentiallyPrivate, the adjacency relation is a parameter, and the
definitions quantify over ordered pairs.
Main definitions #
Cslib.Privacy.Sensitivity: the queryqhas sensitivity at mostΔ.Cslib.Privacy.PointwiseSensitivity: the utilityuhas sensitivity at mostΔin the dataset, uniformly in the outcome.
Main results #
Cslib.Privacy.Sensitivity.mono,Cslib.Privacy.PointwiseSensitivity.mono: a sensitivity bound may be raised.Cslib.Privacy.pointwiseSensitivity_iff: pointwise sensitivity is sensitivity of every section.
References #
The utility score u has sensitivity at most Δ in the dataset, uniformly in the outcome:
|u x r - u y r| ≤ Δ for all adjacent datasets x, y and every outcome r. This is the
sensitivity Δu of the exponential mechanism [DworkRoth2014, §3.4].
A sensitivity bound may be raised.
A pointwise sensitivity bound may be raised.