Reachability in Stochastic Hybrid Systems [Ongoing Work] Patricia - - PowerPoint PPT Presentation

reachability in stochastic hybrid systems ongoing work
SMART_READER_LITE
LIVE PREVIEW

Reachability in Stochastic Hybrid Systems [Ongoing Work] Patricia - - PowerPoint PPT Presentation

Reachability in Stochastic Hybrid Systems [Ongoing Work] Patricia Bouyer 1 Thomas Brihaye 2 Mickael Randour 2,3 Cdric Rivire 2 Pierre Vandenhove 1,2,3 1 LSV, CNRS & ENS Paris-Saclay, Universit Paris-Saclay, France 2 Universit de Mons,


slide-1
SLIDE 1

Reachability in Stochastic Hybrid Systems [Ongoing Work]

Patricia Bouyer1 Thomas Brihaye2 Mickael Randour2,3 Cédric Rivière2 Pierre Vandenhove1,2,3

1LSV, CNRS & ENS Paris-Saclay, Université Paris-Saclay, France 2Université de Mons, Mons, Belgium 3F.R.S.-FNRS

September 12, 2019 – Reachability Problems, Brussels

slide-2
SLIDE 2

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

Outline

  • Verification of models combining:
  • stochastic aspects (e.g., Markov chains);
  • hybrid aspects (with both discrete and continuous transitions);

stochastic hybrid systems.

  • Properties about the reachability of states (is some set of states

reached with probability 1? Can we compute the probability of reaching a set?).

Goal

Identify a decidability frontier for reachability in stochastic hybrid systems.

Method

Follow an approach that has been successful for infinite Markov chains.

Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 2 / 16

slide-3
SLIDE 3

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

Reachability in infinite Markov chains

Let M be a countable Markov chain.

b c

1 2

1

1 2 1 2

a d

1 2

1

Target: {a}

  • {a} = {d}

Let B ⊆ S be a subset of states, s ∈ S be an initial state.

Goal

Compute (or approximate) ProbM

s (♦B).

We set

  • B = {s ∈ S | ProbM

s (♦B) = 0} .

Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 3 / 16

slide-4
SLIDE 4

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

How to approximate the probability of reaching B?

Approximation procedure (for a given ǫ > 0)1

We define

  • pYes

n

= ProbM

s (♦≤n B)

pNo

n

= ProbM

s (♦≤n

B) . For all n, pYes

n

≤ ProbM

s (♦B) ≤ 1 − pNo n .

We stop when (1 − pNo

n ) − pYes n

< ǫ .

1Iyer and Narasimha, “Probabilistic Lossy Channel Systems”, 1997. Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 4 / 16

slide-5
SLIDE 5

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

Example

b c

1 2

1

1 2 1 2

a d

1 2

1

Target: {a} = ⇒ {a} = {d}.

c, 1 b, 1

2

d, 1

2

a, 1

4

c, 1

4

b, 1

8

d, 1

8

n = 0 n = 1 n = 2 n = 3 pYes = 0, pNo = 0, pYes

1

= 0, pNo

1

= 1

2,

pYes

2

= 1

4, pNo 2

= 1

2,

pYes

3

= 1

4, pNo 3

= 1

2 + 1 8 = 5 8.

· · ·

1

4 ≤ ProbM c (♦{a}) ≤ 1 − 5 8 = 3

  • 8. Always terminates?

Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 5 / 16

slide-6
SLIDE 6

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

Counterexample: diverging random walk

The procedure does not terminate for this infinite Markov chain:

s1 s2

2 3

1

1 3 1 3 1 3 2 3

· · · s0 M

Initial state: s1, target state: B = {s0} = ⇒ B = ∅. For all n,

  • pYes

n

= ProbM

s1 (♦≤n B) ≤ ProbM s1 (♦B) = 1 2.

  • pNo

n

= ProbM

s1 (♦≤n

B) = 0. For all n, (1 − pNo

n ) − pYes n

≥ 1

2 . . .

Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 6 / 16

slide-7
SLIDE 7

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

Decisiveness

Let M = (S, P) be a countable Markov chain, B ⊆ S.

Decisiveness2

M is decisive w.r.t. B ⊆ S if for all s ∈ S, ProbM

s (♦B ∨ ♦

B) = 1.

Theorem2

If M is decisive w.r.t. B, then the approximation procedure is correct and terminates.

  • The diverging random walk is not decisive w.r.t. B = {s0}.
  • Decisiveness also allows for a procedure to verify almost-sure

reachability.

2Abdulla, Ben Henda, and Mayr, “Decisive Markov Chains”, 2007. Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 7 / 16

slide-8
SLIDE 8

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

Hybrid systems

ℓ1 ℓ2 ℓ3

x y x y y x

y ≤ −1 x, y := 0 y ≥ 1

x, y ∈ [−1, 1]

  • (L, E) is a finite graph.
  • A number n of continuous variables

states of the system are in L × Rn uncountable!

  • For each ℓ ∈ L, γℓ : Rn × R+ → Rn is a continuous dynamics.
  • For each edge e ∈ E, G(e) ⊆ Rn is a guard.
  • For each edge e ∈ E, R(e) : Rn → 2Rn is a reset map.

Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 8 / 16

slide-9
SLIDE 9

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

Transitions of hybrid systems

States: L × Rn (discrete location × value of the continuous variables).

ℓ1 ℓ2 ℓ3 y ≤ −1 x, y := 0 y ≥ 1

x, y ∈ [−1, 1]

τ

y ≥ 1

s s′ x, y ∈ [−1, 1]

A transition combines a continuous evolution and a discrete transition. Example: initial state is s = (ℓ1, (2, 0));

  • we stay in ℓ1 for some time τ ≥ 0;
  • we take an edge whose guard is satisfied;
  • we take a value among the possible resets, e.g. s′ = (ℓ2, (1

2, 1 2)).

Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 9 / 16

slide-10
SLIDE 10

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

We replace the nondeterminism of hybrid systems with probability distributions on the:

  • waiting time from a given state;
  • edge choice;
  • choice of a reset value.

Stochastic hybrid systems (SHSs)

Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 10 / 16

slide-11
SLIDE 11

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

Undecidability

Undecidability of reachability for SHSs

Given an SHS H, an initial distribution µ on the states of H and a target set B ⊆ L × Rn, the reachability problems

  • ProbH

µ (♦B) = 1?

  • ProbH

µ (♦B) = 0?

  • is a value ǫ-close to ProbH

µ (♦B)?

are undecidable. inspired from an undecidability proof for hybrid systems.3

Goal

Find a setting in which reachability is decidable.

3Henzinger et al., “What’s Decidable about Hybrid Automata?”, 1998. Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 11 / 16

slide-12
SLIDE 12

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

Reachability problems in stochastic systems

To deal with an uncountable number of states “finite abstraction”.

Abstraction of a stochastic hybrid system

· · · · · · · · · · · · · · ·

T1 α T2

· · · · · · p > 0 q > 0 p′ = 1 q′ = 1

  • Abstraction whenever p > 0 ⇔ q > 0.
  • Sound abstraction whenever

ProbT2(♦B) = 1 = ⇒ ProbT1(♦α−1(B)) = 1 .

Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 12 / 16

slide-13
SLIDE 13

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

Decidable classes for reachability

Hybrid systems: existence of a finite time-abstract bisimulation

  • Timed automata4 (˙

x = 1, x := 0; region graph);

  • Initialized rectangular hybrid systems;5
  • O-minimal hybrid systems6 (rich dynamics, all variables have to be reset

at every discrete transition).

SHSs: existence of a finite and sound abstraction

  • Single-clock stochastic timed automata;7
  • Reactive stochastic timed automata.7

Proof of soundness: finite abstraction + decisiveness.

4Alur and Dill, “Automata For Modeling Real-Time Systems”, 1990. 5Henzinger et al., “What’s Decidable about Hybrid Automata?”, 1998. 6Lafferriere, Pappas, and Sastry, “O-Minimal Hybrid Systems”, 2000. 7Bertrand et al., “When are stochastic transition systems tameable?”, 2018. Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 13 / 16

slide-14
SLIDE 14

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

Plan to make reachability decidable: strong resets

We restrict our focus to SHSs with strong resets.8 Strong reset = reset that does not depend on the value of the variables. Example: x follows a uniform dist. in [x − 1, x + 1] is not a strong reset. x follows a uniform distribution in [−1, 1] is a strong reset.

x x −2 2 x ∼ U(−1, 1) −1 1

8Lafferriere, Pappas, and Sastry, “O-Minimal Hybrid Systems”, 2000. Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 14 / 16

slide-15
SLIDE 15

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

Consequences of strong resets

Proposition

If an SHS has (at least) one strong reset per cycle of the discrete graph, it

  • has a finite abstraction;
  • is decisive w.r.t. any set of states.

strong resets

= ⇒ = ⇒

finite abstraction decisiveness

{

sound and finite abstraction

+

Reachability is decidable when the abstraction is computable!

Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 15 / 16

slide-16
SLIDE 16

Outline Stochastic systems (Stochastic) hybrid systems Conclusion

Conclusion: decidable classes of hybrid systems

Hybrid systems: existence of a finite time-abstract bisimulation

  • Timed automata;9
  • Initialized rectangular hybrid systems;10
  • O-minimal hybrid systems.11

SHSs: existence of a sound and finite abstraction

  • Single-clock stochastic timed automata;12
  • Reactive stochastic timed automata;12
  • Strongly-reset stochastic hybrid systems.

Reachability is decidable under effectiveness assumptions.

9Alur and Dill, “Automata For Modeling Real-Time Systems”, 1990. 10Henzinger et al., “What’s Decidable about Hybrid Automata?”, 1998. 11Lafferriere, Pappas, and Sastry, “O-Minimal Hybrid Systems”, 2000. 12Bertrand et al., “When are stochastic transition systems tameable?”, 2018. Reachability in Stochastic Hybrid Systems Bouyer, Brihaye, Randour, Rivière, Vandenhove 16 / 16