Performance Evaluation Lecture 4: Epidemics Giovanni Neglia INRIA – EPI Maestro 12 January 2013.

Slides:



Advertisements
Similar presentations
Approximation, Chance and Networks Lecture Notes BISS 2005, Bertinoro March Alessandro Panconesi University La Sapienza of Rome.
Advertisements

Queuing Network Models for Delay Analysis of Multihop Wireless Ad Hoc Networks Nabhendra Bisnik and Alhussein Abouzeid Rensselaer Polytechnic Institute.
Modeling Malware Spreading Dynamics Michele Garetto (Politecnico di Torino – Italy) Weibo Gong (University of Massachusetts – Amherst – MA) Don Towsley.
School of Information University of Michigan Network resilience Lecture 20.
RD processes on heterogeneous metapopulations: Continuous-time formulation and simulations wANPE08 – December 15-17, Udine Joan Saldaña Universitat de.
Population dynamics of infectious diseases Arjan Stegeman.
Module C- Part 1 WLAN Performance Aspects
MEAN FIELD FOR MARKOV DECISION PROCESSES: FROM DISCRETE TO CONTINUOUS OPTIMIZATION Jean-Yves Le Boudec, Nicolas Gast, Bruno Gaujal July 26,
ODE and Discrete Simulation or Mean Field Methods for Computer and Communication Systems Jean-Yves Le Boudec EPFL MLQA, Aachen, September
Mean Field Methods for Computer and Communication Systems Jean-Yves Le Boudec EPFL July
Mean Field Methods for Computer and Communication Systems: A Tutorial Jean-Yves Le Boudec EPFL Performance 2010 Namur, November
1 Epidemic Spreading in Real Networks: an Eigenvalue Viewpoint Yang Wang Deepayan Chakrabarti Chenxi Wang Christos Faloutsos.
1/16 J. Cho, J.-Y. Le Boudec, and Y. Jiang, “Decoupling Assumption in ” On the Validity of the Decoupling Assumption in JEONG-WOO CHO Norwegian.
1 ENS, June 21, 2007 Jean-Yves Le Boudec, EPFL joint work with David McDonald, U. of Ottawa and Jochen Mundinger, EPFL …or an Art ? Is Mean Field a Technology…
Robust Communications for Sensor Networks in Hostile Environments Ossama Younis and Sonia Fahmy Department of Computer Sciences, Purdue University Paolo.
SYSTEMS Identification
1 A Class Of Mean Field Interaction Models for Computer and Communication Systems Jean-Yves Le Boudec EPFL – I&C – LCA Joint work with Michel Benaïm.
Building Low-Diameter P2P Networks Eli Upfal Department of Computer Science Brown University Joint work with Gopal Pandurangan and Prabhakar Raghavan.
4. Convergence of random variables  Convergence in probability  Convergence in distribution  Convergence in quadratic mean  Properties  The law of.
WiFi Models EE 228A Lecture 5 Teresa Tung and Jean Walrand
Advanced Topics in Data Mining Special focus: Social Networks.
1 Mean Field Interaction Models for Computer and Communication Systems and the Decoupling Assumption Jean-Yves Le Boudec EPFL – I&C – LCA Joint work with.
1 A Generic Mean Field Convergence Result for Systems of Interacting Objects From Micro to Macro Jean-Yves Le Boudec, EPFL Joint work with David McDonald,
1 A Class Of Mean Field Interaction Models for Computer and Communication Systems Jean-Yves Le Boudec EPFL – I&C – LCA Joint work with Michel Benaïm.
1 Performance of Ad Hoc Networks with Two-Hop Relay Routing and Limited Packet Lifetime Ahmad Al Hanbali INRIA Sophia-Antipolis Maestro team Co-authors:
1 TCOM 501: Networking Theory & Fundamentals Lecture 8 March 19, 2003 Prof. Yannis A. Korilis.
1 Modeling and Simulating Networking Systems with Markov Processes Tools and Methods of Wide Applicability ? Jean-Yves Le Boudec
Correctness of Gossip-Based Membership under Message Loss Maxim Gurevich, Idit Keidar Technion.
Epidemic spreading in complex networks: from populations to the Internet Maziar Nekovee, BT Research Y. Moreno, A. Paceco (U. Zaragoza) A. Vespignani (LPT-
Delay Analysis of IEEE in Single-Hop Networks Marcel M. Carvalho, J.J.Garcia-Luna-Aceves.
Analyzing the Resilience-Complexity Tradeoff of Network Coding in Dynamic P2P Networks IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, VOL. 22,
Mean Field Methods for Computer and Communication Systems Jean-Yves Le Boudec EPFL ACCESS Distinguished Lecture Series, Stockholm, May 28,
Performance Evaluation of Networks, part II Giovanni Neglia G. Neglia10 December 2012.
Performance Evaluation Lecture 2: Epidemics Giovanni Neglia INRIA – EPI Maestro 9 January 2014.
Fluid Limits for Gossip Processes Vahideh Manshadi and Ramesh Johari DARPA ITMANET Meeting March 5-6, 2009 TexPoint fonts used in EMF. Read the TexPoint.
Worms, Viruses, and Cascading Failures in networks D. Towsley U. Massachusetts Collaborators: W. Gong, C. Zou (UMass) A. Ganesh, L. Massoulie (Microsoft)
Lecture 14 – Queuing Networks Topics Description of Jackson networks Equations for computing internal arrival rates Examples: computation center, job shop.
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
On the Age of Pseudonyms in Mobile Ad Hoc Networks Julien Freudiger, Mohammad Hossein Manshaei, Jean-Yves Le Boudec and Jean-Pierre Hubaux Infocom 2010.
On Reducing Broadcast Redundancy in Wireless Ad Hoc Network Author: Wei Lou, Student Member, IEEE, and Jie Wu, Senior Member, IEEE From IEEE transactions.
Converge-Cast: On the Capacity and Delay Tradeoffs Xinbing Wang Luoyi Fu Xiaohua Tian Qiuyu Peng Xiaoying Gan Hui Yu Jing Liu Department of Electronic.
A Probabilistic Model for Message Propagation in Two-Dimensional Vehicular Ad-Hoc Networks Yanyan Zhuang, Jianping Pan and Lin Cai University of Victoria,
1 Routing and Performance Evaluation of Disruption Tolerant Networks Mouhamad IBRAHIM Ph.D. defense Advisor: Philippe Nain INRIA Sophia Antipolis 14 November,
Workshop on Optimization in Complex Networks, CNLS, LANL (19-22 June 2006) Application of replica method to scale-free networks: Spectral density and spin-glass.
Models for Epidemic Routing
SYSTEMS Identification Ali Karimpour Assistant Professor Ferdowsi University of Mashhad Reference: “System Identification Theory For The User” Lennart.
THROUGHPUT ANALYSIS OF IEEE DCF BASIC IN PRESENCE OF HIDDEN STATIONS Shahriar Rahman Stanford Electrical Engineering
Fast and Reliable Route Discovery Protocol Considering Mobility in Multihop Cellular Networks Hyun-Ho Choi and Dong-Ho Cho Wireless Pervasive Computing,
Mix networks with restricted routes PET 2003 Mix Networks with Restricted Routes George Danezis University of Cambridge Computer Laboratory Privacy Enhancing.
Performance Evaluation Lecture 1: Complex Networks Giovanni Neglia INRIA – EPI Maestro 10 December 2012.
Performance Evaluation Lecture 2: Epidemics Giovanni Neglia INRIA – EPI Maestro 16 December 2013.
School of Information Sciences University of Pittsburgh TELCOM2125: Network Science and Analysis Konstantinos Pelechrinis Spring 2013 Figures are taken.
Copyright © 2002 OPNET Technologies, Inc. 1 Random Waypoint Mobility Model Empirical Analysis of the Mobility Factor for the Random Waypoint Model 1542.
On the behaviour of an edge number in a power-law random graph near a critical points E. V. Feklistova, Yu.
Incrementally Improving Lookup Latency in Distributed Hash Table Systems Hui Zhang 1, Ashish Goel 2, Ramesh Govindan 1 1 University of Southern California.
Mean Field Methods for Computer and Communication Systems Jean-Yves Le Boudec EPFL Network Science Workshop Hong Kong July
Random Walk for Similarity Testing in Complex Networks
Performance Evaluation
Performance Evaluation
Lecture 1: Complex Networks
IEEE Protocol: Design and Performance Evaluation of An Adaptive Backoff Mechanism JSAC, vol.18, No.9, Sept Authors: F. Cali, M. Conti and.
Discrete Time Markov Chains (cont’d)
DTMC Applications Ranking Web Pages & Slotted ALOHA
Effective Social Network Quarantine with Minimal Isolation Costs
Lecture 2: Complex Networks
Jean-Yves Le Boudec EPFL – I&C – LCA Joint work with Michel Benaïm
Modelling and Searching Networks Lecture 5 – Random graphs
Discrete Mathematics and its Applications Lecture 5 – Random graphs
Presentation transcript:

Performance Evaluation Lecture 4: Epidemics Giovanni Neglia INRIA – EPI Maestro 12 January 2013

Outline  Limit of Markovian models  Mean Field (or Fluid) models exact results Extensions - Epidemics on graphs - Reference: ch. 9 of Barrat, Barthélemy, Vespignani “Dynamical Processes on Complex Networks”, Cambridge press Applications to networks

SI on a graph Susceptible Infected At each time slot, each link outgoing from an infected node spreads the disease with probability p g

Can we apply Mean Field theory?  Formally not, because in a graph the different nodes are not equivalent…  …but we are stubborn

Derive a Mean Field model  Consider all the nodes equivalent  e.g. assume that at each slot the graph changes, while keeping the average degree Starting from an empty network we add a link with probability /(N-1) k=1

Derive a Mean Field model  Consider all the nodes equivalent  e.g. assume that at each slot the graph changes, while keeping the average degree Starting from an empty network we add a link with probability /(N-1) k=2

Derive a Mean Field model  i.e. at every slot we consider a sample of an ER graph with N nodes and probability /(N-1) Starting from an empty network we add a link with probability /(N-1) k=2

Derive a Mean Field model  If I(k)=I, the prob. that a given susceptible node is infected is q I =1-(1- /(N-1) p g ) I  and (I(k+1)-I(k)|I(k)=I) = d Bin(N-I, q I ) k=2

Derive a Mean Field model  If I(k)=I, the prob. that a given susceptible node is infected is q I =1-(1- /(N-1) p g ) I  and (I(k+1)-I(k)|I(k)=I) = d Bin(N-I, q I ) Equivalent to first SI model where p= /(N-1) p g We know that we need p (N) =p 0 /N 2  i (N) (k) ≈ μ 2 (kε(N))=1/((1/i 0 -1) exp(-k p 0 /N)+1)= = 1/((1/i 0 -1) exp(-k p g )+1) The percentage of infected nodes becomes significant after the outbreak time 1/( p g )  How good is the approximation practically? It depends on the graph!

Let’s try on Erdös-Rényi graph  Remark: in the calculations above we had a different sample of an ER graph at each slot, in what follows we consider a single sample

ER =20, p g =0.1, 10 runs N=20 N=200 N=2000 i (N) (k) ≈ 1/((1/i 0 -1) exp(-k p g )+1)

Lesson 1  System dynamics is more deterministic the larger the network is  For given and p g, the MF solution shows the same relative error

ER =20, 10 runs N=2000, p g =0.1 N=2000, p g =1/2000

Lesson 2  For given, the smaller the infection probability p g the better the MF approximation – Why?

Changing the degree ER N=1000, p g =0.1, 10 runs i (N) (k) ≈ 1/((1/i 0 -1) exp(-k p g )+1) Model =10 =100

Lesson 3  Given p g, the more the graph is connected, the better the MF approximation  Why?

A different graph Ring(N,k)

Ring vs ER, N=2000, =10 Model Erdos-Renyi Ring

Lesson 4  The smaller the clustering coefficient, the better the MF approximation  Why?

Heterogeneous Networks  Denote P(d) the probability that a node has degree d  If the degree does not change much, we can replace d with – what we have done for ER graphs (N,p) Binomial with parameters (N-1,p)  How should we proceed (more) correctly? – Split the nodes in degree classes – Write an equation for each class  Remark: following derivation will not be as rigorous as previous ones

Heterogeneous Networks  N d number of nodes with degree d (=N*P(d))  I d : number of infected nodes with degree d  Given node i with degree d and a link e ij, what is the prob. that j has degree d’? – P(d’)? NO  and if degrees are uncorrelated? i.e. Prob(neighbour has degree d'|node has a degree d) independent from d, – P(d’)? NO – Is equal to d'/ P(d')

Heterogeneous Networks  Given node i with degree d and a link e ij  Prob. that j has degree d’ is – d'/ P(d’)  Prob. that j has degree d’ and is infected – d'/ P(d’) I d’ /N d’ – more correct (d’-1)/ P(d’) I d’ /N d’  Prob. that i is infected through link e ij is – p = p g Σ d’ (d’-1)/ P(d’) I d’ /N d’  Prob. that i is infected through one link – 1-(1-p) d

Heterogeneous Networks  E[(I d (k+1)-I d (k)|I (k)=I)] = (N d -I d )(1-(1-p) d ) − p = p g Σ d’ (d’-1)/ P(d’) I d’ /N d’  f d (N) (i)=(1-i d )(1-(1-p) d ) − i d = I d /N d − if we choose p g = p g0 /N − f d (i)= p g0 (1-i d ) d Σ d’ (d’-1)/ P(d’) i d’  di d (t)/dt=f d (i(t))=p g0 (1-i d (t)) d Θ(t) Θ

Heterogeneous Networks  di d (t)/dt=f d (i(t))=p g0 (1-i d (t)) d Θ(t), − for d=1,2… − Θ(t)=Σ d’ (d’-1)/ P(d’) i d’ (t) − i d (0)=i d0, for d=1,2…  If i d (0)<<1, for small t − di d (t)/dt ≈ p g0 d Θ(t) − dΘ(t)/dt = Σ d’ (d’-1)/ P(d’) di d’ (t)/dt ≈ p g0 Σ d’ (d’-1)/ P(d’) d’ Θ(t) = = p g0 ( - )/ Θ(t)

Heterogeneous Networks  dΘ(t)/dt ≈ p g0 ( - )/ Θ(t) − Outbreak time: /(( - ) p g0 ) For ER = ( +1), we find the previous result, 1/( p g0 ) What about for Power-law graphs, P(d)~d -γ ?  For the SIS model: − dΘ(t)/d ≈ p g0 ( - )/ Θ(t) – r 0 Θ(t) − Epidemic threshold: p g0 ( - )/( r 0 )

Outline  Limit of Markovian models  Mean Field (or Fluid) models exact results extensions Applications - Bianchi’s model - Epidemic routing

Decoupling assumption in Bianchi’s model  Assuming that retransmission processes at different nodes are independent Not true: if node i has a large backoff window, it is likely that also other nodes have large backoff windows  We will provide hints about why it is possible to derive a Mean Field model…  then the decoupling assumption is guaranteed asymptotically

References  Benaïm, Le Boudec, “A Class of Mean Field Interaction Models for Computer and Communication Systems”, LCA-Report  Sharma, Ganesh, Key, “Performance Analysis of Contention Based Medium Access Control Protocols”, IEEE Trans. Info. Theory, 2009  Bordenave, McDonarl, Proutière, “Performance of random medium access control, an asymptotic approach”, Proc. ACM Sigmetrics 2008, 1-12, 2008

Bianchi’s model  N nodes,  K possible stages for each node, in stage i (i=1,…V) the node transmit with probability q (N) i (e.g. q (N) i =1/W (N) i )  If a node in stage i experiences a collision, it moves to stage i+1  If a node transmits successfully, it moves to stage 0

Mean Field model  We need to scale the transmission probability: q (N) i =q i /N  f (N) (m)=E[M (N) (k+1)-M (N) (k)|M (N) (k)=m]  f 1 (N) (m)=E[M 1 (N) (k+1)-M 1 (N) (k)|M 1 (N) (k)=m]  P idle = Π i=1,…V (1-q i (N) ) m i N  The number of nodes in stage 1 increases by one if there is one successful transmission by a node in stage i<>1 Decreases if a node in stage 1 experiences a collision

Mean field model  P idle = Π i=1,…V (1-q i (N) ) m i N -> exp(- Σ i q i m i ) Define τ(m) = Σ i q i m i  The number of nodes in stage 1 increases by one if there is one successful transmission by a node in stage i<>1  with prob. Σ i>1 m i N q i (N) P idle /(1-q i (N) ) Decreases if a node in stage 1 experiences a collision - with prob. m 1 N q 1 (N) (1-P idle /(1-q 1 (N) )  f 1 (N) (m)=E[M 1 (N) (k+1)-M 1 (N) (k)|M 1 (N) (k)=m]= = Σ i>1 m i q i (N) P idle /(1-q i (N) ) – m 1 q 1 (N) (1-P idle /(1-q 1 (N) ))

Mean field model  P idle = Π i=1,…V (1-q i (N) ) m i N -> exp(- Σ i q i m i ) Define τ(m) = Σ i q i m i  f 1 (N) (m)= Σ i>1 m i q i (N) P idle /(1-q i (N) ) – m 1 q 1 (N) (1-P idle /(1-q 1 (N) ))  f 1 (N) (m) ~ 1/N ( Σ i>1 m i q i e -τ(m) –m 1 q 1 (1-e -τ(m) ) )  f 1 (N) (m) vanishes and ε(N)=1/N, continuously differentiable in m and in 1/N  This holds also for the other components  Number of transitions bounded => We can apply the Theorem

Outline  Limit of Markovian models  Mean Field (or Fluid) models exact results extensions Applications - Bianchi’s model - Epidemic routing

Mean fluid for Epidemic routing (and similar) 1. Approximation: pairwise intermeeting times modeled as independent exponential random variables 2. Markov models for epidemic routing 3. Mean Fluid Models

35 Inter-meeting times under random mobility (from Lucile Sassatelli’s course) Inter-meeting times mobile/mobile have shown to follow an exponential distribution [Groenevelt et al.: The message delay in mobile ad hoc networks. Performance Evalation, 2005] Pr{ X = x } = μ exp(- μx) CDF: Pr{ X ≤ x } = 1 - exp(- μx), CCDF: Pr{ X > x } = exp(- μx) M. Ibrahim, Routing and Performance Evaluation of Disruption Tolerant Networks, PhD defense, UNS 2008 MAESTRO

Pairwise Inter-meeting time

2-hop routing Model the number of occurrences of the message as an absorbing Continuous Time Markov Chain (C- MC): State i  {1,…,N} represents the number of occurrences of the message in the network. State A represents the destination node receiving (a copy of) the message.

Model the number of occurrences of the message as an absorbing C-MC: State i  {1,…,N} represents the number of occurrences of the message in the network. State A represents the destination node receiving (a copy of) the message. Epidemic routing

41 T. G. Kurtz, Solutions of Ordinary Differential Equations as Limits of Pure Jump Markov Processes, Journal of Applied Probability, vol. 7, no. 1, pp. 49–58, M. Benaïm and J.-Y. Le Boudec, A class of mean field interaction models for computer and communication systems, Performance Evaluation, vol. 65, no , pp. 823–838, (from Lucile Sassatelli’s course)

42 T. G. Kurtz, Solutions of Ordinary Differential Equations as Limits of Pure Jump Markov Processes, Journal of Applied Probability, vol. 7, no. 1, pp. 49–58, M. Benaïm and J.-Y. Le Boudec, A class of mean field interaction models for computer and communication systems, Performance Evaluation, vol. 65, no , pp. 823–838, (from Lucile Sassatelli’s course)

43 T. G. Kurtz, Solutions of Ordinary Differential Equations as Limits of Pure Jump Markov Processes, Journal of Applied Probability, vol. 7, no. 1, pp. 49–58, M. Benaïm and J.-Y. Le Boudec, A class of mean field interaction models for computer and communication systems, Performance Evaluation, vol. 65, no , pp. 823–838, (from Lucile Sassatelli’s course)

44 T. G. Kurtz, Solutions of Ordinary Differential Equations as Limits of Pure Jump Markov Processes, Journal of Applied Probability, vol. 7, no. 1, pp. 49–58, M. Benaïm and J.-Y. Le Boudec, A class of mean field interaction models for computer and communication systems, Performance Evaluation, vol. 65, no , pp. 823–838, (from Lucile Sassatelli’s course)

45 Zhang, X., Neglia, G., Kurose, J., Towsley, D.: Performance Modeling of Epidemic Routing. Computer Networks 51, 2867–2891 (2007) Two-hop Epidemic MAESTRO (from Lucile Sassatelli’s course)

A further issue Model the number of occurrences of the message as an absorbing Continuous Time Markov Chain (C- MC): We need a different convergence result [Kurtz70] Solution of ordinary differential equations as limits of pure jump markov processes, T. G. Kurtz, Journal of Applied Probabilities, pages 49-58, 1970

[Kurtz1970] {X N (t), N natural} a family of Markov process in Z m with rates r N (k,k+h), k,h in Z m It is called density dependent if it exists a continuous function f() in R m such that r N (k,k+h) = N f(1/N k, h),h<>0 Define F(x)=Σ h h f(x,h) Kurtz’s theorem determines when {X N (t)} are close to the solution of the differential equation:

The formal result [Kurtz1970] Theorem. Suppose there is an open set E in R m and a constant M such that |F(x)-F(y)|<M|x-y|, x,y in E sup x in E Σ h |h| f(x,h) <∞, lim d->∞ sup x in E Σ |h|>d |h| f(x,h) =0 Consider the set of processes in {X N (t)} such that lim N->∞ 1/N X N (0) = x 0 in E and a solution of the differential equation such that x(s) is in E for 0 0

Application to epidemic routing r N (n I )= λ n I (N-n I ) = N ( λ N) (n I /N) (1-n I /N) assuming β = λ N keeps constant (e.g. node density is constant) f(x,h)=f(x)=x(1-x), F(x)=f(x) as N → ∞, n I /N → i(t), s.t. with initial condition multiplying by N