Learning Ceteris Paribus Preferences Sergei Obiedkov National - - PowerPoint PPT Presentation

learning ceteris paribus preferences
SMART_READER_LITE
LIVE PREVIEW

Learning Ceteris Paribus Preferences Sergei Obiedkov National - - PowerPoint PPT Presentation

Learning Ceteris Paribus Preferences Sergei Obiedkov National Research University Higher School of Economics, Moscow, Russia Preference context adapted from (Brafman and Domshlak 2009) Cars Preferences white exterior bright interior dark


slide-1
SLIDE 1

Learning Ceteris Paribus Preferences

Sergei Obiedkov

National Research University Higher School of Economics, Moscow, Russia

slide-2
SLIDE 2

Preference context

adapted from (Brafman and Domshlak 2009)

Cars Preferences

minivan SUV red exterior white exterior bright interior dark interior c1 × × × c2 × × × c3 × × × c4 × × × c5 × × ×

c1 c2 c3 c4 c5

slide-3
SLIDE 3

Preference context

adapted from (Brafman and Domshlak 2009)

Cars Preferences

minivan SUV red exterior white exterior bright interior dark interior c1 × × × c2 × × × c3 × × × c4 × × × c5 × × ×

c1 c2 c3 c4 c5

Question

You are buying a red car with bright interior. Will it be a minivan

  • r an SUV?
slide-4
SLIDE 4

From preferences over objects to preferences over descriptions

From data, derive statements like I prefer a white car to a red car.

slide-5
SLIDE 5

From preferences over objects to preferences over descriptions

From data, derive statements like I prefer a white car to a red car.

...and back

Use derived statements to predict preferences over new objects.

slide-6
SLIDE 6

From preferences over objects to preferences over descriptions

From data, derive statements like I prefer a white car to a red car. What exactly does this mean?

◮ every white car to every red car? ◮ most white cars to most red cars?

...and back

Use derived statements to predict preferences over new objects.

slide-7
SLIDE 7

From preferences over objects to preferences over descriptions

From data, derive statements like I prefer a white car to a red car. What exactly does this mean?

◮ every white car to every red car? ◮ most white cars to most red cars?

Ceteris paribus semantics

◮ every white car to every red car that is otherwise similar

...and back

Use derived statements to predict preferences over new objects.

slide-8
SLIDE 8

Lifting preferences to propositions

in modal preference logics (van Benthem et al. 2009)

Based on a preference relation over possible worlds:

General approach

ψ is preferred to φ

  • worlds satisfying ψ are preferred to worlds satisfying φ
slide-9
SLIDE 9

Lifting preferences to propositions

in modal preference logics (van Benthem et al. 2009)

Based on a preference relation over possible worlds:

General approach

ψ is preferred to φ

  • worlds satisfying ψ are preferred to worlds satisfying φ

One approach to ceteris paribus semantics

ψ is preferred to φ, Γ being equal

  • every world satisfying ψ is preferred to every world satisfying φ

that satisfies the same formulas from Γ

slide-10
SLIDE 10

Lifting preferences to propositions

in modal preference logics (van Benthem et al. 2009)

One approach to ceteris paribus semantics

ψ is preferred to φ, Γ being equal

  • every world satisfying ψ is preferred to every world satisfying φ

that satisfies the same formulas from Γ Our approach is similar, but:

◮ φ and ψ are atomic conjunctions ◮ Γ is a set of atomic formulas

We use formal concept analysis as a formal framework.

slide-11
SLIDE 11

Formal Concept Analysis

Formal context K = (G, M, I)

◮ a set of objects G ◮ a set of attributes M ◮ objects are described with attributes: the binary relation

I ⊆ G × M

slide-12
SLIDE 12

Formal Concept Analysis

Formal context K = (G, M, I)

◮ a set of objects G ◮ a set of attributes M ◮ objects are described with attributes: the binary relation

I ⊆ G × M

Derivation operators

For A ⊆ G: For B ⊆ M: A′ = {m ∈ M | ∀g ∈ A(gIm)} B′ = {g ∈ G | ∀m ∈ B(gIm)}

slide-13
SLIDE 13

Formal Concept Analysis

Formal context K = (G, M, I)

minivan SUV red exterior white exterior bright interior dark interior c1 × × × c2 × × × c3 × × × c4 × × × c5 × × × {SUV}′ = {c2, c4} {c2, c4}′ = {SUV, dark}

Derivation operators

For A ⊆ G: For B ⊆ M: A′ = {m ∈ M | ∀g ∈ A(gIm)} B′ = {g ∈ G | ∀m ∈ B(gIm)}

slide-14
SLIDE 14

Implications

Formal context K = (G, M, I)

minivan SUV red exterior white exterior bright interior dark interior c1 × × × c2 × × × c3 × × × c4 × × × c5 × × ×

Implication

Implication A → B holds in the context (G, M, I) if A′ ⊆ B′.

Attribute implications for cars

bright → minivan, white SUV → dark red → dark minivan, SUV → M red, white → M bright, dark → M A set of implications ⇐ ⇒ a Horn formula

slide-15
SLIDE 15

Preference context

minivan SUV red exterior white exterior bright interior dark interior c1 × × × c2 × × × c3 × × × c4 × × × c5 × × ×

c1 c2 c3 c4 c5

Preference context P = (G, M, I, ≤)

◮ (G, M, I) is a formal context. ◮ Preference relation ≤ is a preorder on G.

slide-16
SLIDE 16

Ceteris paribus preferences

Ceteris paribus preferences in preference logics

ψ is preferred to φ ceteris paribus with respect to a set Γ of propositions if, for every two possible worlds w1 and w2 such that

◮ w1 |

= φ,

◮ w2 |

= ψ,

◮ ∀γ ∈ Γ(w1 |

= γ ⇐ ⇒ w2 | = γ), we have w1 ≤ w2.

slide-17
SLIDE 17

Ceteris paribus preferences

Ceteris paribus preferences in preference logics

ψ is preferred to φ ceteris paribus with respect to a set Γ of propositions if, for every two possible worlds w1 and w2 such that

◮ w1 |

= φ,

◮ w2 |

= ψ,

◮ ∀γ ∈ Γ(w1 |

= γ ⇐ ⇒ w2 | = γ), we have w1 ≤ w2.

Ceteris paribus preferences in FCA P | = A C B

B ⊆ M is preferred to A ⊆ M ceteris paribus with respect to C ⊆ M in P = (G, M, I, ≤) if ∀g ∈ A′∀h ∈ B′({g}′ ∩ C = {h}′ ∩ C ⇒ g ≤ h).

slide-18
SLIDE 18

Example

minivan SUV red exterior white exterior bright interior dark interior c1 × × × c2 × × × c3 × × × c4 × × × c5 × × ×

c1 c2 c3 c4 c5

I prefer minivans to SUVs SUV ∅minivan

slide-19
SLIDE 19

Example

minivan SUV red exterior white exterior bright interior dark interior c1 × × × c2 × × × c3 × × × c4 × × × c5 × × ×

c1 c2 c3 c4 c5

I prefer minivans to SUVs SUV ∅ minivan

slide-20
SLIDE 20

Example

minivan SUV red exterior white exterior bright interior dark interior c1 × × × c2 × × × c3 × × × c4 × × × c5 × × ×

c1 c2 c3 c4 c5

I prefer minivans to SUVs SUV ∅ minivan . . . with the same interior color. SUV {bright,dark} minivan

slide-21
SLIDE 21

Semantics based on preference contexts

P | = Π (Π is a set of preferences)

Π is sound for P ⇐ ⇒ ∀π ∈ Π(P | = π)

Π | = π

π is a semantic consequence of Π if, for all P, P | = Π = ⇒ P | = π.

Completeness

Π is complete for P if, for all π, P | = π = ⇒ Π | = π.

slide-22
SLIDE 22

Ceteris paribus preferences as implications

Ceteris paribus translation of P

KP

∼ = (G × G, (M × {1, 2, 3}) ∪ {≤}, I∼)

(g1, g2)I∼(m, 1) ⇐ ⇒ g1Im, (g1, g2)I∼(m, 2) ⇐ ⇒ g2Im, (g1, g2)I∼(m, 3) ⇐ ⇒ {g1}′ ∩ {m} = {g2}′ ∩ {m}, (g1, g2)I∼ ≤ ⇐ ⇒ g1 ≤ g2.

Ceteris paribus translation for cars

m1 s1 r1 . . . m2 s2 r2 . . . m3 s3 r3 . . . ≤ . . . c1, c4 × × × c1, c5 × × × × × × . . .

slide-23
SLIDE 23

Ceteris paribus preferences as implications

minivan SUV red exterior white exterior bright interior dark interior c1 × × × c2 × × × c3 × × × c4 × × × c5 × × ×

c1 c2 c3 c4 c5

Ceteris paribus translation for cars

m1 s1 r1 . . . m2 s2 r2 . . . m3 s3 r3 . . . ≤ . . . c1, c4 × × × c1, c5 × × × × × × . . .

slide-24
SLIDE 24

Ceteris paribus preferences as implications

Translation of ceteris paribus preferences

A ceteris paribus preference A C B is valid in a preference context P = (G, M, I, ≤) if and only if the implication (A × {1}) ∪ (B × {2}) ∪ (C × {3}) → {≤} (1) is valid in KP

∼.

Example

SUV {bright,dark} minivan

  • {SUV1, minivan2, bright3, dark3} → {≤}
slide-25
SLIDE 25

Ceteris paribus preferences as implications

Translation of ceteris paribus preferences

A ceteris paribus preference A C B is valid in a preference context P = (G, M, I, ≤) if and only if the implication (A × {1}) ∪ (B × {2}) ∪ (C × {3}) → {≤} (1) is valid in KP

∼.

Proposition

The set {A C B | (A × {1}) ∪ (B × {2}) ∪ (C × {3}) is minimal w.r.t. KP

∼ |

= (2)} is sound and complete for the preference context P.

slide-26
SLIDE 26

Ceteris paribus preferences as implications

Translation of ceteris paribus preferences

A ceteris paribus preference A C B is valid in a preference context P = (G, M, I, ≤) if and only if the implication (A × {1}) ∪ (B × {2}) ∪ (C × {3}) → {≤} (1) is valid in KP

∼.

Proposition

The set {A C B | (A × {1}) ∪ (B × {2}) ∪ (C × {3}) is minimal w.r.t. KP

∼ |

= (2)} is sound and complete for the preference context P. Unfortunately, this set is also quite redundant.

slide-27
SLIDE 27

Canonical form

Many ways to write the same preference

a cd bd ≡ ad c bd ≡ ad cd b ≡ ad cd bd

slide-28
SLIDE 28

Canonical form

Many ways to write the same preference

a cd bd ≡ ad c bd ≡ ad cd b ≡ ad cd bd In the translated context KP

∼, we have

KP

∼ |

= {di, dj} → {dk} for i = j = k ∈ {1, 2, 3}.

slide-29
SLIDE 29

Canonical form

Many ways to write the same preference

a cd bd ≡ ad c bd ≡ ad cd b ≡ ad cd bd In the translated context KP

∼, we have

KP

∼ |

= {di, dj} → {dk} for i = j = k ∈ {1, 2, 3}.

Canonical-form preferences

A C B is in canonical form if A ∩ C = A ∩ B = B ∩ C.

slide-30
SLIDE 30

Canonical form

Many ways to write the same preference

a cd bd ≡ ad c bd ≡ ad cd b ≡ ad cd bd In the translated context KP

∼, we have

KP

∼ |

= {di, dj} → {dk} for i = j = k ∈ {1, 2, 3}.

Canonical-form preferences

A C B is in canonical form if A ∩ C = A ∩ B = B ∩ C.

The canonical form of A C B

can(A C B) = A ∪ (B ∩ C) C∪(A∩B) B ∪ (A ∩ C).

slide-31
SLIDE 31

Ceteris paribus preferences as implications

Translation of ceteris paribus preferences

A ceteris paribus preference A C B is valid in a preference context P = (G, M, I, ≤) if and only if the implication (A × {1}) ∪ (B × {2}) ∪ (C × {3}) → {≤} (2) is valid in KP

∼.

Proposition

The set {A C B | (A × {1}) ∪ (B × {2}) ∪ (C × {3}) is minimal w.r.t. KP

∼ |

= (2)} and A ∩ B = A ∩ C = B ∩ C} is sound and complete for the preference context P.

slide-32
SLIDE 32

Ceteris paribus preferences as implications

Translation of ceteris paribus preferences

A ceteris paribus preference A C B is valid in a preference context P = (G, M, I, ≤) if and only if the implication (A × {1}) ∪ (B × {2}) ∪ (C × {3}) → {≤} (2) is valid in KP

∼.

Proposition

The set {A C B | (A × {1}) ∪ (B × {2}) ∪ (C × {3}) is minimal w.r.t. KP

∼ |

= (2)} and A ∩ B = A ∩ C = B ∩ C} is sound and complete for the preference context P, but still redundant.

slide-33
SLIDE 33

Redundancy

Example

{a c b, a d b, a c d, d c b} is redundant because {a d b, a c d, d c b} | = a c b.

slide-34
SLIDE 34

Redundancy

Example

{a c b, a d b, a c d, d c b} is redundant because {a d b, a c d, d c b} | = a c b. In the translated context KP

∼, we have

KP

∼ |

= d1 ∨ d2 ∨ d3.

slide-35
SLIDE 35

Inference

Example

If I prefer every minivan to every SUV of the same color, then I prefer every expensive minivan to every cheap SUV

  • f the same color and brand.
slide-36
SLIDE 36

Inference

Example

If I prefer every minivan to every SUV of the same color, then I prefer every expensive minivan to every cheap SUV

  • f the same color and brand.

“Easy” inference

A C B A ∪ D C∪F B ∪ E

slide-37
SLIDE 37

Inference

“Easy” inference

Let Π be a set of ceteris paribus preferences over M. Denote Π• = {D F E | ∃A C B ∈ Π(A ⊆ D, B ⊆ E, C ⊆ F)} Π◦ = {D F E | D F E ∈ Π• is in canonical form and D ∪ E ∪ F = M}. Π•: preferences derivable from Π by the “easy inference” rule. Π◦: the weakest canonical-form preferences from Π•.

slide-38
SLIDE 38

Inference

“Easy” inference

Let Π be a set of ceteris paribus preferences over M. Denote Π• = {D F E | ∃A C B ∈ Π(A ⊆ D, B ⊆ E, C ⊆ F)} Π◦ = {D F E | D F E ∈ Π• is in canonical form and D ∪ E ∪ F = M}. Π•: preferences derivable from Π by the “easy inference” rule. Π◦: the weakest canonical-form preferences from Π•.

Proposition

For any preference A C B and preference set Π: Π | = A C B ⇐ ⇒ {A C B}◦ ⊆ Π•.

slide-39
SLIDE 39

Ceteris Paribus Consequence(A C B, Π)

Input: A ceteris paribus preference A C B and a set Π of ceteris paribus preferences (over a universal set M). Output: true, if Π | = A C B; false, otherwise. S := [can(A C B)] {stack} repeat D F E := pop(S) if A ⊆ D, B ⊆ E, and C ⊆ F for no A C B in Π then X := M \ (D ∪ E ∪ F) if X = ∅ then return false choose m ∈ X push(S, D ∪ {m} F E) push(S, D F E ∪ {m}) push(S, D F∪{m} E) until empty(S) return true

slide-40
SLIDE 40

Ceteris Paribus Consequence(A C B, Π)

in action

M = {a, b, c, d, e}. Π = {a d b, a c d, d c b}.

◮ Does a c b follow from Π?

Stack S Current preference D F E

slide-41
SLIDE 41

Ceteris Paribus Consequence(A C B, Π)

in action

M = {a, b, c, d, e}. Π = {a d b, a c d, d c b}.

◮ Does a c b follow from Π?

Stack S

a c b

Current preference D F E

slide-42
SLIDE 42

Ceteris Paribus Consequence(A C B, Π)

in action

M = {a, b, c, d, e}. Π = {a d b, a c d, d c b}.

◮ Does a c b follow from Π?

Stack S Current preference D F E

a c b

slide-43
SLIDE 43

Ceteris Paribus Consequence(A C B, Π)

in action

M = {a, b, c, d, e}. Π = {a d b, a c d, d c b}.

◮ Does a c b follow from Π?

Stack S Current preference D F E

a c b ∈ Π•

slide-44
SLIDE 44

Ceteris Paribus Consequence(A C B, Π)

in action

M = {a, b, c, d, e}. Π = {a d b, a c d, d c b}.

◮ Does a c b follow from Π?

Stack S

a cd b a c bd ad c b

Current preference D F E

slide-45
SLIDE 45

Ceteris Paribus Consequence(A C B, Π)

in action

M = {a, b, c, d, e}. Π = {a d b, a c d, d c b}.

◮ Does a c b follow from Π?

Stack S

a c bd ad c b

Current preference D F E

a cd b

slide-46
SLIDE 46

Ceteris Paribus Consequence(A C B, Π)

in action

M = {a, b, c, d, e}. Π = {a d b, a c d, d c b}.

◮ Does a c b follow from Π?

Stack S

a c bd ad c b

Current preference D F E

a cd b ∈ Π• ⇐ a d b

slide-47
SLIDE 47

Ceteris Paribus Consequence(A C B, Π)

in action

M = {a, b, c, d, e}. Π = {a d b, a c d, d c b}.

◮ Does a c b follow from Π?

Stack S

ad c b

Current preference D F E

a c bd

slide-48
SLIDE 48

Ceteris Paribus Consequence(A C B, Π)

in action

M = {a, b, c, d, e}. Π = {a d b, a c d, d c b}.

◮ Does a c b follow from Π?

Stack S

ad c b

Current preference D F E

a c bd ∈ Π• ⇐ a c d

slide-49
SLIDE 49

Ceteris Paribus Consequence(A C B, Π)

in action

M = {a, b, c, d, e}. Π = {a d b, a c d, d c b}.

◮ Does a c b follow from Π?

Stack S Current preference D F E

ad c b

slide-50
SLIDE 50

Ceteris Paribus Consequence(A C B, Π)

in action

M = {a, b, c, d, e}. Π = {a d b, a c d, d c b}.

◮ Does a c b follow from Π?

Stack S Current preference D F E

ad c b ∈ Π• ⇐ d c b

slide-51
SLIDE 51

Ceteris Paribus Consequence(A C B, Π)

in action

M = {a, b, c, d, e}. Π = {a d b, a c d, d c b}.

◮ Does a c b follow from Π?

Yes!

Stack S Current preference D F E

slide-52
SLIDE 52

Checking semantic consequence

◮ The algorithm is exponential in |M|. ◮ The theory implied by ceteris paribus preferences is generated

by

◮ Horn formulas into which we translate preferences; ◮ ¬mi ∨ ¬mj ∨ mk for each m ∈ M and i = j = k ∈ {1, 2, 3}; ◮ m1 ∨ m2 ∨ m3 for each m ∈ M.

◮ However, the algorithm is linear in |Π|.

slide-53
SLIDE 53

Predicting preferences

Question

You are buying a red car with bright interior. Will it be a minivan

  • r an SUV?

More generally

Given a preference context P and two additional objects g and h with descriptions A and B, predict which is better.

slide-54
SLIDE 54

Predicting preferences

Question

You are buying a red car with bright interior. Will it be a minivan

  • r an SUV?

More generally

Given a preference context P and two additional objects g and h with descriptions A and B, predict which is better.

One approach

Generate “minimal” canonical-form preferences Π valid in P. If Π contains D F E with

◮ D ⊆ A, ◮ E ⊆ B, ◮ F ∩ (A △ B) = ∅,

then predict g ≤ h. If Π contains E F D with

◮ D ⊆ A, ◮ E ⊆ B, ◮ F ∩ (A △ B) = ∅,

then predict h ≤ g.

slide-55
SLIDE 55

Predicting preferences

Cars Preferences

minivan SUV red exterior white exterior bright interior dark interior c1 × × × c2 × × × c3 × × × c4 × × × c5 × × ×

c1 c2 c3 c4 c5

Which is better?

c6: {minivan, red, bright} c7: {SUV, red, bright} P | = SUV bright,dark minivan

◮ c7 ≤ c6

slide-56
SLIDE 56

Predicting preferences

Cars Preferences

minivan SUV red exterior white exterior bright interior dark interior c1 × × × c2 × × × c3 × × × c4 × × × c5 × × ×

c1 c2 c3 c4 c5

Which is better?

c6: {minivan, red, bright} c7: {SUV, red, bright} P | = minivan ∅ SUV, bright

◮ c6 ≤ c7

slide-57
SLIDE 57

Predicting preferences

Cars Preferences

minivan SUV red exterior white exterior bright interior dark interior c1 × × × c2 × × × c3 × × × c4 × × × c5 × × ×

c1 c2 c3 c4 c5

Which is better?

c6: {minivan, red, bright} c7: {SUV, red, bright} P | = minivan ∅ SUV, bright

◮ c6 ≤ c7

bad!

slide-58
SLIDE 58

Predicting preferences

Problem (special case)

Using all “minimal” canonical-form preferences of P, we will always predict preferential indiscernibility for a pair of objects at least one

  • f which has a combination of attributes not recorded in P.
slide-59
SLIDE 59

Predicting preferences

Problem (special case)

Using all “minimal” canonical-form preferences of P, we will always predict preferential indiscernibility for a pair of objects at least one

  • f which has a combination of attributes not recorded in P.

Solution

A preference A C B is supported by P = (G, M, I, ≤) if

◮ P |

= A C B,

◮ ∃g ∈ A′∃h ∈ B′(g′ ∩ C = h′ ∩ C). ◮ We should use only preferences supported by P for prediction. ◮ Preferences supported by P correspond to implications X →≤

  • f KP

∼ with X ′ = ∅.

slide-60
SLIDE 60

Predicting preferences

Solution

A preference A C B is supported by P = (G, M, I, ≤) if

◮ P |

= A C B,

◮ ∃g ∈ A′∃h ∈ B′(g′ ∩ C = h′ ∩ C). ◮ We should use only preferences supported by P for prediction. ◮ Preferences supported by P correspond to implications X →≤

  • f KP

∼ with X ′ = ∅.

Example

minivan ∅ SUV, bright ⇒ minivan1, SUV2, bright2 →≤ don’t use this preference {minivan1, SUV2, bright2}′ = ∅

slide-61
SLIDE 61

Predicting preferences

Problem

Given a preference context P and two additional objects g and h with descriptions A and B, predict which is better.

One approach

Generate minimal canonical-form preferences Π supported by P. If Π contains D F E with

◮ D ⊆ A, ◮ E ⊆ B, ◮ F ∩ (A △ B) = ∅,

then predict g ≤ h. If Π contains E F D with

◮ D ⊆ A, ◮ E ⊆ B, ◮ F ∩ (A △ B) = ∅,

then predict h ≤ g.

slide-62
SLIDE 62

Predicting preferences

Problem

Given a preference context P and two additional objects g and h with descriptions A and B, predict which is better.

One approach

Generate minimal canonical-form preferences Π supported by P.

◮ This is a costly step. Can it be avoided?

If Π contains D F E with

◮ D ⊆ A, ◮ E ⊆ B, ◮ F ∩ (A △ B) = ∅,

then predict g ≤ h. If Π contains E F D with

◮ D ⊆ A, ◮ E ⊆ B, ◮ F ∩ (A △ B) = ∅,

then predict h ≤ g.

slide-63
SLIDE 63

Predicting preferences

Problem

Given a preference context P and two additional objects g and h with descriptions A and B, predict which is better.

One approach

Generate minimal canonical-form preferences Π supported by P.

◮ This is a costly step. Can it be avoided?

Yes. If P supports D F E with

◮ D ⊆ A, ◮ E ⊆ B, ◮ F ∩ (A △ B) = ∅,

then predict g ≤ h. If P supports E F D with

◮ D ⊆ A, ◮ E ⊆ B, ◮ F ∩ (A △ B) = ∅,

then predict h ≤ g. We can check if there is such D F E supported by P in time polynomial in the size of P using a modification of the algorithm for abduction from (Kautz et al. 1995).

slide-64
SLIDE 64

Further work

◮ Compact representations ◮ Efficient algorithms ◮ Strict preferences ◮ “Ordinal ceteris paribus” conditions (via FCA scaling):

John prefers an academic job to a job in industry (given the salary is at least as good).

◮ Learning preferences with queries ◮ Association rules instead of implications ◮ Preferences under incomplete knowledge ◮ Experimental evaluation