A Tutorial on Mean Field and Refined Mean Field Approximation
Nicolas Gast
Inria, Grenoble, France
YEQT XI, December 2018, Toulouse
Nicolas Gast – 1 / 57
A Tutorial on Mean Field and Refined Mean Field Approximation - - PowerPoint PPT Presentation
A Tutorial on Mean Field and Refined Mean Field Approximation Nicolas Gast Inria, Grenoble, France YEQT XI, December 2018, Toulouse Nicolas Gast 1 / 57 Good system design needs performance evaluation Example : load balancing Which
Nicolas Gast – 1 / 57
Nicolas Gast – 2 / 57
Nicolas Gast – 2 / 57
Nicolas Gast – 3 / 57
2 4 Time 0.0 0.1 0.2 0.3 N = 100
2 4 Time 0.0 0.1 0.2 0.3 ODE (N = )
Nicolas Gast – 4 / 57
Nicolas Gast – 5 / 57
Nicolas Gast – 6 / 57
Nicolas Gast – 7 / 57
Nicolas Gast – 8 / 57
Nicolas Gast – 8 / 57
Nicolas Gast – 9 / 57
Nicolas Gast – 9 / 57
Nicolas Gast – 9 / 57
Nicolas Gast – 10 / 57
Nicolas Gast – 11 / 57
Nicolas Gast – 11 / 57
Nicolas Gast – 11 / 57
Nicolas Gast – 12 / 57
Nicolas Gast – 12 / 57
Nicolas Gast – 12 / 57
Nicolas Gast – 13 / 57
Nicolas Gast – 13 / 57
Nicolas Gast – 14 / 57
Nicolas Gast – 15 / 57
Nicolas Gast – 16 / 57
Nicolas Gast – 16 / 57
Nicolas Gast – 17 / 57
Nicolas Gast – 17 / 57
Nicolas Gast – 17 / 57
Nicolas Gast – 18 / 57
Nicolas Gast – 18 / 57
2000 4000 6000 8000 10000 number of requests 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 probability in cache
1 list (200) 4 lists (50/50/50/50)
Nicolas Gast – 19 / 57
Nicolas Gast – 20 / 57
Nicolas Gast – 21 / 57
Nicolas Gast – 21 / 57
Nicolas Gast – 22 / 57
Nicolas Gast – 22 / 57
Nicolas Gast – 23 / 57
Nicolas Gast – 24 / 57
Nicolas Gast – 25 / 57
1 2 3 4 5 0.0 0.1 0.2 0.3 0.4 0.5 XD(t) Mean field approximation N=1000 N=10000
Nicolas Gast – 26 / 57
1 2 3 4 5 0.0 0.1 0.2 0.3 0.4 0.5 XD(t) Mean field approximation N=1000 N=10000
Nicolas Gast – 26 / 57
Nicolas Gast – 27 / 57
Nicolas Gast – 27 / 57
Transition Rate Activation (D, A, S) → (D − 1 N , A + 1 N , S) N(a + 10XA)XD Immunization (D, A, S) → (D, A − 1 N , S + 1 N ) N5XA De-immunization (D, A, S) → (D + 1 N , A, S − 1 N ) N(1 + 10XA XD + δ )XS
Nicolas Gast – 28 / 57
Transition Rate Activation (D, A, S) → (D − 1 N , A + 1 N , S) N(a + 10XA)XD Immunization (D, A, S) → (D, A − 1 N , S + 1 N ) N5XA De-immunization (D, A, S) → (D + 1 N , A, S − 1 N ) N(1 + 10XA XD + δ )XS
Nicolas Gast – 28 / 57
Transition Rate Activation (D, A, S) → (D − 1 N , A + 1 N , S) N(a + 10XA)XD Immunization (D, A, S) → (D, A − 1 N , S + 1 N ) N5XA De-immunization (D, A, S) → (D + 1 N , A, S − 1 N ) N(1 + 10XA XD + δ )XS
Nicolas Gast – 28 / 57
10 20 30 40 50 0.1 0.2 0.3 0.4 0.5 XD(t) Mean field approximation Simulation(N=1000) 10 20 30 40 50 0.0 0.1 0.2 0.3 0.4 0.5 XD(t) Mean field approximation Simulation(N=1000)
Nicolas Gast – 29 / 57
Nicolas Gast – 30 / 57
Nicolas Gast – 31 / 57
Nicolas Gast – 31 / 57
Nicolas Gast – 31 / 57
Nicolas Gast – 31 / 57
0.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 Fixed point true stationnary distribution limit cycle 0.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 Fixed point x ∗ = πN
Nicolas Gast – 32 / 57
0.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 Fixed point true stationnary distribution limit cycle
Nicolas Gast – 33 / 57
0.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 Fixed point true stationnary distribution limit cycle
Nicolas Gast – 33 / 57
◮ How to find a Lyapunov function: Energy? Entropy? Luck? (ex: G.
Nicolas Gast – 34 / 57
◮ Often comes from monotonicity
◮ Lyapunov methods (entropy, reversibility)
◮ Theoretical biology / chemistry ◮ Multi-stable models (ex: Kelly) ◮ Counter-examples for specific CSMA models (Cho, Le Boudec, Jiang
Nicolas Gast – 35 / 57
Nicolas Gast – 36 / 57
1 2 3 4 5 Time 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 ODE (N = ) N=10 N=100 N=1000 Nicolas Gast – 37 / 57
Nicolas Gast – 38 / 57
Nicolas Gast – 38 / 57
Nicolas Gast – 38 / 57
Nicolas Gast – 39 / 57
Nicolas Gast – 39 / 57
Nicolas Gast – 40 / 57
Nicolas Gast – 41 / 57
Nicolas Gast – 41 / 57
Nicolas Gast – 41 / 57
Nicolas Gast – 42 / 57
Nicolas Gast – 43 / 57
Nicolas Gast – 43 / 57
Nicolas Gast – 44 / 57
Nicolas Gast – 45 / 57
Nicolas Gast – 45 / 57
Nicolas Gast – 46 / 57
Nicolas Gast – 46 / 57
Nicolas Gast – 47 / 57
Nicolas Gast – 47 / 57
Nicolas Gast – 47 / 57
Nicolas Gast – 48 / 57
Nicolas Gast – 48 / 57
Nicolas Gast – 49 / 57
Nicolas Gast – 50 / 57
i−1≈?]
Nicolas Gast – 50 / 57
Nicolas Gast – 51 / 57
Nicolas Gast – 52 / 57
Nicolas Gast – 52 / 57
Nicolas Gast – 53 / 57
Nicolas Gast – 54 / 57
1 The accuracy of the classical mean field approximation is O(1/N). 2 We can use this to define a refined approximation. 3 The refined approximation is often accurate for N = 10.
Nicolas Gast – 55 / 57
1Ref : G., Van Houdt, 2018 Nicolas Gast – 56 / 57
A Refined Mean Field Approximation by Gast and Van Houdt. SIGMETRICS 2018 (best paper award) Size Expansions of Mean Field Approximation: Transient and Steady-State Analysis Gast, Bortolussi, Tribastone Expected Values Estimated via Mean Field Approximation are O(1/N)-accurate by Gast. SIGMETRICS 2017. https://github.com/ngast/rmf_tool/ Nicolas Gast – 57 / 57