The exponential mechanism #
Fix a finite nonempty range R and a utility score u : D → R → ℝ whose sensitivity in the
dataset argument is at most Δ > 0: |u x r - u y r| ≤ Δ for adjacent x, y and every r
(PointwiseSensitivity Adj u Δ).
The exponential mechanism outputs r with probability proportional to exp (ε u(x, r) / (2 Δ))
[DworkRoth2014, Definition 3.4] (exponentialMechanism). It is (ε, 0)-differentially private
[DworkRoth2014, Theorem 3.10] (differentiallyPrivate_exponentialMechanism).
Its utility guarantee compares the utility of the output with the optimum
OPT = max_r u(x, r): for every t, the output has utility at most
OPT - (2 Δ / ε) (ln (|R| / |R_OPT|) + t) with probability at most exp (-t), where R_OPT is the
set of optimal outputs [DworkRoth2014, Theorem 3.11]
(exponentialMechanism_toOuterMeasure_utility_le_opt_sub); replacing |R| / |R_OPT| by |R|
gives [DworkRoth2014, Corollary 3.12]. Both follow from the bound
Pr[u(x, M x) ≤ c] ≤ |R| / |R_OPT| · exp (ε (c - OPT) / (2 Δ))
(exponentialMechanism_toOuterMeasure_utility_le).
The range must not depend on the dataset; it is the type R. The mechanism is stated through
its output law; the cost of sampling it is not modelled.
Main definitions #
Cslib.Privacy.exponentialMechanism: the exponential mechanism.
Main results #
Cslib.Privacy.differentiallyPrivate_exponentialMechanism:(ε, 0)-privacy.Cslib.Privacy.exponentialMechanism_toOuterMeasure_utility_le_opt_sub: Theorem 3.11.Cslib.Privacy.exponentialMechanism_toOuterMeasure_utility_le_opt_sub_log_card: Corollary 3.12.
References #
The exponential mechanism with privacy parameter ε for a utility score u of sensitivity
Δ: on dataset x it outputs r with probability proportional to exp (ε u(x, r) / (2 Δ))
[DworkRoth2014, Definition 3.4].
The exponential mechanism is (ε, 0)-differentially private for every ε ≥ 0 when the
utility score has sensitivity at most Δ > 0 [DworkRoth2014, Theorem 3.10].
The probability that the exponential mechanism returns an output of utility at most c is at
most |R| / |R_OPT| · exp (ε (c - OPT) / (2 Δ)); this is the bound in the proof of
[DworkRoth2014, Theorem 3.11].
Utility of the exponential mechanism [DworkRoth2014, Theorem 3.11]: the output has utility at
most OPT - (2 Δ / ε) (ln (|R| / |R_OPT|) + t) with probability at most exp (-t).
Utility of the exponential mechanism [DworkRoth2014, Corollary 3.12]: the output has utility
at most OPT - (2 Δ / ε) (ln |R| + t) with probability at most exp (-t).