Multi-agent Abduction Using Doxastic Temporal Models Thomas - - PowerPoint PPT Presentation

multi agent abduction using doxastic temporal models
SMART_READER_LITE
LIVE PREVIEW

Multi-agent Abduction Using Doxastic Temporal Models Thomas - - PowerPoint PPT Presentation

Multi-agent Abduction Using Doxastic Temporal Models Thomas Bolander DTU Compute, Technical University of Denmark Joint work with Sonja Smets , ILLC Bolander: Multi-agent Abduction, 6 Dec 2018 p. 1/22 Sally-Anne in Dynamic Epistemic Logic


slide-1
SLIDE 1

Multi-agent Abduction Using Doxastic Temporal Models

Thomas Bolander DTU Compute, Technical University of Denmark Joint work with Sonja Smets, ILLC

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 1/22

slide-2
SLIDE 2

Sally-Anne in Dynamic Epistemic Logic

Bolander: Seeing is Believing—Formalising False-Belief Tasks in Dynamic Epistemic Logic, in Outstanding Contributions to Logic, Springer, 2018.

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 2/22

slide-3
SLIDE 3

Pepper passing false-belief tasks

http://www2.compute.dtu.dk/~tobo/forskerzonen_trimmed.mp4

Forskerens favorit: Robotten Pepper lærer at sætte sig i andres sted. https://videnskab.dk/teknologi-innovation/ forskerens-favorit-robotten-pepper-laerer-at-saette-sig-i-andres-sted

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 3/22

slide-4
SLIDE 4

The best of both worlds: Machine learning + explainable logical reasoning

Research in social artificial intelligence at DTU: A Pepper robot with social perspective-taking abilities. The robot solves cognitive tasks: false-belief tasks of arbitrary order. Humans can solve first-order at age 4, second-order at age 10 and third-order at age 20.

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 4/22

slide-5
SLIDE 5

Plausibility models

Agents: A. Propositions: P. (Multi-pointed) plausibility model: M = W , (i)i∈A, V , Wd, where

  • W is a set of possible worlds, marked .
  • Each i is a plausibility relation: a set of mutually disjoint

well-preorders covering W .

  • V is a valuation.
  • Wd ⊆ W is a set of designated worlds (one of which is the actual),

marked . w1 :t w2 :x S iff w1 S w2 iff S finds w1 more plausible than w2. ∼i := i ∪ i. w1 ∼i w2 means w1 and w2 are (epistemically) indistinguishable to agent i.

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 5/22

slide-6
SLIDE 6

Language and semantics

Language: φ ::= ¬φ | φ ∧ φ | Biφ | Kiφ | Cφ. Semantics:

  • M, w |

= Biφ iff φ holds in the most plausible worlds i cannot epistemically distinguish from w.

  • M, w |

= Ki iff φ holds in all worlds i cannot epistemically distinguish from w.

  • M |

= φ iff M, w | = φ for all w ∈ Wd. M = w1 :t w2 :x S M | = BSt ∧ ¬KSt

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 6/22

slide-7
SLIDE 7

Event models

(Multi-pointed) event model: E = E, (i)i∈A, pre, post, Ed, where

  • E is a set of possible events, marked .
  • Each i is a plausibility relation (as before).
  • For each e ∈ E, pre(e) is a precondition: a formula.
  • For each e ∈ E, post(e) is a simple postcondition: a conjunction of

literals.

  • Ed ⊆ E is a set of designated events (one of which is the actual),

marked . Events e are labelled by (pre(e), post(e)). e1 :(⊤, ⊤) e2 :(⊤, x ∧ ¬t) S

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 7/22

slide-8
SLIDE 8

Product update

The product update of a plausibility model M = W , (i)i∈A, V , Wd with an event model E = E, (i)i∈A, pre, post, Ed is the plausibility model M ⊗ E = W ′, (′

i)i∈A, V ′, W ′ d

where

  • W ′ = {(w, e) ∈ W × E | M, w |

= pre(e)}

i= {((w, e), (v, f )) ∈ W ′ × W ′ | (w ∼i v and e i f and f i

e) or (e i f and f i e and w i v)} (action-priority update).

  • V ′(p) = {(w, e) ∈ W ′ | post(e) |

= p or (w ∈ V (p) and post(e) | = ¬p)}.

  • W ′

d = {(w, e) ∈ W ′ | w ∈ Wd and e ∈ Ed}.

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 8/22

slide-9
SLIDE 9

DoTL models

A DoTL model is a plausibility model where the worlds are structured into histories over an alphabet of events. Formally: A DoTL model (model of Doxastic Temporal Logic) over a set of events Σ is a plausibility model D = H, (i)i∈A, V , Hd, where H ⊆ Σ⋆ is closed under non-empty prefixes. Elements of H are called histories. The frontier of a DoTL model is the plausibility model consisting of the maximal histories. Formally: The frontier of a DoTL model D = H, (i)i∈A, V , Hd is the plausibility model given by frontier(D) = Hmax, (i ↾ H2

max)i∈A, V ↾ Hmax, Hd ∩ Hmax, where

Hmax = {h ∈ H | there is no h′ ∈ H with |h′| > |h|}. The inclusive (product) update of a DoTL model D with an event model E extends D by updating its frontier with E. Formally: The inclusive (product) update of a DoTL model D = H, (i)i∈A, V , Hd

  • ver Σ and an event model E = E, (i)i∈A, pre, post, Ed is the DoTL

model D ⊗∪ E over Σ ∪ E given by the union of D and frontier(D) ⊗ E.

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 9/22

slide-10
SLIDE 10

Example: The Sally-Anne task

initial state: w0 : S, t Leave: leave :(⊤, ¬S) Swap: skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S Enter: enter :(⊤, S) PeekBasket: ¬t!:(¬t, ⊤)

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 10/22

slide-11
SLIDE 11

Sally-Anne DoTL model: inclusive updates

w0 : S, t Leave leave :(⊤, ¬S)

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 11/22

slide-12
SLIDE 12

Sally-Anne DoTL model: inclusive updates

w0 : S, t Leave leave :(⊤, ¬S) t leave

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 11/22

slide-13
SLIDE 13

Sally-Anne DoTL model: inclusive updates

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 11/22

slide-14
SLIDE 14

Sally-Anne DoTL model: inclusive updates

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 11/22

slide-15
SLIDE 15

Sally-Anne DoTL model: inclusive updates

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 11/22

slide-16
SLIDE 16

Sally-Anne DoTL model: inclusive updates

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter S, t S, x enter enter S

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 11/22

slide-17
SLIDE 17

Sally-Anne DoTL model: inclusive updates

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter S, t S, x enter enter S PeekBasket ¬t!:(¬t, ⊤)

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 11/22

slide-18
SLIDE 18

Sally-Anne DoTL model: inclusive updates

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter S, t S, x enter enter S PeekBasket ¬t!:(¬t, ⊤) t ¬t!

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 11/22

slide-19
SLIDE 19

Sally-Anne DoTL model: inclusive updates

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter S, t S, x enter enter S PeekBasket ¬t!:(¬t, ⊤) t ¬t! Let h = (e1, . . . , en) be a most plausible history for agent i. The event en is called a surprise to agent i in h if (e1, . . . , en−1) is not a most plausible history for agent i. The event ¬t! is a surprise above.

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 11/22

slide-20
SLIDE 20

Language and semantics of DoTL models

We extend the previous language by ∗-free PDL (including inverses) on events/histories: φ ::= · · · | πφ π ::= e | π; π | π ∪ π | π−1 where e ∈ Σ. Semantics. D, h | = πφ iff for some h′ with hRπh′ we have D, h′ | = φ, where

  • Re = {(h, he) | he ∈ H}
  • Rπ1∪π2 = Rπ1 ∪ Rπ2
  • Rπ1;π2 = Rπ1 ◦ Rπ2
  • Rπ−1 = (Rπ)−1

D | = φ iff D, h | = φ for all h ∈ Hmax ∩ Hd.

  • Example. Any DoTL model D has full synchrony: There is a number m

such that D | = C

  • (∪i∈Σei)−m⊤ ∧ [(∪i∈Σei)−(m+1)]⊥
  • Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 12/22
slide-21
SLIDE 21

Subjective models

When DoTL model are constructed from the subjective view of an agent, it might not be possible to point out a single designated history. The associated subjective model

  • f agent i of a plausibility

model/event model/DoTL model is achieved by closing the set of designated points under the epistemic indistinguishability relation

  • f agent i.

The DoTL to the right shows the inclusive product updates from the subjective view. w0 : S, t Leave t leave Swap t x move skip S Enter S, t S, x enter enter S PeekBasket t ¬t!

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 13/22

slide-22
SLIDE 22

Restricted inclusive update

Inclusive update of D with E restricted to a subset I of the frontier: Mark frontier histories outside I with “cut”. Only update frontier histories in I with E. Formally: Let D be a DoTL model over Σ and E an event model with events E. Let I ⊆ Hmax be a set of frontier histories of

  • D. The inclusive update of D with E restricted to I is the DoTL

model D ⊗I

∪ E over Σ ∪ E given by the union of D and

(frontier(D) ↾ I) ⊗ E, and where all h ∈ Hmax − I are marked by “cut”. The most plausible update for agent i of D with E, denoted D ⊗i

∪ E, is

the inclusive update restricted to the most plausible histories of the frontier for agent i—and closed under more plausible histories for other

  • agents. Formally: For a DoTL model D, the histories considered most

plausible by agent i are the histories h′ ∈ Hmax satisfying D | = Bih′−1⊤. Let = (∪i∈A i)+. The most plausible update for agent i of D with E is the inclusive update of D with E restricted to {h ∈ Hmax | h h′ for some most plausible history h′ for agent i in D}. A restricted inclusive update is called degenerate if no designated histories are added (at the new level).

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 14/22

slide-23
SLIDE 23

Most plausible updates on the Sally-Anne example

w0 : S, t Leave leave :(⊤, ¬S)

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 15/22

slide-24
SLIDE 24

Most plausible updates on the Sally-Anne example

w0 : S, t Leave leave :(⊤, ¬S) t leave

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 15/22

slide-25
SLIDE 25

Most plausible updates on the Sally-Anne example

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 15/22

slide-26
SLIDE 26

Most plausible updates on the Sally-Anne example

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 15/22

slide-27
SLIDE 27

Most plausible updates on the Sally-Anne example

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 15/22

slide-28
SLIDE 28

Most plausible updates on the Sally-Anne example

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter cut S, t S, x enter enter S

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 15/22

slide-29
SLIDE 29

Most plausible updates on the Sally-Anne example

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter cut S, t S, x enter enter S PeekBasket ¬t!:(¬t, ⊤)

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 15/22

slide-30
SLIDE 30

Most plausible updates on the Sally-Anne example

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter cut S, t S, x enter enter S PeekBasket ¬t!:(¬t, ⊤) t ¬t! Degenerate!

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 15/22

slide-31
SLIDE 31

Degenerate models, surprise and abduction

When an agent i does most plausible updates and ends up with a degenerate model, it corresponds to a surprise: There are no longer any histories consistent with the observed. In those cases, the agent needs to do abduction: Expand some of the cut histories (histories labelled “cut”). Single abduction step: Choose a cut history, remove the “cut” label, and expand it.

  • Example. Agent i might do most plausible updates on an initial

(subjective) plausibility model M with (subjective) event models E1, . . . , En: M ⊗i

∪ E1 ⊗i ∪ E2 ⊗i ∪ · · · ⊗i ∪ En. An abduction step is then to

pick a cut history h of length m and replace the DoTL model by: M ⊗i

∪ E1 ⊗i ∪ E2 ⊗ · · · ⊗ Em−1 ⊗{most plausible}∪{h} ∪

⊗i

∪Em ⊗ · · · ⊗ En.

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 16/22

slide-32
SLIDE 32

Sally-Anne with abduction

w0 : S, t Leave leave :(⊤, ¬S)

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 17/22

slide-33
SLIDE 33

Sally-Anne with abduction

w0 : S, t Leave leave :(⊤, ¬S) t leave

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 17/22

slide-34
SLIDE 34

Sally-Anne with abduction

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 17/22

slide-35
SLIDE 35

Sally-Anne with abduction

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 17/22

slide-36
SLIDE 36

Sally-Anne with abduction

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 17/22

slide-37
SLIDE 37

Sally-Anne with abduction

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter cut S, t S, x enter enter S

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 17/22

slide-38
SLIDE 38

Sally-Anne with abduction

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter cut S, t S, x enter enter S PeekBasket ¬t!:(¬t, ⊤)

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 17/22

slide-39
SLIDE 39

Sally-Anne with abduction

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter cut S, t S, x enter enter S PeekBasket ¬t!:(¬t, ⊤) t ¬t! Degenerate!

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 17/22

slide-40
SLIDE 40

Sally-Anne with abduction

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter cut S, t S, x enter enter S PeekBasket ¬t!:(¬t, ⊤) t ¬t! Abduct!

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 17/22

slide-41
SLIDE 41

Sally-Anne with abduction

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter S, t S, x enter enter S PeekBasket ¬t!:(¬t, ⊤) t ¬t!

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 17/22

slide-42
SLIDE 42

Sally-Anne with abduction

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter S, t S, x enter enter S PeekBasket ¬t!:(¬t, ⊤) t ¬t! S, x enter S

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 17/22

slide-43
SLIDE 43

Sally-Anne with abduction

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter S, t S, x enter enter S PeekBasket ¬t!:(¬t, ⊤) t ¬t! S, x enter S t ¬t!

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 17/22

slide-44
SLIDE 44

Simple abduction types

The crucial thing about abduction is choosing which cut histories to

  • expand. Some obvious options:
  • Expand the most plausible cut histories among the cuts of maximal
  • length. This corresponds to chronological minimsation [Bell 1998].
  • Expand the most plausible cut histories of minimal length. This

corresponds to inverse chronological minimisation.

  • Uniform expansion of all most plausible cut histories of any length.

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 18/22

slide-45
SLIDE 45

Simple abduction types

The crucial thing about abduction is choosing which cut histories to

  • expand. Some obvious options:
  • Expand the most plausible cut histories among the cuts of maximal
  • length. This corresponds to chronological minimsation [Bell 1998].
  • Expand the most plausible cut histories of minimal length. This

corresponds to inverse chronological minimisation.

  • Uniform expansion of all most plausible cut histories of any length.

If Sally is away for 2 time steps before coming back and peeking into the basket, she will by chronological minimisation come to believe the marble was moved at the second time step. By inverse chronological minimisation, she will come to believe it was moved at the first time step. Inverse chronological minimisation is consistent with action-priority update: Action-priority update will also give that (leave, move, skip) is a more plausible history than (leave, skip, move) (later actions take precedence over earlier).

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 18/22

slide-46
SLIDE 46

Defeasible and indefeasible knowledge and belief

With restricted updates, belief and knowledge becomes “defeasible”. If Sally does most plausible updates, she only has one possible world when returning: the one representing the wrong location of the marble. We can distinguish between defeasible knowledge and belief (K d

i and

Bd

i ) and indefeasible knowledge and belief (Ki and Bi).

A history h′ is said to be i-accessible above a history h if h′ ∼i hinit for some prefix hinit of h.

  • D, h |

= Bd

i φ iff φ holds in the most plausible histories i cannot

distinguish from h.

  • D, h |

= K d

i φ iff φ holds in all histories i cannot distinguish from h.

  • D, h |

= Biφ iff there are no i-accessible cuts above h and φ holds in all most plausible histories i cannot distinguish from h.

  • D, h |

= Kiφ iff there are no i-accessible cuts above h and φ holds in all histories i cannot distinguish from h.

  • Proposition. Indefeasible knowledge/belief in a restricted update implies

knowledge/belief in the unrestricted update. Proof. By definition of product update.

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 19/22

slide-47
SLIDE 47

Defeasible and indefeasible belief in Sally-Anne

w0 : S, t Leave leave :(⊤, ¬S) t leave Swap skip :(⊤, ⊤) move :(⊤, x ∧ ¬t) S t x move skip S enter :(⊤, S) Enter cut S, t S, x enter enter S D, (w0, leave, skip, enter) | = Bd

S t ∧ K d S t ∧ ¬BSt.

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 20/22

slide-48
SLIDE 48

Chain abduction

Let (i1, . . . , in) be sequence of agents. (i1, . . . , in)-abduction on history h iteratively takes any cut that is (i1, . . . , in)-accessible (by the epistemic relation) above h and expands it.

  • Proposition. Assume D′ results from D by (i1, . . . , in)-abduction on

history h. If D′, h | = Bd

i1 · · · Bd inφ where φ is propositional, then

D′, h | = Bi1 · · · Binφ. (also holds for knolwedge)

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 21/22

slide-49
SLIDE 49

Final comments

  • Conclusion. Existing approaches to Sally-Anne in DEL don’t offer

recovery from false beliefs (but see also [van Eijck 2017]). Using plausibility models solves this, but is computationally unfeasible. Our frameworks sits between these two—seeks to combine the best of both.

Bolander: Multi-agent Abduction, 6 Dec 2018 – p. 22/22