AVACS Autumn School, October 2015
Probabilisti tic Model Checking and Contr troller Synth thesis
Dave Parker
Probabilisti tic Model Checking and Contr troller Synth thesis - - PowerPoint PPT Presentation
Probabilisti tic Model Checking and Contr troller Synth thesis Dave Parker University of Birmingham AVACS Autumn School, October 2015 Overview Probabilistic model checking verification vs. strategy/controller
2
3
4
0.5 0.1 0.4
6
7
9
0.9 0.1 0.7 1 1 {succ} {err} {init} 0.3 1 a b c a a
10
0.9 0.1 0.7 1 1 {succ} {err} {init} 0.3 1 a b c a a
11
0.9 1
0.1
0.7
0.3 1
0.9
0.1 1 1
0.9 0.1 0.7 1 1 {succ} {err} {init} 0.3 1 a b c a a
12
0.9 0.1 0.7 1 1 {succ} {err} {init} 0.3 1 a b c a a
13
0.5 east
south 0.8 0.1
{goal1}
{hazard}
0.1
{goal2} {goal2}
south 0.5 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
14
0.5 east
south 0.8 0.1
{goal1}
{hazard}
0.1
{goal2} {goal2}
south 0.5 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
[ F goal1 ]
15
0.5 east
south 0.8 0.1
{goal1}
{hazard}
0.1
{goal2} {goal2}
south 0.5 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
1 1 2/3 min
x0 ≥ x1 (east) x1 ≥ 0.5 (south)
[ F goal1 ]
16
0.5 east
south 0.8 0.1
{goal1}
{hazard}
0.1
{goal2} {goal2}
south 0.5 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
[ F goal1 ]
17
18
0.5 east
south 0.8 0.1
{goal1}
{hazard}
0.1
{goal2} {goal2}
south 0.5 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north 0.5 east south 0.8 0.1
{goal1} {hazard}
0.1
{goal2} {goal2}
south 0.5 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
{goal1} {goal2}
stuck stuck 0.4 0.6 west west east 0.1 0.9 north s0q0 s2q0 s5q1
{goal2}
s4q0 s3q0 s1q2 s4q2 s3q0 s5q2 s2q2
19
0.5 east south 0.8 0.1
{goal1} {hazard}
0.1
{goal2} {goal2}
south 0.5 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
{goal1} {goal2}
stuck stuck 0.4 0.6 west west east 0.1 0.9 north s0q0 s2q0 s5q1
0.5 east
south 0.8 0.1
{goal1}
{hazard}
0.1
{goal2} {goal2}
south 0.5 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
{goal2}
s4q0 s3q0 s1q2 s4q2 s3q2 s5q2 s2q2
20
22
Task scheduler Map generator Motion planner Navigation planner
23
24
25
>10 [ C ])
>10 [ C ])
− multi(Pmax=? [ F send ], Rtime
max=? [ C ])
26
>10 [ C ])
>10 [ C ])
− multi(Pmax=? [ F send ], Rtime
max=? [ C ])
27
28
0.5 east
south 0.8 0.1
{goal1}
{hazard}
0.1
{goal2} {goal2}
south 0.5 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
0.8 0.6 0.4 1 0.2 0.2 0.4 0.5 0.3 0.1 ψ1 ψ2
ψ1 = G ¬hazard ψ2 = GF goal1
29
0.5 east
south 0.8 0.1
{goal1}
{hazard}
0.1
{goal2} {goal2}
south 0.5 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
0.8 0.6 0.4 1 0.2 0.2 0.4 0.5 0.3 0.1 ψ1 ψ2
ψ1 = G ¬hazard ψ2 = GF goal1
30
0.8 0.6 0.4 1 0.2 0.2 0.4 0.5 0.3 0.1 ψ1 ψ2
ψ1 = G ¬hazard ψ2 = GF goal1
0.5 east
south 0.8 0.1
{goal1}
{hazard}
0.1
{goal2} {goal2}
south 0.5 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
31
0.8 0.6 0.4 1 0.2 0.2 0.4 0.5 0.3 0.1 ψ1 ψ2
ψ1 = G ¬hazard ψ2 = GF goal1
0.5 east
south 0.8 0.1
{goal1}
{hazard}
0.1
{goal2} {goal2}
south 0.5 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
32
[CLIMA'11, ATVA'12]
50 100 150 200 0.5 1.0 1.5 2.0 500 1000 1500 2000 2500 expected lost customers q u e u e s i z e min power consumption
IBM TravelStar VP disk drive
MDP model in PRISM:
Pareto curve: x="probability of completing task 1"; y="probability of completing task 2"; z="expected size of successful team" Multi-objective: "minimise energy consumption, subject to constraints on: (i) expected job queue size; (ii) expected number of lost jobs
33
34
b a ¼ ¼ ¼ ½ ¼ 1 1 ½ 1 a b 1 a b
35
p east
south 0.8 0.1
{goal1}
{hazard}
0.1
{goal2} {goal2}
south 1-p 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
q 1-q
36
p east
south 0.8 0.1
{goal1}
{hazard}
0.1
{goal2} {goal2}
south 1-p 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
q 1-q
37
p east
south 0.8 0.1
{goal1}
{hazard}
0.1
{goal2} {goal2}
south 1-p 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
q 1-q
0.4 0.3 0.2 0.5 0.1 0.2 0.4 0.5 0.3 0.1
Δ
east south
38
39
Value per client Value per client, with fix
All follow alg. No use of alg. Deviations of varying size
Number of clients Value per client
All follow alg. Deviations of varying size
Number of clients Value per client
40
41
0.5 east
south 0.8 0.1
{goal1}
{hazard}
0.1
{goal2} {goal2}
south 0.5 0.6 0.4 stuck east stuck 0.4 0.6 west west east 0.1 0.9 north
42
44