Knowledge and seeing Franois Schwarzentruber (joint work with - - PowerPoint PPT Presentation

knowledge and seeing
SMART_READER_LITE
LIVE PREVIEW

Knowledge and seeing Franois Schwarzentruber (joint work with - - PowerPoint PPT Presentation

Motivation Modeling Variant with cameras Discussion and conclusion Knowledge and seeing Franois Schwarzentruber (joint work with Philippe Balbiani, Olivier Gasquet and Valentin Goranko) cole Normale Suprieure Rennes May 13, 2019 1 /


slide-1
SLIDE 1

Motivation Modeling Variant with cameras Discussion and conclusion

Knowledge and seeing

François Schwarzentruber (joint work with Philippe Balbiani, Olivier Gasquet and Valentin Goranko)

École Normale Supérieure Rennes

May 13, 2019

1 / 62

slide-2
SLIDE 2

Motivation Modeling Variant with cameras Discussion and conclusion

Outline

1

Motivation

2

Modeling

3

Variant with cameras

4

Discussion and conclusion

2 / 62

slide-3
SLIDE 3

Motivation Modeling Variant with cameras Discussion and conclusion

Scenario: agents equipped with vision devices, positioned in the plane / space.

c a b d

3 / 62

slide-4
SLIDE 4

Motivation Modeling Variant with cameras Discussion and conclusion

Scenario: agents equipped with vision devices, positioned in the plane / space.

c a b d (E.g., robots that cooperate)

4 / 62

slide-5
SLIDE 5

Motivation Modeling Variant with cameras Discussion and conclusion

Scenario: agents equipped with vision devices, positioned in the plane / space.

c a b d (E.g., robots that cooperate) Aim: To represent and compute visual-epistemic reasoning of the agents.

5 / 62

slide-6
SLIDE 6

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Outline

1

Motivation

2

Modeling Axiomatization Model checking

3

Variant with cameras

4

Discussion and conclusion

6 / 62

slide-7
SLIDE 7

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Modeling

Each agent has a sector (cone) of vision. a b c d e Assumptions (common knowledge): Agents are transparent points in the plane All objects of interest are agents Agents see infinite sectors Angles of vision are the same α No obstacles (yet)

7 / 62

slide-8
SLIDE 8

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Possible worlds

Let U be the set of unit vectors of R2. Definition A geometrical possible world is a tuple w = (pos, dir) where: pos : Agt → R2 dir : Agt → U dir(a) is the bisector of the sector of vision with angle α: pos(a) dir(a) α

8 / 62

slide-9
SLIDE 9

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Possible worlds

Let U be the set of unit vectors of R2. Definition A geometrical possible world is a tuple w = (pos, dir) where: pos : Agt → R2 dir : Agt → U dir(a) is the bisector of the sector of vision with angle α: pos(a) dir(a) α Cp,u,α: the closed sector with vertex at the point p, angle α and bisector in direction u. The region seen by a is Cpos(a),dir(a),α.

9 / 62

slide-10
SLIDE 10

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

An agent sees another one

Definition a sees b in w = (pos, dir) if pos(b) ∈ Cpos(a),dir(a),α. pos(a) pos(b) pos(c) dir(a) Example a sees a, a sees b. a does not see c.

10 / 62

slide-11
SLIDE 11

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Epistemic model Mflatland

Definition Mflatland = (W , (∼a)a∈AGT, V ) with: W is the set of all geometrical possible worlds; w ∼a u if agents a see the same agents in both w and u and these agents have the same position and direction in both w and u; V (w) = {a sees b | agent a sees b in w}. d b a c e ∼a b d e a c w u

In Hintikka’s World: Flatland

11 / 62

slide-12
SLIDE 12

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Outline

1

Motivation

2

Modeling Axiomatization Model checking

3

Variant with cameras

4

Discussion and conclusion

12 / 62

slide-13
SLIDE 13

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Disjunctive surprises!

| = (Kaa sees b) ∨ (Kaa✘✘ sees b); | = Ka(b sees c ∨ d sees e) ↔ Ka(b sees c) ∨ Ka(d sees e);

13 / 62

slide-14
SLIDE 14

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Some formulas are... Boolean

KaKbCKc,d,e(f sees g) a b c d e f g

14 / 62

slide-15
SLIDE 15

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

In 1D, only qualitative positions matter

a d c b a d c b Expressivity Qualitative positions are expressible in the language. sameDir(a, b) := (a sees b ↔ b✘✘ sees a) a isBetween b, c := (a sees b ↔ a✘✘ sees c);

15 / 62

slide-16
SLIDE 16

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Abstraction of the Kripke model in 1D

Definition abs(w) = {b sees c | Mrobots,1D, w | = b sees c} w u abs(w) abs(u) ∼a ∼abs

a

abstraction abstraction

16 / 62

slide-17
SLIDE 17

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Axiomatization in 1D

Propositional tautologies; (sameDir(a, b) ↔ sameDir(b, c)) → sameDir(a, c); ¬(a isBetween b, c) ∨ ¬(b isBetween a, c); (Kaa sees b) ∨ (Kaa✘✘ sees b); a sees b → ((Kab sees c) ∨ (Kab✘✘ sees c)); χ → ˆ Kaψ where χ and ψ are completely descriptions with χ ∼abs

a

ψ; Kaϕ → ϕ. [Balbiani et al. Agents that look at one another. Logic Journal of IGPL. 2012] Definition A complete decription is a conjunction that: contains a sees b or a✘✘ sees b for all agents a, b; is satisfiable.

17 / 62

slide-18
SLIDE 18

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

In 2D, the qualitative representation is a open issue

Example Kb(a sees b ∧ a sees d → a sees c) a b c d a b c d true false

18 / 62

slide-19
SLIDE 19

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Abstraction of the Kripke model in 2D

Definition abs(w) = {b sees c | Mrobots,2D, w | = b sees c} w u abs(w) abs(u) ∼a ∼abs

a

abstraction abstraction

19 / 62

slide-20
SLIDE 20

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Outline

1

Motivation

2

Modeling Axiomatization Model checking

3

Variant with cameras

4

Discussion and conclusion

20 / 62

slide-21
SLIDE 21

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Model checking

Input: a description of a world w (and not a WHOLE Kripke model!); a formula ϕ. Output: yes if w | = ϕ.

21 / 62

slide-22
SLIDE 22

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Complexity

lineland flatland PSPACE-complete PSPACE-hard, in EXPSPACE translation to R-FO-theory

22 / 62

slide-23
SLIDE 23

Motivation Modeling Variant with cameras Discussion and conclusion Axiomatization Model checking

Reduction to R-FO-theory

Standard translation from modal logic to first-order logic Kap rewrites in ∀u, (wRu) → p(u) [Blackburn et al., modal logic, 2001] Adapted translation from modal logic with seeing to the R-FO-theory Ka(b sees c) rewrites in ∀pos′

a∀pos′ b...∀dir ′ a∀dir ′ b...

{

b∈AGT[(posb ∈ Cpos(a),dir(a),α) → (pos′ b = posb ∧ dir ′ b = dirb)]∧

[(posb ∈ Cpos(a),dir(a),α) → (pos′

b ∈ Cpos(a),dir(a),α)}

→ (pos′

c ∈ Cpos(b),dir(b),α)

23 / 62

slide-24
SLIDE 24

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Outline

1

Motivation

2

Modeling

3

Variant with cameras Semantics Abstraction works! A PDL variant for cameras Model checking

4

Discussion and conclusion

24 / 62

slide-25
SLIDE 25

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Outline

1

Motivation

2

Modeling

3

Variant with cameras Semantics Abstraction works! A PDL variant for cameras Model checking

4

Discussion and conclusion

25 / 62

slide-26
SLIDE 26

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Agents are cameras

Cameras Can turn; Can not move. Common knowledge

  • f the positions of agents;
  • f the abilities of perception;

26 / 62

slide-27
SLIDE 27

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Semantics: restricted set of worlds

Set of worlds Given a fixed pos′ : AGENTS → R2, worlds are w = (pos, dir) s. th. pos = pos′ a b c d e

27 / 62

slide-28
SLIDE 28

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Semantics: restricted set of worlds

Set of worlds Given a fixed pos′ : AGENTS → R2, worlds are w = (pos, dir) s. th. pos = pos′ a b c d e

28 / 62

slide-29
SLIDE 29

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Semantics: restricted set of worlds

Set of worlds Given a fixed pos′ : AGENTS → R2, worlds are w = (pos, dir) s. th. pos = pos′ a b c d e

29 / 62

slide-30
SLIDE 30

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Semantics: restricted set of worlds

Set of worlds Given a fixed pos′ : AGENTS → R2, worlds are w = (pos, dir) s. th. pos = pos′ a b c d e

30 / 62

slide-31
SLIDE 31

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Semantics: Mcameras

Definition Mcameras is Mflatland where we publicly announced the current positions

  • f the agents.

d b a c e ∼a d b e a c w u In Hintikka’s World: Flatland with common knowledge of the positions

31 / 62

slide-32
SLIDE 32

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Outline

1

Motivation

2

Modeling

3

Variant with cameras Semantics Abstraction works! A PDL variant for cameras Model checking

4

Discussion and conclusion

32 / 62

slide-33
SLIDE 33

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Abstraction of the Kripke model Mcameras

Definition abs(w) = {b sees c | Mcameras, w | = b sees c} w u abs(w) abs(u) ∼a ∼abs

a

abstraction abstraction

33 / 62

slide-34
SLIDE 34

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

34 / 62

slide-35
SLIDE 35

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

35 / 62

slide-36
SLIDE 36

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

36 / 62

slide-37
SLIDE 37

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

37 / 62

slide-38
SLIDE 38

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

38 / 62

slide-39
SLIDE 39

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

39 / 62

slide-40
SLIDE 40

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

40 / 62

slide-41
SLIDE 41

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

41 / 62

slide-42
SLIDE 42

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

42 / 62

slide-43
SLIDE 43

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

43 / 62

slide-44
SLIDE 44

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

44 / 62

slide-45
SLIDE 45

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

45 / 62

slide-46
SLIDE 46

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

46 / 62

slide-47
SLIDE 47

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

47 / 62

slide-48
SLIDE 48

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

48 / 62

slide-49
SLIDE 49

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

49 / 62

slide-50
SLIDE 50

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

50 / 62

slide-51
SLIDE 51

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

51 / 62

slide-52
SLIDE 52

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f

52 / 62

slide-53
SLIDE 53

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Spectrum of vision

Family of vision sets of agent a Sa = {{b}, ∅, {c}, {d}, {d, f }, {d, f , e}, {f , e}, {e}}. a b c d e f NB: each Sa is computed in O(k log k) steps, where k = #(Agt).

53 / 62

slide-54
SLIDE 54

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Outline

1

Motivation

2

Modeling

3

Variant with cameras Semantics Abstraction works! A PDL variant for cameras Model checking

4

Discussion and conclusion

54 / 62

slide-55
SLIDE 55

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

PDL Language

Grammar for formulas ϕ, ψ, . . . ::= a sees b | ¬ϕ | ϕ ∨ ψ | [π]ϕ [π]ϕ: after all executions of program π, ϕ holds.

55 / 62

slide-56
SLIDE 56

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Programs

Grammar for programs π . . . ::=

  • a

| ϕ? | π; π′ | π ∪ π′ | π∗

  • a : a turns;

ϕ?: the program succeeds when ϕ is true;

56 / 62

slide-57
SLIDE 57

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Translating epistemic operators in programs

Ka is simulated by:    

  • a sees b1? ∪ (a✘✘

sees b1?; b1 )

  • ; . . . ;
  • a sees bn? ∪ (a✘✘

sees bn?; bn )

  • πa

   

57 / 62

slide-58
SLIDE 58

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Outline

1

Motivation

2

Modeling

3

Variant with cameras Semantics Abstraction works! A PDL variant for cameras Model checking

4

Discussion and conclusion

58 / 62

slide-59
SLIDE 59

Motivation Modeling Variant with cameras Discussion and conclusion Semantics Abstraction works! A PDL variant for cameras Model checking

Model checking

Theorem Model checking of PDL for cameras is PSPACE-complete. [Gasquet, Goranko, et al. Big Brother Logic: Logical modeling and reasoning about

agents equipped with surveillance cameras in the plane, AAMAS 2014]

[JAAMAS2015]

59 / 62

slide-60
SLIDE 60

Motivation Modeling Variant with cameras Discussion and conclusion

Outline

1

Motivation

2

Modeling

3

Variant with cameras

4

Discussion and conclusion

60 / 62

slide-61
SLIDE 61

Motivation Modeling Variant with cameras Discussion and conclusion

Summary: Visual-epistemic reasoning of agents

Epistemic language involving atomic propositions ‘a sees b’. Semantics in geometric and Kripke models. 1D case and 2D case with cameras (spectrum of vision):

Finite abstraction in the 1D case and in the 2D case with cameras (spectrum of vision). Optimal PSPACE model checking.

Open problem for the full 2D case: finite abstraction?

61 / 62

slide-62
SLIDE 62

Motivation Modeling Variant with cameras Discussion and conclusion

Future work

Obstacles; Moving agents/cameras in the plane: mathematically more complex, finite abstractions may not work; Agents/cameras in the 3D space.

62 / 62