Matrix ¡Mechanism ¡and ¡Data ¡Dependent ¡ algorithms ¡
CompSci ¡590.03 ¡ Instructor: ¡Ashwin ¡Machanavajjhala ¡
1 ¡ Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡
Matrix Mechanism and Data Dependent algorithms CompSci - - PowerPoint PPT Presentation
Matrix Mechanism and Data Dependent algorithms CompSci 590.03 Instructor: Ashwin Machanavajjhala Lecture 9 : 590.03 Fall 16 1 Recap: Constrained Inference
1 ¡ Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 2 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 3 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 4 ¡
Private ¡ ¡ Data ¡
Original ¡Query ¡ ¡ Workload ¡ Strategy ¡Query ¡ ¡ Workload ¡ Noisy ¡Strategy ¡ Answers ¡ Noisy ¡Workload ¡ Answers ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 5 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 6 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 7 ¡
Sca^er ¡plot ¡of ¡input ¡data ¡ ¡ Input: ¡sensiYve ¡data ¡D ¡
BeijingTaxi ¡dataset[1]: ¡ 4,268,780 ¡records ¡of ¡(lat,lon) ¡ pairs ¡of ¡taxi ¡pickup ¡locaYons ¡ in ¡Beijing, ¡China ¡in ¡1 ¡month. ¡
Input: ¡range ¡query ¡ workload ¡W ¡ Shown ¡is ¡workload ¡of ¡3 ¡ range ¡queries ¡ Task: ¡compute ¡answers ¡to ¡workload ¡W ¡over ¡private ¡input ¡D ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 8 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 9 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 10 ¡
Error ¡ Large ¡range ¡ Small ¡range ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 11 ¡
Iden.ty ¡ ¡ Hierarchical ¡ Haar ¡Wavelet ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 12 ¡
Error ¡
Error ¡
13 ¡
Original ¡ Data ¡ Transform ¡ Coefficients ¡ Noisy ¡ Coefficients ¡ Noise ¡ Private ¡ Data ¡ “Invert” ¡ Credit: ¡Cormode ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 14 ¡
Sensi.vity ¡= ¡1 ¡ Sensi.vity ¡= ¡3 ¡ Sensi.vity ¡= ¡3 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 15 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 16 ¡
Original ¡ Data ¡ Noisy ¡ Representa.on ¡ Reconstructed ¡Data ¡ Final ¡query ¡answer ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 17 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 18 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 19 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 20 ¡
Good ¡when ¡each ¡ query ¡hits ¡a ¡few ¡
Good ¡when ¡ sensiYvity ¡is ¡small ¡ (or ¡each ¡value ¡hits ¡a ¡ small ¡# ¡queries) ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 21 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 22 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 23 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 24 ¡
25 ¡
Original ¡ Data ¡ Transform ¡ Coefficients ¡ Noisy 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¡ 40 ¡ 50 ¡ 60 ¡
1 ¡ 2 ¡ 1 ¡ 3 ¡ 5 ¡ 1 ¡ 1 ¡
25 ¡ 35 ¡ 45 ¡ 55 ¡ 30 ¡ 40 ¡ 50 ¡ 60 ¡
4/3 ¡ 8/2 ¡ 2/2 ¡
– Add ¡ ¡noise ¡to ¡node ¡count ¡ – Split ¡node ¡domain ¡into ¡quadrants ¡ – Create ¡child ¡nodes ¡
– Noisy ¡count ¡of ¡node ¡≤ ¡ ¡ – Max ¡height ¡ ¡is ¡reached ¡
– Early ¡stopping ¡controls ¡granularity ¡of ¡ discreYzaYon ¡ ¡ – To ¡answer ¡long ¡range ¡queries, ¡leverage ¡ hierarchy ¡of ¡noisy ¡counts ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 31 ¡
[CPSSY12] ¡
– Drop ¡“small” ¡coefficients: ¡
– Data-‑adapYve ¡discreYzaYon: ¡
– Data-‑adapYve ¡measurement: ¡ ¡
– Randomized ¡transforms: ¡sketches ¡and ¡compressed ¡sensing ¡
– Because ¡lossy, ¡they ¡are ¡under-‑constrained, ¡requires ¡esYmaYon ¡
– Can ¡be ¡much ¡lower ¡(trades ¡off ¡small ¡bias ¡for ¡lower ¡variance) ¡ – Warrants ¡careful ¡empirical ¡evaluaYon; ¡algorithms ¡are ¡“data ¡dependent” ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 32 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 33 ¡
Lecture ¡9 ¡: ¡590.03 ¡Fall ¡16 ¡ 34 ¡