Claim 2.2 — composition and post-processing of differentially private algorithms
ProvedPrivLearn.Parity.claim_2_2compositiondifferential-privacyp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be randomized algorithms on databases in , where is -differentially private, and let be a probabilistic algorithm applied to their results. Run the on the same database with independent coins and output . Then this algorithm is
Composition and post-processing are the two closure properties used to build private algorithms from private pieces; Lemma 4.5 applies them to the amplified learner.
Formalization Note The output of on is a probability measure on a measurable space ; independence of the coins makes the joint law the product measure ; the probabilistic algorithm is a Markov kernel from to the output space, and the output law is the product measure bound to .
Preamble
import Mathlib import Definitions.Def_PrivLearn_Generic_Privacy open MeasureTheory ProbabilityTheory
Formal statement
namespace PrivLearn.Parity
/-- Claim 2.2 (Composition and Post-processing), p. 8. If the algorithms `A_1, …, A_k` are
`ε_i`-differentially private and run on the same database with independent coins, and `g` is a
probabilistic algorithm (a Markov kernel) applied to their results, then the algorithm
`z ↦ g(A_1(z), …, A_k(z))` is `(∑ ε_i)`-differentially private. -/
theorem claim_2_2 {D : Type*} {n k : ℕ} {O : Fin k → Type*} [∀ i, MeasurableSpace (O i)]
{O' : Type*} [MeasurableSpace O'] (A : ∀ i, (Fin n → D) → Measure (O i))
[∀ i z, IsProbabilityMeasure (A i z)] (ε : Fin k → ℝ) (hA : ∀ i, PrivLearn.Generic.IsDP (A i) (ε i))
(g : Kernel (∀ i, O i) O') [IsMarkovKernel g] :
PrivLearn.Generic.IsDP (fun z => (Measure.pi fun i => A i z).bind g) (∑ i, ε i) := by sorry
end PrivLearn.Parity
Source
Kasiviswanathan, Lee, Nissim, Raskhodnikova and Smith, What Can We Learn Privately?, arXiv:0803.0924v3, p. 8, Claim 2.2
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.