-Liftings for Differential Privacy and f -Divergences Gilles - - PowerPoint PPT Presentation

liftings for differential privacy and f divergences
SMART_READER_LITE
LIVE PREVIEW

-Liftings for Differential Privacy and f -Divergences Gilles - - PowerPoint PPT Presentation

-Liftings for Differential Privacy and f -Divergences Gilles Barthe, Thomas Espitau, Justin Hsu, Tetsuya Sato, Pierre-Yves Strub 1 Differential privacy: probabilistic program property 2 Differential privacy: probabilistic program property


slide-1
SLIDE 1

Gilles Barthe, Thomas Espitau, Justin Hsu, Tetsuya Sato, Pierre-Yves Strub

⋆-Liftings for Differential Privacy and f-Divergences

1

slide-2
SLIDE 2

Differential privacy: probabilistic program property

2

slide-3
SLIDE 3

Differential privacy: probabilistic program property

2

slide-4
SLIDE 4

Differential privacy: probabilistic program property Output depends only a little

  • n any single individual’s data

2

slide-5
SLIDE 5

More formally

Definition (Dwork, McSherry, Nissim, Smith)

An algorithm is (ǫ, δ)-differentially private if, for every two adjacent inputs, the output distributions µ1, µ2 satisfy:

∆ǫ(µ1, µ2) ≤ δ for all sets S, µ1(S) ≤ eǫ · µ2(S) + δ

3

slide-6
SLIDE 6

More formally

Definition (Dwork, McSherry, Nissim, Smith)

An algorithm is (ǫ, δ)-differentially private if, for every two adjacent inputs, the output distributions µ1, µ2 satisfy:

∆ǫ(µ1, µ2) ≤ δ for all sets S, µ1(S) ≤ eǫ · µ2(S) + δ

Behaves well under composition: “ǫ and δ add up” Sequentially composing an (ǫ, δ)-private program and an (ǫ′, δ′)-private program is (ǫ + ǫ′, δ + δ′)-private.

3

slide-7
SLIDE 7

How to verify this property?

Use ideas from probabilistic bisimulation

◮ ∆ǫ(µ1, µ2) ≤ δ means “approximately similar” ◮ Composition ⇐

⇒ approximate probabilistic bisimulation

4

slide-8
SLIDE 8

How to verify this property?

Use ideas from probabilistic bisimulation

◮ ∆ǫ(µ1, µ2) ≤ δ means “approximately similar” ◮ Composition ⇐

⇒ approximate probabilistic bisimulation

Foundation for many styles of program verification

◮ Linear and dependent type systems ◮ Product program constructions ◮ Relational program logics 4

slide-9
SLIDE 9

Review: Probabilistic Liftings and Approximate Liftings

5

slide-10
SLIDE 10

Probabilistic liftings

Lift a binary relation R on pairs S × T to a relation R on distributions Distr(S) × Distr(T)

Definition (Larsen and Skou)

Let R ⊆ S × T be a relation. Two distributions are related µ1 R µ2 if there exists a witness η ∈ Distr(S × T) such that:

  • 1. π1(η) = µ1 and π2(η) = µ2,
  • 2. η(s, t) > 0 only when (s, t) ∈ R.

6

slide-11
SLIDE 11

Probabilistic liftings

Lift a binary relation R on pairs S × T to a relation R on distributions Distr(S) × Distr(T)

Definition (Larsen and Skou)

Let R ⊆ S × T be a relation. Two distributions are related µ1 R µ2 if there exists a witness η ∈ Distr(S × T) such that:

  • 1. π1(η) = µ1 and π2(η) = µ2,
  • 2. η(s, t) > 0 only when (s, t) ∈ R.

Example

µ1 = µ2 is equivalent to µ1 = µ2.

6

slide-12
SLIDE 12

An equivalent definition via Strassen’s theorem

Theorem (Strassen 1965)

Let R ⊆ S × T be a relation. Then µ1 R µ2 if and only if:

for all subsets A ⊆ S, µ1(A) ≤ µ2(R(A))

7

slide-13
SLIDE 13

An equivalent definition via Strassen’s theorem

Theorem (Strassen 1965)

Let R ⊆ S × T be a relation. Then µ1 R µ2 if and only if:

for all subsets A ⊆ S, µ1(A) ≤ µ2(R(A))

7

slide-14
SLIDE 14

Approximate liftings

Intuition

◮ Approximately relate two distributions µ1 and µ2 ◮ Add numeric indexes (ǫ, δ) to lifting

Want:

◮ Given R ⊆ S × T, lift to R(ǫ,δ) ⊆ Distr(S) × Distr(T) ◮ µ1 =(ǫ,δ) µ2 should be equivalent to ∆ǫ(µ1, µ2) ≤ δ 8

slide-15
SLIDE 15

Approximate liftings

Intuition

◮ Approximately relate two distributions µ1 and µ2 ◮ Add numeric indexes (ǫ, δ) to lifting

Want:

◮ Given R ⊆ S × T, lift to R(ǫ,δ) ⊆ Distr(S) × Distr(T) ◮ µ1 =(ǫ,δ) µ2 should be equivalent to ∆ǫ(µ1, µ2) ≤ δ 8

slide-16
SLIDE 16

Approximate liftings

Intuition

◮ Approximately relate two distributions µ1 and µ2 ◮ Add numeric indexes (ǫ, δ) to lifting

Want:

◮ Given R ⊆ S × T, lift to R(ǫ,δ) ⊆ Distr(S) × Distr(T) ◮ µ1 =(ǫ,δ) µ2 should be equivalent to ∆ǫ(µ1, µ2) ≤ δ 8

slide-17
SLIDE 17

Previous definitions: “Existential”

Let R ⊆ S × T be a binary relation. Two distributions are related by µ1 R(ǫ,δ) µ2 if:

9

slide-18
SLIDE 18

Previous definitions: “Existential”

Let R ⊆ S × T be a binary relation. Two distributions are related by µ1 R(ǫ,δ) µ2 if: One witness (Barthe, Köpf, Olmedo, Zanella-Béguelin)

There exists η ∈ Distr(S × T) such that

  • 1. π1(η) = µ1 and π2(η) ≤ µ2,
  • 2. η(s, t) > 0 only when (s, t) ∈ R,
  • 3. ∆ǫ(µ1, π1(η)) ≤ δ.

9

slide-19
SLIDE 19

Previous definitions: “Existential”

Let R ⊆ S × T be a binary relation. Two distributions are related by µ1 R(ǫ,δ) µ2 if: One witness (Barthe, Köpf, Olmedo, Zanella-Béguelin)

There exists η ∈ Distr(S × T) such that

  • 1. π1(η) = µ1 and π2(η) ≤ µ2,
  • 2. η(s, t) > 0 only when (s, t) ∈ R,
  • 3. ∆ǫ(µ1, π1(η)) ≤ δ.

Two witnesses (Barthe and Olmedo)

There exists ηL, ηR ∈ Distr(S × T) such that

  • 1. π1(ηL) = µ1 and π2(ηR) = µ2,
  • 2. ηL(s, t), ηR(s, t) > 0 only when (s, t) ∈ R,
  • 3. ∆ǫ(ηL, ηR) ≤ δ.

9

slide-20
SLIDE 20

Previous definitions: “Universal”

Let R ⊆ S × T be a binary relation. Two distributions are related by µ1 R(ǫ,δ) µ2 if:

10

slide-21
SLIDE 21

Previous definitions: “Universal”

Let R ⊆ S × T be a binary relation. Two distributions are related by µ1 R(ǫ,δ) µ2 if: No witnesses (Sato)

For all subsets A ⊆ S, we have

µ1(A) ≤ eǫ · µ2(R(A)) + δ

10

slide-22
SLIDE 22

Which definition is the “right” one?

Definitions support different properties and constructions

PW-Eq Up-to-bad

  • Acc. Bd.

Subset Mapping

  • Adv. Comp.

1-witness ? ? Yes ? ? ? 2-witness Yes Almost* No Almost* Almost* Yes Universal Yes Yes Yes Yes Yes ?

11

slide-23
SLIDE 23

Which definition is the “right” one?

Definitions support different properties and constructions

PW-Eq Up-to-bad

  • Acc. Bd.

Subset Mapping

  • Adv. Comp.

1-witness ? ? Yes ? ? ? 2-witness Yes Almost* No Almost* Almost* Yes Universal Yes Yes Yes Yes Yes ?

Broad tradeoff: How general?

◮ Less general: less compositional ◮ More general: harder to prove properties about 11

slide-24
SLIDE 24

Our work: ⋆-Liftings, Equivalences, and an approximate Strassen’s theorem

12

slide-25
SLIDE 25

New definition: ⋆-liftings

Generalize 2-witness lifting by adding a new point

Let R ⊆ S × T be a binary relation, and let A⋆ = A ∪ {⋆}. Two distributions are related by µ1 R⋆(ǫ,δ) µ2 if: There exists ηL, ηR ∈ Distr(S⋆ × T ⋆) such that

  • 1. π1(ηL) = µ1 and π2(ηR) = µ2,
  • 2. ηL(s, t), ηR(s, t) > 0 only when (s, t) ∈ R or s = ⋆ or t = ⋆,
  • 3. ∆ǫ(ηL, ηR) ≤ δ.

13

slide-26
SLIDE 26

New definition: ⋆-liftings

Generalize 2-witness lifting by adding a new point

Let R ⊆ S × T be a binary relation, and let A⋆ = A ∪ {⋆}. Two distributions are related by µ1 R⋆(ǫ,δ) µ2 if: There exists ηL, ηR ∈ Distr(S⋆ × T ⋆) such that

  • 1. π1(ηL) = µ1 and π2(ηR) = µ2,
  • 2. ηL(s, t), ηR(s, t) > 0 only when (s, t) ∈ R or s = ⋆ or t = ⋆,
  • 3. ∆ǫ(ηL, ηR) ≤ δ.

Intuition

◮ ⋆ is a default point for tracking “unimportant” mass 13

slide-27
SLIDE 27

Why is ⋆-lifting a good definition?

Previously known

One-witness

(??)

Two-witness

Universal

14

slide-28
SLIDE 28

Why is ⋆-lifting a good definition?

Previously known

One-witness

(??)

Two-witness

Universal

⋆-liftings unify known approximate liftings

One-witness

⇐ ⇒

⋆-lifting

⇐ ⇒

Universal

14

slide-29
SLIDE 29

Approximate version of Strassen’s theorem

⋆-liftings are equivalent to “universal” approximate liftings

Theorem

Let S, T be discrete (countable) sets, and let R ⊆ S × T be a

  • relation. Then µ1 R⋆(ǫ,δ) µ2 if and only if:

for all sets A ⊆ S, µ1(A) ≤ eǫ · µ2(R(A)) + δ

15

slide-30
SLIDE 30

Approximate version of Strassen’s theorem

⋆-liftings are equivalent to “universal” approximate liftings

Theorem

Let S, T be discrete (countable) sets, and let R ⊆ S × T be a

  • relation. Then µ1 R⋆(ǫ,δ) µ2 if and only if:

for all sets A ⊆ S, µ1(A) ≤ eǫ · µ2(R(A)) + δ

Theorem (Strassen 1965)

Let R ⊆ S × T be a relation. Then µ1 R µ2 if and only if:

for all subsets A ⊆ S, µ1(A) ≤ µ2(R(A))

15

slide-31
SLIDE 31

Approximate version of Strassen’s theorem

⋆-liftings are equivalent to “universal” approximate liftings

Theorem

Let S, T be discrete (countable) sets, and let R ⊆ S × T be a

  • relation. Then µ1 R⋆(ǫ,δ) µ2 if and only if:

for all sets A ⊆ S, µ1(A) ≤ eǫ · µ2(R(A)) + δ

Theorem (Strassen 1965)

Let R ⊆ S × T be a relation. Then µ1 R µ2 if and only if:

for all subsets A ⊆ S, µ1(A) ≤ µ2(R(A))

15

slide-32
SLIDE 32

Proof sketch (universal lifting implies ⋆-lifting)

Theorem

Let S, T be discrete (countable) sets, and let R ⊆ S × T be a

  • relation. Then µ1 R⋆(ǫ,δ) µ2 if and only if:

for all sets A ⊆ S, µ1(A) ≤ eǫ · µ2(R(A)) + δ

16

slide-33
SLIDE 33

Proof sketch (universal lifting implies ⋆-lifting)

Theorem

Let S, T be discrete (countable) sets, and let R ⊆ S × T be a

  • relation. Then µ1 R⋆(ǫ,δ) µ2 if and only if:

for all sets A ⊆ S, µ1(A) ≤ eǫ · µ2(R(A)) + δ

Define a flow network

◮ Nodes 16

slide-34
SLIDE 34

Proof sketch (universal lifting implies ⋆-lifting)

Theorem

Let S, T be discrete (countable) sets, and let R ⊆ S × T be a

  • relation. Then µ1 R⋆(ǫ,δ) µ2 if and only if:

for all sets A ⊆ S, µ1(A) ≤ eǫ · µ2(R(A)) + δ

Define a flow network

◮ Nodes

– Source/sink: ⊤, ⊥

16

slide-35
SLIDE 35

Proof sketch (universal lifting implies ⋆-lifting)

Theorem

Let S, T be discrete (countable) sets, and let R ⊆ S × T be a

  • relation. Then µ1 R⋆(ǫ,δ) µ2 if and only if:

for all sets A ⊆ S, µ1(A) ≤ eǫ · µ2(R(A)) + δ

Define a flow network

◮ Nodes

– Source/sink: ⊤, ⊥ – Internal nodes: S⋆ ∪ T ⋆

16

slide-36
SLIDE 36

Proof sketch (universal lifting implies ⋆-lifting)

Theorem

Let S, T be discrete (countable) sets, and let R ⊆ S × T be a

  • relation. Then µ1 R⋆(ǫ,δ) µ2 if and only if:

for all sets A ⊆ S, µ1(A) ≤ eǫ · µ2(R(A)) + δ

Define a flow network

◮ Nodes

– Source/sink: ⊤, ⊥ – Internal nodes: S⋆ ∪ T ⋆

◮ Edges 16

slide-37
SLIDE 37

Proof sketch (universal lifting implies ⋆-lifting)

Theorem

Let S, T be discrete (countable) sets, and let R ⊆ S × T be a

  • relation. Then µ1 R⋆(ǫ,δ) µ2 if and only if:

for all sets A ⊆ S, µ1(A) ≤ eǫ · µ2(R(A)) + δ

Define a flow network

◮ Nodes

– Source/sink: ⊤, ⊥ – Internal nodes: S⋆ ∪ T ⋆

◮ Edges

– From source/to sink: (⊤, s), (t, ⊥)

16

slide-38
SLIDE 38

Proof sketch (universal lifting implies ⋆-lifting)

Theorem

Let S, T be discrete (countable) sets, and let R ⊆ S × T be a

  • relation. Then µ1 R⋆(ǫ,δ) µ2 if and only if:

for all sets A ⊆ S, µ1(A) ≤ eǫ · µ2(R(A)) + δ

Define a flow network

◮ Nodes

– Source/sink: ⊤, ⊥ – Internal nodes: S⋆ ∪ T ⋆

◮ Edges

– From source/to sink: (⊤, s), (t, ⊥) – Internal edges: (s, t) ∈ R, (⋆, t), (s, ⋆)

16

slide-39
SLIDE 39

Proof sketch (universal lifting implies ⋆-lifting)

Theorem

Let S, T be discrete (countable) sets, and let R ⊆ S × T be a

  • relation. Then µ1 R⋆(ǫ,δ) µ2 if and only if:

for all sets A ⊆ S, µ1(A) ≤ eǫ · µ2(R(A)) + δ

Define a flow network

◮ Nodes

– Source/sink: ⊤, ⊥ – Internal nodes: S⋆ ∪ T ⋆

◮ Edges

– From source/to sink: (⊤, s), (t, ⊥) – Internal edges: (s, t) ∈ R, (⋆, t), (s, ⋆)

◮ Capacities 16

slide-40
SLIDE 40

Proof sketch (universal lifting implies ⋆-lifting)

Theorem

Let S, T be discrete (countable) sets, and let R ⊆ S × T be a

  • relation. Then µ1 R⋆(ǫ,δ) µ2 if and only if:

for all sets A ⊆ S, µ1(A) ≤ eǫ · µ2(R(A)) + δ

Define a flow network

◮ Nodes

– Source/sink: ⊤, ⊥ – Internal nodes: S⋆ ∪ T ⋆

◮ Edges

– From source/to sink: (⊤, s), (t, ⊥) – Internal edges: (s, t) ∈ R, (⋆, t), (s, ⋆)

◮ Capacities

– Outbound c(⊤, s) given by exp(−ǫ) · µ1

16

slide-41
SLIDE 41

Proof sketch (universal lifting implies ⋆-lifting)

Theorem

Let S, T be discrete (countable) sets, and let R ⊆ S × T be a

  • relation. Then µ1 R⋆(ǫ,δ) µ2 if and only if:

for all sets A ⊆ S, µ1(A) ≤ eǫ · µ2(R(A)) + δ

Define a flow network

◮ Nodes

– Source/sink: ⊤, ⊥ – Internal nodes: S⋆ ∪ T ⋆

◮ Edges

– From source/to sink: (⊤, s), (t, ⊥) – Internal edges: (s, t) ∈ R, (⋆, t), (s, ⋆)

◮ Capacities

– Outbound c(⊤, s) given by exp(−ǫ) · µ1 – Incoming c(t, ⊥) given by µ2

16

slide-42
SLIDE 42

Proof sketch (universal lifting implies ⋆-lifting)

17

slide-43
SLIDE 43

Proof sketch (universal lifting implies ⋆-lifting)

Universal lifting = ⇒ minimum cut large

◮ Max-flow min-cut: there is a large flow f from ⊤ to ⊥ ◮ Use f(s, t) to recover ⋆-lifting witnesses (ηL, ηR), conclude:

µ1 R⋆(ǫ,δ) µ2

17

slide-44
SLIDE 44

Other Results and Future Directions

18

slide-45
SLIDE 45

See the paper for ...

  • Further properties of ⋆-liftings
  • Symmetric ⋆-liftings

and advanced composition

  • ⋆-liftings for f-divergences

19

slide-46
SLIDE 46

Wrapping up: Future directions and other speculation

Open questions

◮ Generalize to continuous distributions? ◮ Similar equivalences for other approximate lifting? ◮ Which properties should approximate liftings satisfy? 20

slide-47
SLIDE 47

Wrapping up: Future directions and other speculation

Open questions

◮ Generalize to continuous distributions? ◮ Similar equivalences for other approximate lifting? ◮ Which properties should approximate liftings satisfy?

Mild speculation

⋆-liftings are the “right” approximate version of probabilistic couplings

20

slide-48
SLIDE 48

Gilles Barthe, Thomas Espitau, Justin Hsu, Tetsuya Sato, Pierre-Yves Strub

⋆-Liftings for Differential Privacy and f-Divergences

21