Laplace Noise Mechanism Reminder: Counting queries Given a predicate - - PowerPoint PPT Presentation

laplace noise mechanism reminder counting queries
SMART_READER_LITE
LIVE PREVIEW

Laplace Noise Mechanism Reminder: Counting queries Given a predicate - - PowerPoint PPT Presentation

Laplace Noise Mechanism Reminder: Counting queries Given a predicate q : X ! { 0 , 1 } (e.g., smoker?), we define the corresponding (normalized) counting query n q ( X ) = 1 X q ( x i ) . n i =1 A workload Q of counting queries is given by


slide-1
SLIDE 1

Laplace Noise Mechanism

slide-2
SLIDE 2

Reminder: Counting queries

Given a predicate q : X ! {0, 1} (e.g., “smoker?”), we define the corresponding (normalized) counting query q(X) = 1 n

n

X

i=1

q(xi). A workload Q of counting queries is given by predicates q1, . . . , qk. Q(X) = B @ q1(X) . . . qk(X) 1 C A 2 [0, 1]k. E.g., “smoker?”, “smoker and over 30?”, “smoker and heart disease?”, etc.

9

" smoker , heart disease ,
  • ver

30

? "

slide-3
SLIDE 3

Answering counting queries with Randomized Response

10

How

can I answer

k

counting

queries

w/

e .

Dp

using

RR

?

K

instances

  • f

RR

( one

per

query )

with (q)

  • Dp

)

whole mechanism

is

E- DP by

composition

than

All

queries

get

answers

we

c- IL

error

with prob

. I - of

as

long

as n →kIe8l

Exercise :

Do the

£42 details !

slide-4
SLIDE 4

Sensitivity

The `1 sensitivity of f : X n ! Rk is ∆1f = max

X⇠X 0 kf (X) f (X 0)k1 = max X⇠X 0 k

X

i=1

|f (X)i f (X 0)i| Measure of how much a person can influence f .

11

e.g. text QQ

  • f}

% neighbouring

e.g

, if

f :D

"

→ IR

then ns.f-zinqylfkl

  • f 't'll
slide-5
SLIDE 5

Sensitivity of a workload of counting queries

12

Suppose

flx )

  • alt)
  • (

g! It, )

for

a

workload

  • f k counting queries

Give

an

upper bound

  • n

D

, Q

gilt) - t

.

gil

qilxj

)

c- soil's

D , q .

. = In

ki

1a

  • em
.

Ei !9i"?ia%""

' a.

slide-6
SLIDE 6

Laplace noise mechanism

The Laplace noise mechanism MLap (for a function f : X n ! Rk) outputs MLap(X) = f (X) + Z, where Z 2 Rk is sampled from Lap(0, ∆1f

ε ).

Lap(µ, b) is the Laplace distribution on Rk with expectation µ 2 Rk and scale b > 0, and has pdf p(z) = 1 (2b)k ekzµk1/b = 1 (2b)k exp 1 b

k

X

i=1

|zi µi| !

13

Z

. . . .. . Z ,

are independent

Zi

is

from

a
  • ne
  • dimensional

Laplo,

µwpise-DpTy

slide-7
SLIDE 7

Privacy of the Laplace noise mechanism

For any f , MLap is ε-DP. Let X ∼ X 0, and let p be the pdf of M(X), and p0 the pdf of M(X 0). p(z) = ✓ 1 2∆1f ◆k eεkzf (X)k1/∆1f p0(z) = ✓ 1 2∆1f ◆k eεkzf (X 0)k1/∆1f Claim: enough to show maxz2Rk p(z)

p0(z) ≤ eε 14

THE;fCXnhapHH.FI/=flHltZ

Lap

lap

~ Laplftx't . At)

E E

Henk

→ Ethel

'

IPCMLAPIXIES )

  • 1PM

dZ Else ' p' czidz

=

ee fgptztdz

= e' IPCMCX ' ) c- S ) .
slide-8
SLIDE 8

Privacy of the Laplace noise mechanism

p(z) = ✓ 1 2∆1f ◆k eεkzf (X)k1/∆1f p0(z) = ✓ 1 2∆1f ◆k eεkzf (X 0)k1/∆1f

15

Need

;

Kzn

¥7,

ee

'

Y

E

FI

= exp (Ff ( UZ
  • TH
') " ,
  • Hz
  • HNK
, ))

e ee

p

' IZ)

my ←

EHFIX)

  • fit 'm ,

HZ

  • fl X' Ill
,

E HZ

  • fl till,

t

k fit)

  • fix'll!

Triangle inequality

¥i

slide-9
SLIDE 9

Histograms

Suppose the query workload Q = {q1, . . . , qk} “partitions” the data.

  • ∀x ∈ X : at most one of q1(x), . . . , qk(x) equals 1.
  • e.g., “votes for the Liberal Party per riding”

What is the sensitivity?

16

"' mi.

a

X of 4 .

. . . .

Xu 's

  • F
' =

94

. . . . . ti ' , . . . .tn }

fray

,

"QIN

  • QH'll!
  • finger
, ÷! Iq .
  • K)
  • gilt'll

E E

because

E 2

query

values

change by

c- In

each .

slide-10
SLIDE 10

Accuracy of the Laplace noise mechanism

If Z ∈ Rk is a Laplace random variable from Lap(µ, b), then, for every i P(|Zi − µi| ≥ t) = et/b.

17

Generalizes

to

" K
  • norm

mechanism

"

Hardt

, Talwar
  • Map ( H
  • Lap ( fit )
, diet )

Rl ?

at llk.pk/i-fCXIilza1z?zlPllkaplxt.-fctHzH

E k

. e
  • debit
, then

is ,ft kn

,

Minar

error z d) else-1¥

E.g

. if

f-(x)

  • Q (H

E B

i.e.

,

answers to

k counting

if

n z Hulking

queries

he