Theorem 2.3 — the Laplace mechanism is ε-differentially private
ProvedPrivLearn.Parity.theorem_2_3differential-privacylaplace-mechanismp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1
Let and let bound its global sensitivity: for all neighboring databases . Let . Then the algorithm that on input returns
is -differentially private.
This is the Laplace mechanism of Dwork, McSherry, Nissim and Smith; in §4 it makes the training errors of the candidate hypotheses private (Lemma 4.5).
Formalization Note The paper states the result for . Here is any positive upper bound on the sensitivity, which covers whenever it is positive: the maximum need not exist for an infinite domain , and would give the degenerate scale , which is not a probability measure.
Preamble
import Mathlib import Definitions.Def_PrivLearn_Generic_Privacy open MeasureTheory
Formal statement
namespace PrivLearn.Parity
/-- Theorem 2.3 (Dwork et al.), p. 8 — the Laplace mechanism. If `Δ > 0` bounds the global
sensitivity of `f : Dⁿ → ℝ` (`|f(z) − f(z′)| ≤ Δ` for all neighbors `z, z′`), then the algorithm
that on input `z` returns `f(z) + η` with `η ∼ Lap(Δ/ε)` is ε-differentially private. -/
theorem theorem_2_3 {D : Type*} {n : ℕ} (f : (Fin n → D) → ℝ) (Δ ε : ℝ) (hΔ : 0 < Δ)
(hε : 0 < ε) (hf : ∀ z z' : Fin n → D, PrivLearn.Generic.Neighbors z z' → |f z - f z'| ≤ Δ) :
PrivLearn.Generic.IsDP (fun z => (PrivLearn.Generic.laplace (Δ / ε)).map (fun η => f z + η)) ε := by sorry
end PrivLearn.Parity
Source
Kasiviswanathan, Lee, Nissim, Raskhodnikova and Smith, What Can We Learn Privately?, arXiv:0803.0924v3, p. 8, Theorem 2.3
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.