Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS774. Markov Random Field : Theory and Application Lecture 21 Kyomin Jung KAIST Nov 19 2009.

Similar presentations


Presentation on theme: "CS774. Markov Random Field : Theory and Application Lecture 21 Kyomin Jung KAIST Nov 19 2009."— Presentation transcript:

1 CS774. Markov Random Field : Theory and Application Lecture 21 Kyomin Jung KAIST Nov 19 2009

2 Application of MRF in Wireless Network: Routing and Scheduling In a wireless network, designing a simple and distributed routing/scheduling algorithm is of primary importance. Algorithm determines where(routing) and when(scheduling) to send packets. Due to wireless interference, the scheduling at each time must satisfy certain constraints. MaxWeight algorithm based on MWIS and its variants are widely used.

3 Remind: MRF for Maximum Weight Independent Set (MWIS) Given a graph G=(V,E), a subset I of V is called an Independent Set, if for all, the two end points of e does not belong to I simultaneously. When the vertices are weighted, an independent set I is called MWIS if the sum of the weights of is maximum. Finding a MWIS is equivalent to finding a MAP in the following MRF on where, and if otherwise is the weight at node v.

4 The Network Model  Time is slotted.  At each time, per-destination packets arrive to the network.  unicast, multicast  Queues for separate destinations.  Algorithm decides routing and scheduling.

5 Interference Constraint We say a pair of links forms an interference if the two links cannot transmit packets at the same time.

6 Interference set is the set of all those pairs. Interference Constraint We say a pair of links forms an interference if the two links cannot transmit packets at the same time.

7 Interference Constraint  This model includes any generally considered interference model  Ex. K-hop, node exclusive…  Can be generalized to directed network graph  Consider a graph G’=(L, I) where L is the links, and I is the interference set.  A subset L’ of L is feasible scheduling if and only if L’ is an independent set of G’.

8 MaxWeight Algorithm 5 1 4 10 0 2 Weight of a link is the difference of the queue sizes at the end nodes. 3

9 MaxWeight Algorithm Computing MaxWeight is equivalent to computing Max Weight Independent Set (MWIS) in G’=(L,I). 5 1 4 10 0 2 3

10 MaxWeight Algorithm  MaxWeight is very well studied.  L. Tassiulas, A. Ephremides, IEEE Transactions on Information theory 1992.  B. Awerbuch, T. Leighton, STOC 1994.  + 100s of other papers  Provides adaptive routing and scheduling.  For some cases of interference constraint, like edge constraint, it is fully distributed.

11 Dynamics of the WaxWeight The algorithm can be understood so that the following potential function decreases as much as possible. Where is the height of the packet, and is the queue size. L. Tassiulas, A. Ephremides, [’92] showed that the MaxWeight makes the system stable (queue size bounded over time) for iid stochastic packet arrivals with feasible arrival rate for any interference. h = 3 h = 1

12 MRF in Statistical Physics: The Ising Model Consider a sheet of metal: It has the property that at low temperatures it is magnetized, but as the temperature increases, the magnetism “melts away”. We would like to model this behavior. We make some simplifying assumptions to do so.  The individual atoms have a “spin”, i.e., they act like little bar magnets, and can either point up (a spin of +1), or down (a spin of –1).  Neighboring atoms with different spins have an interaction energy.  The atoms are arranged in a lattice.

13 Possible states of the Lattice A choice of ‘spin’ at each lattice point. Ising Model has a choice of two possible spins at each point

14 The Kronecker delta function and the Hamiltonian of a state Kronecker delta-function is defined as: The Hamiltonian of a system is the sum of the energies on edges with endpoints having the same spins. (J>0)

15 The energy (Hamiltonian) of the state of this system is Endpoints have different spins, so δ is 0. Endpoints have the same spins, so δ is 1.

16 Ising Model at Different Temperatures Cold Temperature Hot Temperature

17 Probability of a State Occurring, where T is the temperature and k is the Boltzman constant joules/Kelvin. The denominator is the partition function of the system.

18 Effect of Temperature Consider two different states A and B, with H(A) < H(B). The relative probability that the system is in the two states is: At high temperatures (i.e., for kT much larger than the energy difference |D|), the system becomes equally likely to be in either of the states A or B. At lower temperatures, the system is more likely to be in the lower energy state.

19 The Potts Model (generalized Ising Model) Now let there be q possible states. Orthogonal vectors Ex) Colorings of the points with q colors

20 Applications of the Potts Model ● Liquid-gas transitions ● Computer Vision ● Protein Folding ● Biological Membranes ● Social Behavior ● Separation in binary alloys ● Spin glasses ● Neural Networks ● Community detection, etc Potts Model is an widely used form of MRF model.


Download ppt "CS774. Markov Random Field : Theory and Application Lecture 21 Kyomin Jung KAIST Nov 19 2009."

Similar presentations


Ads by Google