Differen'al ¡Privacy: ¡ ¡ Algorithmic ¡Building ¡Blocks ¡
CompSci ¡590.03 ¡ Instructor: ¡Ashwin ¡Machanavajjhala ¡
1 ¡ Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡
Differen'al Privacy: Algorithmic Building Blocks CompSci - - PowerPoint PPT Presentation
Differen'al Privacy: Algorithmic Building Blocks CompSci 590.03 Instructor: Ashwin Machanavajjhala Lecture 6: 590.03 Fall 16 1 Announcement Choose project
CompSci ¡590.03 ¡ Instructor: ¡Ashwin ¡Machanavajjhala ¡
1 ¡ Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡
project ¡idea. ¡ ¡
webpage). ¡ ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 2 ¡
For ¡every ¡output ¡… ¡ O ¡ D2 ¡ D1 ¡ Adversary ¡should ¡not ¡be ¡able ¡to ¡dis'nguish ¡ between ¡any ¡D1 ¡and ¡D2 ¡based ¡on ¡any ¡O ¡ ¡ ¡ ¡Pr[A(D1) ¡= ¡O] ¡ ¡ ¡ ¡ ¡ ¡Pr[A(D2) ¡= ¡O] ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡. ¡ For ¡every ¡pair ¡of ¡inputs ¡ that ¡differ ¡in ¡one ¡row ¡ ¡ ¡< ¡ ¡ε ¡ ¡ ¡(ε>0) ¡
[Dwork ¡ICALP ¡2006] ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 3 ¡
privacy ¡
– Necessary ¡condi'on: ¡for ¡every ¡input ¡database ¡D ¡and ¡every ¡output ¡O, ¡ ¡ we ¡need ¡Pr[A(D) ¡= ¡O] ¡> ¡0 ¡for ¡any ¡differen'ally ¡private ¡algorithm ¡A. ¡
– Violates ¡the ¡above ¡necessary ¡condi'on ¡
¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 4 ¡
reals ¡in ¡Rd. ¡
independently ¡and ¡iden'cally ¡from ¡Lap(S(q)/ε) ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 5 ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 6 ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 7 ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 8 ¡
– “what ¡is ¡the ¡most ¡common ¡na'onality ¡in ¡this ¡room”: ¡ ¡ Chinese/Indian/American… ¡ – Other ¡examples? ¡
– “Which ¡price ¡would ¡bring ¡the ¡most ¡money ¡from ¡a ¡set ¡of ¡buyers?” ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 9 ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 10 ¡
$100 ¡ $100 ¡ $100 ¡ $401 ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 11 ¡
Inputs ¡ Outputs ¡
¡ ¡
as ¡possible. ¡ ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 12 ¡
¡ ¡ ¡ ¡ ¡where ¡D, ¡D’ ¡differ ¡in ¡one ¡tuple ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 13 ¡
!
!,!! ! !, ! − !(!!, !) !!!
¡ ¡
Randomly ¡sample ¡an ¡output ¡O ¡from ¡Outputs ¡with ¡probability ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 14 ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 15 ¡
best ¡output. ¡ ¡
“What ¡is ¡the ¡most ¡common ¡na'onality?” ¡ ¡w(D,na'onality) ¡= ¡# ¡people ¡in ¡D ¡having ¡that ¡na'onality ¡ ¡Sensi'vity ¡of ¡w ¡is ¡1. ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 16 ¡
Theorem: ¡ ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 17 ¡
Theorem: ¡ ¡ ¡ ¡ ¡ Suppose ¡there ¡are ¡4 ¡na'onali'es ¡ Outputs ¡= ¡{Chinese, ¡Indian, ¡American, ¡Greek} ¡ ¡ Exponen'al ¡mechanism ¡will ¡output ¡some ¡na'onality ¡that ¡is ¡shared ¡ by ¡at ¡least ¡K ¡people ¡with ¡probability ¡1-‑e-‑3(=0.95), ¡where ¡ ¡ ¡ K ¡≥ ¡OPT ¡– ¡2(log(4) ¡+ ¡3)/ε ¡= ¡OPT ¡– ¡6.8/ε ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 18 ¡
¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡≤ ¡maxD,D’ ¡|f(D) ¡– ¡f(D’)| ¡ ¡= ¡sensi'vity ¡of ¡f ¡
probability ¡propor'onal ¡to ¡ ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 19 ¡
Laplace ¡noise ¡with ¡ parameter ¡2Δ/ε ¡
make ¡sense. ¡ ¡
the ¡resul'ng ¡distribu'on. ¡ ¡
– By ¡choosing ¡the ¡appropriate ¡score ¡func'on. ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 20 ¡
– Can ¡work ¡well ¡even ¡if ¡output ¡space ¡is ¡exponen'al ¡in ¡the ¡input ¡
efficient ¡if ¡output ¡space ¡is ¡large. ¡ ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 21 ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡
22 ¡
Person ¡1 ¡ r1 ¡ Person ¡2 ¡ r2 ¡ Person ¡3 ¡ r3 ¡ Person ¡N ¡ rN ¡
Server ¡
DB* ¡
Perturb ¡records ¡to ¡ ensure ¡privacy ¡for ¡ individuals ¡and ¡ U'lity ¡for ¡server ¡
Disease ¡(Y/ N) ¡ Y ¡ Y ¡ N ¡ Y ¡ N ¡ N ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 23 ¡
With ¡probability ¡p, ¡ ¡ ¡ ¡ ¡ ¡ ¡Report ¡true ¡ ¡value ¡ ¡ With ¡probability ¡1-‑p, ¡ ¡ ¡ ¡ ¡ ¡Report ¡flipped ¡value ¡ Disease ¡(Y/ N) ¡ Y ¡ N ¡ N ¡ N ¡ Y ¡ N ¡ D ¡ O ¡
[W ¡65] ¡
– D[j] ¡≠ ¡D’[j]. ¡But, ¡D[i] ¡= ¡D’[i], ¡for ¡all ¡i ¡≠ ¡j ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 24 ¡
πhat ¡= ¡{n1/n ¡– ¡(1-‑p)}/(2p-‑1) ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 25 ¡
Sampling ¡ Variance ¡due ¡to ¡coin ¡flips ¡
Laplace ¡Mechanism ¡vs ¡Randomized ¡Response ¡
Privacy ¡
to ¡be ¡trusted ¡
– Also ¡called ¡a ¡Local ¡Algorithm, ¡since ¡each ¡record ¡is ¡perturbed ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 26 ¡
Laplace ¡Mechanism ¡vs ¡Randomized ¡Response ¡
UElity ¡
have ¡disease ¡= ¡Y. ¡ ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 27 ¡
repor'ng ¡the ¡true ¡loca'on? ¡ ¡
repor'ng ¡a ¡false ¡loca'on? ¡ ¡
Lecture ¡6: ¡590.03 ¡Fall ¡16 ¡ 28 ¡