Decisiveness of Stochastic Systems and its Application to Hybrid - - PowerPoint PPT Presentation

decisiveness of stochastic systems and its application to
SMART_READER_LITE
LIVE PREVIEW

Decisiveness of Stochastic Systems and its Application to Hybrid - - PowerPoint PPT Presentation

Decisiveness of Stochastic Systems and its Application to Hybrid Models 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


slide-1
SLIDE 1

Decisiveness of Stochastic Systems and its Application to Hybrid Models

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 22, 2020 – GandALF 2020

slide-2
SLIDE 2

Outline

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

stochastic hybrid systems.

  • Properties about reachability (is some set of states reached with

probability 1? 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.1

1Abdulla, Ben Henda, and Mayr, “Decisive Markov Chains”, 2007. Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-3
SLIDE 3

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 target states, s ∈ S be an initial state.

Goal

Compute (or approximate) ProbM

s (♦B).

We set

  • B = {s ∈ S | ProbM

s (♦B) = 0} .

Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-4
SLIDE 4

How to approximate the probability of reaching B?

Approximation procedure (for a given ǫ > 0)2

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

< ǫ .

2Iyer and Narasimha, “Probabilistic Lossy Channel Systems”, 1997. Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-5
SLIDE 5

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?

Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-6
SLIDE 6

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 . . .

Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-7
SLIDE 7

Decisiveness

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

Decisiveness3

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

s (♦B ∨ ♦

B) = 1.

Theorem3

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.

3Abdulla, Ben Henda, and Mayr, “Decisive Markov Chains”, 2007. Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-8
SLIDE 8

Contribution: generalized decisiveness criterion

Proposition

Let T be an stochastic transition system with an attractor A ⊆ S and B ⊆ S a set of states. If there exists p > 0 such that ∀s ∈ A ∩ ( B)c, ProbT

s (♦B) ≥ p ,

then T is decisive w.r.t. B. T A B

  • B

≥ p

Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-9
SLIDE 9

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.

Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-10
SLIDE 10

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)).

Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-11
SLIDE 11

Adding stochasticity

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)

Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-12
SLIDE 12

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.4

Goal

Find a setting in which reachability is decidable.

4Henzinger et al., “What’s Decidable about Hybrid Automata?”, 1998. Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-13
SLIDE 13

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 .

Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-14
SLIDE 14

Decidable classes for reachability

Hybrid systems: existence of a finite time-abstract bisimulation

  • Timed automata5 (˙

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

  • Initialized rectangular hybrid systems;6
  • O-minimal hybrid systems7 (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;8
  • Reactive stochastic timed automata.8

Proof of soundness: finite abstraction + decisiveness.

5Alur and Dill, “Automata For Modeling Real-Time Systems”, 1990. 6Henzinger et al., “What’s Decidable about Hybrid Automata?”, 1998. 7Lafferriere, Pappas, and Sastry, “O-Minimal Hybrid Systems”, 2000. 8Bertrand et al., “When are stochastic transition systems tameable?”, 2018. Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-15
SLIDE 15

Plan to make reachability decidable: strong resets

We restrict our focus to SHSs with strong resets.9 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

9Lafferriere, Pappas, and Sastry, “O-Minimal Hybrid Systems”, 2000. Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-16
SLIDE 16

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

+

decisiveness criterion

Reachability is decidable when the abstraction is computable!

Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-17
SLIDE 17

Putting everything together

Proposition

Let H be an SHS with one strong reset per cycle. If the sound and finite abstraction is computable, then

  • almost-sure reachability is decidable;
  • adding numerical hypotheses on the distributions, we can compute an

approximation of the probability to reach a set of states.

Setting in which the abstraction is computable

  • The different components (flows, guards. . . ) are definable in an o-

minimal structure with decidable theory (such as R, <, +, ·, 0, 1);

  • The various probability distributions are either finite or equivalent to

the Lebesgue measure on their support.

Decisiveness of Stochastic Systems and its Application to Hybrid Models Bouyer, Brihaye, Randour, Rivière, Vandenhove

slide-18
SLIDE 18

Conclusion: decidable classes of hybrid systems

Hybrid systems: existence of a finite time-abstract bisimulation

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

SHSs: existence of a sound and finite abstraction

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

Reachability is decidable under effectiveness assumptions. Soundness is shown through the decisiveness property.

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