Mean Field Approximation of Uncertain Stochastic Models Luca - - PowerPoint PPT Presentation

mean field approximation of uncertain stochastic models
SMART_READER_LITE
LIVE PREVIEW

Mean Field Approximation of Uncertain Stochastic Models Luca - - PowerPoint PPT Presentation

Mean Field Approximation of Uncertain Stochastic Models Luca Bortolussi 1 , Nicolas Gast 2 DSN conference 2016, Toulouse, France 1 CNR-Univ Trieste, Italy 2 Inria, France Nicolas Gast 1 / 30 Why do we need models? Design, prediction,


slide-1
SLIDE 1

Mean Field Approximation of Uncertain Stochastic Models

Luca Bortolussi1, Nicolas Gast2 DSN conference 2016, Toulouse, France

1CNR-Univ Trieste, Italy 2Inria, France Nicolas Gast – 1 / 30

slide-2
SLIDE 2

Why do we need models?

Design, prediction, optimization, correctness, etc.

Nicolas Gast – 2 / 30

slide-3
SLIDE 3

Uncertainties in models: stochastic v.s. non-determinism

Stochastic Non-determinism ex: Markov chains ex: ODE, timed-automata

Nicolas Gast – 3 / 30

slide-4
SLIDE 4

Uncertainties in models: stochastic v.s. non-determinism

Stochastic Non-determinism ex: Markov chains ex: ODE, timed-automata Quantitative analysis. Worst case / correctness + can be simulated − How to choose parameters? − Symbolic computation + No problem of parameters Uncertain Markov chains Combination of the two

Nicolas Gast – 3 / 30

slide-5
SLIDE 5

Building a continuous time Markov chain

agents engage in actions at some rate. (α, θ).P

action type activity rate (parameter of an exponential distribution) component / derivative

d dt P(t) = P(t).Q

Nicolas Gast – 4 / 30

slide-6
SLIDE 6

Building an uncertain continuous time Markov chain

agents engage in actions at some rate. (α, θ).P

action type activity rate (parameter of an exponential distribution) component / derivative

d dt P(t) = P(t).Q d dt P(t) = P(t).Q d dt P(t) ∈

  • θ∈[θmin,θmax]

P(t)Q(θ) unknown θ ∈ [θmin, θmax]

Nicolas Gast – 4 / 30

slide-7
SLIDE 7

Main problem: the state space grows exponentially

313 ≈ 106 states. We need to keep track P(X1(t) = i1, . . . , Xn(t) = in) and solve the differential inclusion: d dt P(t) ∈

  • θ∈[θmin,θmax]

P(t)Q(θ) Is there any hope?

Nicolas Gast – 5 / 30

slide-8
SLIDE 8

Contributions (and Outline)

1 Some systems simplify when the population grows. ◮ Mean-field approach 2 We can add non-determinism to these models 3 We can build and use numerical algorithms. Nicolas Gast – 6 / 30

slide-9
SLIDE 9

Outline

1

Population Processes and Classical Mean Field Methods

2

Uncertain and Imprecise Population Processes

3

Numerical Algorithms and Comparisons Numerical algorithms (transient regime) Steady-state General processor sharing example

4

Conclusion

Nicolas Gast – 7 / 30

slide-10
SLIDE 10

Outline

1

Population Processes and Classical Mean Field Methods

2

Uncertain and Imprecise Population Processes

3

Numerical Algorithms and Comparisons Numerical algorithms (transient regime) Steady-state General processor sharing example

4

Conclusion

Nicolas Gast – 8 / 30

slide-11
SLIDE 11

Mean field methods have been used in a multiple contexts

ex: model-checking, performance of SSD, load balancing, MAC protocol,...

SPAA 98 Analyses of Load Stealing Models Based on Differential

Equations by Mitzenmacher

JSAC 2000 Performance Analysis of the IEEE 802.11 Distributed Coordination

Function by Bianchi

FOCS 2002 Load balancing with memory by Mitzenmacher et al. DSN 2013 A logic for model-checking mean-field models by Kolesnichenko et al DSN 2013 Lumpability of fluid models with heterogeneous agent types by

Iacobelli and Tribastone

SIGMETRICS 2013 A mean field model for a class of garbage collection algorithms in

flash-based solid state drives by Van Houdt . . . . . .

Nicolas Gast – 9 / 30

slide-12
SLIDE 12

These models correspond to distributed systems

Each object interacts with the mass

Nicolas Gast – 10 / 30

slide-13
SLIDE 13

These models correspond to distributed systems

Each object interacts with the mass

We view the population of objects more abstractly, assuming that individuals are indistinguishable.

Nicolas Gast – 10 / 30

slide-14
SLIDE 14

These models correspond to distributed systems

Each object interacts with the mass

We view the population of objects more abstractly, assuming that individuals are indistinguishable. An occupancy measure records the proportion of agents that are currently exhibiting each possible state.

Nicolas Gast – 10 / 30

slide-15
SLIDE 15

These models correspond to distributed systems

Each object interacts with the mass

We view the population of objects more abstractly, assuming that individuals are indistinguishable. An occupancy measure records the proportion of agents that are currently exhibiting each possible state.

Nicolas Gast – 10 / 30

slide-16
SLIDE 16

These models correspond to distributed systems

Each object interacts with the mass

We view the population of objects more abstractly, assuming that individuals are indistinguishable. An occupancy measure records the proportion of agents that are currently exhibiting each possible state.

Nicolas Gast – 10 / 30

slide-17
SLIDE 17

Population CTMC

We consider a sequence XN, indexed by the population size N, with state spaces EN ⊂ E ⊂ Rd. The transitions are: X → X + ℓ N at rate Nβℓ(X). for a finite number of ℓ ∈ L. The drift is f (x) =

ℓβℓ(x). Example : The state is (XS, XI, XR) and the transitions are ℓ1 = (−1, +1, 0) at rate NXSXI ℓ2 = (0, −1, +1) at rate NXI ℓ3 = (+1, 0, −1) at rate NXR ℓ4 = (−1, 0, +1) at rate NXS

Nicolas Gast – 11 / 30

slide-18
SLIDE 18

Kurtz’ convergence theorem

Theorem: Let X be a population model. If X N(0) converges (in probability) to a point x, then the stochastic process XN converges (in probability) to the solutions of the differential equation ˙ x = f (x), where f is the drift.

1 2 3 4 5 6 7 8 time 0.0 0.1 0.2 0.3 0.4 0.5 0.6 XS

XS (one simulation) [XS] (ave. over 10000 simu) xs (mean-field approximation)

N = 10

Nicolas Gast – 12 / 30

slide-19
SLIDE 19

Kurtz’ convergence theorem

Theorem: Let X be a population model. If X N(0) converges (in probability) to a point x, then the stochastic process XN converges (in probability) to the solutions of the differential equation ˙ x = f (x), where f is the drift.

1 2 3 4 5 6 7 8 time 0.0 0.1 0.2 0.3 0.4 0.5 0.6 XS

XS (one simulation) [XS] (ave. over 10000 simu) xs (mean-field approximation)

N = 100

Nicolas Gast – 12 / 30

slide-20
SLIDE 20

Kurtz’ convergence theorem

Theorem: Let X be a population model. If X N(0) converges (in probability) to a point x, then the stochastic process XN converges (in probability) to the solutions of the differential equation ˙ x = f (x), where f is the drift.

1 2 3 4 5 6 7 8 time 0.0 0.1 0.2 0.3 0.4 0.5 0.6 XS

XS (one simulation) [XS] (ave. over 10000 simu) xs (mean-field approximation)

N = 1000

Nicolas Gast – 12 / 30

slide-21
SLIDE 21

Outline

1

Population Processes and Classical Mean Field Methods

2

Uncertain and Imprecise Population Processes

3

Numerical Algorithms and Comparisons Numerical algorithms (transient regime) Steady-state General processor sharing example

4

Conclusion

Nicolas Gast – 13 / 30

slide-22
SLIDE 22

Uncertain and imprecise models

Instead of βℓ(x), the rates can depend on a parameter ϑ: βℓ(x, ϑ). We distinguish two kinds of uncertainties: Uncertain Imprecise ϑ ∈ Θ is constant but its value is not known precisely. Uncertainties in the model ϑ = ϑ(t) ∈ Θ can vary (measur- ably) as a function of time human behavior, environment, adversary,...

Nicolas Gast – 14 / 30

slide-23
SLIDE 23

Uncertain and imprecise population models

We consider a sequence XN of Imprecise or Uncertain population processes, indexed by the size N, with state spaces EN ⊂ E ⊂ Rd. The transitions are (for ℓ ∈ L): X → X + ℓ N at rate Nβℓ(X, ϑ) The drifts corresponding to parameter ϑ is f (x, ϑ) =

  • ℓ∈L

ℓβℓ(x, ϑ).

Theorem (Bortolussi, G. 2016)

if X N(0) converges (in probability) to a point x, then the uncertain (or imprecise) stochastic process XN converges in probability to: Uncertain Imprecise A solution of ˙ x = f (x, ϑ) (for a given ϑ) A solution of ˙ x ∈

  • ϑ∈Θ

f (x, ϑ)

Nicolas Gast – 15 / 30

slide-24
SLIDE 24

Example of the SIR model

The state is (XS, XI, XR) and the transitions are ℓ1 = (−1, +1, 0) at rate N(aXS + ϑXSXI) ℓ2 = (0, −1, +1) at rate NbXI ℓ3 = (+1, 0, −1) at rate NcXR

0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 time 0.00 0.05 0.10 0.15 0.20 0.25 0.30 proportion of infected

xmax

I

(uncertain) xmin

I

(uncertain) xmax

I

(imprecise) xmin

I

(imprecise)

Nicolas Gast – 16 / 30

slide-25
SLIDE 25

Consequence on the stochastic system

Uncertain Imprecise

0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 time 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 proportion of infected

xmax

I

(uncertain) xmin

I

(uncertain)

0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 time 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 proportion of infected

xmax

I

(imprecise) xmin

I

(imprecise)

N = 1000 Remark : the proportion of infected is non-monotone on the infection rate.

Nicolas Gast – 17 / 30

slide-26
SLIDE 26

Consequence on the stochastic system

Uncertain Imprecise

0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 time 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 proportion of infected

xmax

I

(uncertain) xmin

I

(uncertain)

0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 time 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 proportion of infected

xmax

I

(imprecise) xmin

I

(imprecise)

N = 10000 Remark : the proportion of infected is non-monotone on the infection rate.

Nicolas Gast – 17 / 30

slide-27
SLIDE 27

Outline

1

Population Processes and Classical Mean Field Methods

2

Uncertain and Imprecise Population Processes

3

Numerical Algorithms and Comparisons Numerical algorithms (transient regime) Steady-state General processor sharing example

4

Conclusion

Nicolas Gast – 18 / 30

slide-28
SLIDE 28

Numerical algorithms

Uncertain (fixed parameter)

◮ Exhaustive search ◮ Online learning

Imprecise (varying parameter). Difficulty = non-linear.

◮ Exact: reachability (ex: solvable by Pontryagin’s principle) ◮ Approximation: polygons (ex: differential hull) Nicolas Gast – 19 / 30

slide-29
SLIDE 29

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 3]

Nicolas Gast – 20 / 30

slide-30
SLIDE 30

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 3]

Nicolas Gast – 20 / 30

slide-31
SLIDE 31

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 3]

Nicolas Gast – 20 / 30

slide-32
SLIDE 32

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 3]

Nicolas Gast – 20 / 30

slide-33
SLIDE 33

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 3]

Nicolas Gast – 20 / 30

slide-34
SLIDE 34

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 3]

Nicolas Gast – 20 / 30

slide-35
SLIDE 35

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 3]

Nicolas Gast – 20 / 30

slide-36
SLIDE 36

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 3]

Nicolas Gast – 20 / 30

slide-37
SLIDE 37

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 3]

Nicolas Gast – 20 / 30

slide-38
SLIDE 38

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 6] Differential hull provide loose bounds when Θ is large.

Nicolas Gast – 20 / 30

slide-39
SLIDE 39

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 6] Differential hull provide loose bounds when Θ is large.

Nicolas Gast – 20 / 30

slide-40
SLIDE 40

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 6] Differential hull provide loose bounds when Θ is large.

Nicolas Gast – 20 / 30

slide-41
SLIDE 41

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 6] Differential hull provide loose bounds when Θ is large.

Nicolas Gast – 20 / 30

slide-42
SLIDE 42

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 6] Differential hull provide loose bounds when Θ is large.

Nicolas Gast – 20 / 30

slide-43
SLIDE 43

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 6] Differential hull provide loose bounds when Θ is large.

Nicolas Gast – 20 / 30

slide-44
SLIDE 44

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 6] Differential hull provide loose bounds when Θ is large.

Nicolas Gast – 20 / 30

slide-45
SLIDE 45

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 6] Differential hull provide loose bounds when Θ is large.

Nicolas Gast – 20 / 30

slide-46
SLIDE 46

Example of numerical algorithm: differential hull

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

For any solution of the differential equation x, we have: x(t) ≤ x(t) ≤ x(t) where x and x satisfy ˙ x = f (x, x) and ˙ x = f (x, x), with f i(x, x)= min

x∈[x,x]:xi=xi(t) min Fi(x)

f i(x, x)= max

x∈[x,x]:xi=xi(t) max Fi(x)

ϑ ∈ Θ = [1, 6] Differential hull provide loose bounds when Θ is large.

Nicolas Gast – 20 / 30

slide-47
SLIDE 47

An alternative is to formulate the problem as an

  • ptimization problem

xmax

i

(T) := max

θ

xi(T) such that for all t ∈ [0; T]:    x(t) = x + t f (x(s), θ(s))ds θ(t) ∈ Θ Pontryagin’s principle can be used. Easier than MDP

Nicolas Gast – 21 / 30

slide-48
SLIDE 48

SIR model: we can compute an minimal/maximal trajectory by using Pontraygin’s maximum principle

0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 time 0.00 0.05 0.10 0.15 0.20 0.25 0.30 proportion of infected

xmax

I

(imprecise) xmin

I

(imprecise)

  • Traj. that max. xI(3)

0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 time 0.00 0.05 0.10 0.15 0.20 0.25 0.30 proportion of infected

xmax

I

(imprecise) xmin

I

(imprecise)

  • Traj. that min. xI(3)

A trajectory that A trajectory that maximizes XI(3). minimizes XI(3).

Nicolas Gast – 22 / 30

slide-49
SLIDE 49

Stationary regime of imprecise models

Nicolas Gast – 23 / 30

slide-50
SLIDE 50

Stationary regime of imprecise models

Asymptotic reachable set of the differential inclusion AF: AF =

  • T>0
  • x,t≥T,x∈SF,x

{x(t)} Theorem: Let X be an imprecise population process, then lim

N→∞ lim t→∞ d(X N(t), AF) = 0

in probability. Theorem: Let X be an imprecise population process such that XN is a Markov chain that has a stationary measure µN. Let µ be a limit point of µN (for the weak convergence). Then, the support of µ is included in the Birkhoff centre of F: µ(BF) = 1.

Nicolas Gast – 23 / 30

slide-51
SLIDE 51

Asymptotically reachable set: example for the SIR model

0.3 0.4 0.5 0.6 0.7 0.8 0.9 Susceptible 0.00 0.05 0.10 0.15 0.20 Infected

uncertain imprecise

Note: comparison with the differential hull approach: bounds are very loose.

Nicolas Gast – 24 / 30

slide-52
SLIDE 52

SIR model: stationary regime

N = 1000

0.3 0.4 0.5 0.6 0.7 0.8 0.9 XS 0.00 0.05 0.10 0.15 0.20 XI

Simulation (θ1) Uncertain Imprecise

0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 XS 0.00 0.02 0.04 0.06 0.08 0.10 0.12 0.14 0.16 0.18 XI

Simulation (θ2) Uncertain Imprecise

(a) policy θ1 (b) policy θ2 No policy can make the stochastic system exit the blue zone (for large N).

Nicolas Gast – 25 / 30

slide-53
SLIDE 53

In the paper, we also study a Generalized Processor Sharing model

Phase type Phase type Poisson Poisson

Parameters: µ1 = 5, µ2 = 1, φ1 = φ2 = 1, a1 = 1 and a2 = 2. λi, λ′

i imprecise with

λmin

1

= 1, λmax

1

= 7, λmin

2

= 2, λmax

2

= 3, λ′

i min = 1/(1/ai + a/λmin i

) ,and λ′

i max = 1/(1/ai + a/λmax i

) A model of two tandem queues Q1, Q2 sharing a processor. Qi gets a fraction φiNiQi/(φ1N1Q1 + φ2N2Q2) of the capacity C of the server. Each queue serves a job of type i, with average completion time µi. Arrivals are Poisson (Di - delay station - rate λ′

i) or MAP ( two delay stations in series

Ei, Di rates ai, λi).

Nicolas Gast – 26 / 30

slide-54
SLIDE 54

Generalized Processor Sharing: for the imprecise model, a higher arrival rate does not imply a larger queuing delay.

1 2 3 4 5 Time 0.05 0.10 0.15 0.20 0.25 0.30 0.35 Q1

Q max

1

(uncert) Q max

1

(uncert) Q max

1

(impre.) Q max

1

(impre.)

1 2 3 4 5 Time 0.00 0.02 0.04 0.06 0.08 0.10 0.12 0.14 0.16 Q1

Q max

1

(uncert) Q max

1

(uncert) Q max

1

(impre.) Q max

1

(impre.)

Poisson MAP Optimization (for imprecise) of φ1 to minimize the maximum queue length at time t: ¯ Q(t) = max

θ (Qθ 1(t) + Qθ 2(t)).

Nicolas Gast – 27 / 30

slide-55
SLIDE 55

Outline

1

Population Processes and Classical Mean Field Methods

2

Uncertain and Imprecise Population Processes

3

Numerical Algorithms and Comparisons Numerical algorithms (transient regime) Steady-state General processor sharing example

4

Conclusion

Nicolas Gast – 28 / 30

slide-56
SLIDE 56

Recap and Future Work

Mean field methods are useful to study large stochastic systems.

1 2 3 4 5 6 7 8 time 0.0 0.1 0.2 0.3 0.4 0.5 0.6 XS

XS (one simulation) [XS] (ave. over 10000 simu) xs (mean-field approximation)

We extended the mean field results for im- precise and uncertain PCTMCs, both at transient and at steady state.

0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 time 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 proportion of infected xmax I (imprecise) xmin I (imprecise) 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 time 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 proportion of infected xmax I (uncertain) xmin I (uncertain)

We developed numerical method to bound the reachable sets.

0.4 0.5 0.6 0.7 0.8 0.9 xS (proportion of susceptible) 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 xI (proportion of infected)

diff hull

  • pti

Future work: scalability of numerical algorithms, integration in a toolset (EU project Quanticol), algorithmic complexity.

Nicolas Gast – 29 / 30

slide-57
SLIDE 57

Thank you!

Slides are online: http://mescal.imag.fr/membres/nicolas.gast nicolas.gast@inria.fr

This paper

Mean Field Approximation of Uncertain Stochastic Models, L. Bortolussi and N.

Gast, DSN 2016 Other mean-field references B-G 16

Mean-Field Limits Beyond Ordinary Differential Equations, L. Bortolussi, N.

Gast., SFM Quanticol summer school Bena¨ ım, Le Boudec 08

A class of mean field interaction models for computer and communication systems, M.Bena¨

ım and J.Y. Le Boudec., Performance evaluation, 2008. Le Boudec 10

The stationary behaviour of fluid limits of reversible processes is concentrated on stationary points., J.-Y. L. Boudec. , Arxiv:1009.5021, 2010

  • G. Van Houdt 15 Transient and Steady-state Regime of a Family of List-based Cache

Replacement Algorithms., Gast, Van Houdt., ACM Sigmetrics 2015

Nicolas Gast – 30 / 30