1. Trang chủ
  2. » Công Nghệ Thông Tin

Networking Theory and Fundamentals - Lecture 6 pot

33 277 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Time-Reversal of Markov Chains
Tác giả Yannis A. Korilis
Trường học University of the Aegean
Chuyên ngành Networking
Thể loại Lecture
Năm xuất bản 2003
Thành phố Mytilene
Định dạng
Số trang 33
Dung lượng 343,64 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

6-3 Time-Reversed Markov Chains„ {Xn: n=0,1,…} irreducible aperiodic Markov chain with transition probabilities Pij „ Unique stationary distribution πj > 0 if and only if: „ Process in

Trang 1

TCOM 501:

Networking Theory & Fundamentals

Lecture 6 February 19, 2003 Prof Yannis A Korilis

Trang 3

6-3 Time-Reversed Markov Chains

„ {Xn: n=0,1,…} irreducible aperiodic Markov chain with

transition probabilities Pij

„ Unique stationary distribution (πj > 0) if and only if:

„ Process in steady state:

„ How does {Xn} look “reversed” in time?

Trang 4

6-4 Time-Reversed Markov Chains

„ Define Yn=Xτ-n, for arbitrary τ>0

„ {Yn} is the reversed process.

Proposition 1:

„ {Yn} is a Markov chain with transition probabilities:

„ {Yn} has the same stationary distribution πj with the forward chain {Xn}

π

j ji ij

i

P

Trang 5

6-5 Time-Reversed Markov Chains

Trang 6

6-6 Reversibility

„ Stochastic process {X(t)} is called reversible if

„ (X(t1), X(t2),…, X(tn)) and (X(τ-t1), X(τ-t2),…, X(τ-tn))

„ have the same probability distribution, for all τ, t1,…, tn

„ Markov chain {Xn} is reversible if and only if the transition probabilities of forward and reversed chains are equal

or equivalently, if and only if

Detailed Balance Equations ↔ Reversibility

*

P = P

πi ij P = πj P ji, i j, = 0,1,

Trang 7

6-7 Reversibility – Discrete-Time Chains

„ Theorem 1: If there exists a set of positive numbers {πj}, that sum up to 1 and satisfy:

Then:

1. {πj} is the unique stationary distribution

2. The Markov chain is reversible

„ Example: Discrete-time birth-death processes are reversible, since they satisfy the DBE

πi ijP = πjPji, i j , = 0,1,

Trang 8

6-8 Example: Birth-Death Process

„ One-dimensional Markov chain with transitions only between neighboring states: Pij=0 , if |i-j|>1

„ Detailed Balance Equations (DBE)

„ Proof: GBE with S ={0,1,…,n} give:

Trang 9

6-9 Time-Reversed Markov Chains (Revisited)

there exist:

„ A set of transition probabilities Q ij, with ∑j Q ij =1, i ≥ 0, and

probabilities of the reversed chain – even if the process is not reversible

πi ijP = πjQji, i j , = 0,1, (1)

Trang 10

6-10 Continuous-Time Markov Chains

„ {X(t): -∞< t <∞} irreducible aperiodic Markov chain with transition rates qij, i≠j

„ Unique stationary distribution (pi > 0) if and only if:

„ Process in steady state – e.g., started at t =-∞:

„ If {πj}, is the stationary distribution of the embedded discrete-time chain:

Trang 11

6-11 Reversed Continuous-Time Markov Chains

to the transition rate out of state i in the forward chain

Trang 12

6-12 Reversibility – Continuous-Time Chains

forward and reversed chains are equal or equivalentlyDetailed Balance Equations ↔ Reversibility

and satisfy:

Then:

1. {p j} is the unique stationary distribution

Trang 13

6-13 Example: Birth-Death Process

Trang 14

6-14 Reversed Continuous-Time Markov Chains (Revisited)

q ij If there exist:

„ A set of transition rates φ ij, with ∑j≠i φ ij=∑j≠i q ij , i ≥ 0, and

„ φ ij are the transition rates of the reversed chain, and

probabilities of the reversed chain – even if the process is not reversible

Trang 15

6-15 Reversibility: Trees

Theorem 5:

each q ij >0, there is a directed arc i→j

„ Irreducible Markov chain, with transition rates that satisfy q ij >0 ↔ q ji>0

If graph is a tree – contains no loops – then Markov chain is reversibleRemarks:

Trang 16

6-16 Kolmogorov’s Criterion (Discrete Chain)

reversible or not, based on stationary distribution and transition probabilities

Should be able to derive a reversibility criterion based only on the transition probabilities!

for any finite sequence of states: i1, i2,…, i n , and any n

to the probability of traversing the same loop in the reverse direction

1 2 2 3 n 1n n1 1n n n 1 3 2 2 1

i i i i i i i i i i i i i i i i

P P P P P P P P

Trang 17

6-17 Kolmogorov’s Criterion (Continuous Chain)

reversible or not, based on stationary distribution and transition ratesShould be able to derive a reversibility criterion based only on the transition rates!

for any finite sequence of states: i1, i2,…, i n , and any n

is equal to the product of transition rates along the same loop traversed

1 2 2 3 n 1n n1 1n n n 1 3 2 2 1

i i i i i i i i i i i i i i i i

q q q q q q q q

Trang 18

6-18 Kolmogorov’s Criterion (proof)

Proof of Theorem 6:

Trang 19

6-19 Example: M/M/2 Queue with Heterogeneous Servers

When the system empty, arrivals go to A with probability α and to B with probability 1-α Otherwise, the head of the queue takes the first free server

system Denote the two possible states by: 1A and 1B

Trang 20

6-20 Example: M/M/2 Queue with Heterogeneous Servers

Trang 21

6-21 Multidimensional Markov Chains

Multidimensional Chains:

stochastic properties – track the number of customers from each class

of customers in each system

Trang 22

6-22 Example: Two Independent M/M/1 Queues

are λi and µi respectively Assume ρi= λi/µi<1

„ {(N1(t), N2(t))} is a Markov chain

or M/M/∞ If p i (n i ) is the stationary distribution of queue i:

Trang 23

6-23 Example: Two Independent M/M/1 Queues

Verify that the Markov chain is

reversible – Kolmogorov criterion

Trang 24

6-24 Truncation of a Reversible Markov Chain

resulting chain {Y(t)} is irreducible Then, {Y(t)} is reversible and has stationary distribution:

original process is at state j, given that it is somewhere in E

,

j j

Trang 25

6-25 Example: Two Queues with Joint Buffer

„ The two independent M/M/1 queues of

the previous example share a common

buffer of size B – arrival that finds B

customers waiting is blocked

„ State space restricted to

„ Distribution of truncated chain:

„ Normalizing:

Theorem specifies joint distribution up

to the normalization constant

0 Calculation of normalization constant is

Trang 26

6-26 Burke’s Theorem

Departure epoch: points of increase for {X(t)}

processes

Arrivals Departures

Trang 27

6-27 Burke’s Theorem

„ Poisson arrival process: λj =λ, for all j

„ Birth-death process called a (λ, µj)-process

„ Examples: M/M/1, M/M/c, M/M/∞ queues

For any time t, future arrivals are independent of {X(s): s≤t}

are stochastically identicalArrival processes of the forward and reversed chains are stochastically identical

forward chainDeparture process of the forward chain is Poisson with rate λ

Trang 28

6-28 Burke’s Theorem

t t

t t

history up to time t (LAA)

{X(s): s≥t} are independent

Trang 29

6-29 Burke’s Theorem

arrival rate λ Suppose that the system starts at steady-state Then:

independent of the departure times prior to t

output process from one queue is the input process of another

Trang 30

6-30 Single-Server Queues in Tandem

customer in the two queues are independent

„ Assume ρi=λ/µi<1

customers in each queue?

Result: in steady state the queues are independent and

1 2 1 1 2 2 1 1 2 2

( , ) (1 ) n (1 ) n ( ) ( )

p n n = − ρ ρ ⋅ − ρ ρ = p np n

Trang 31

6-31 Single-Server Queues in Tandem

with rate λ Thus Q2 is also M/M/1

To complete the proof: establish independence at steady state

„ Q1 at steady state: at time t, N1(t) is independent of departures prior to t,

Trang 32

7-32 Queues in Tandem

times at any queue j≠i Arrivals at the first queue are Poisson with rate

λ The stationary distribution of the network is:

Trang 33

7-33 Queues in Tandem: State-Dependent Service Rates

at queue i exponential with rate µ i (n i ) when there are n i customers in the

queue – independent of service times at any queue j≠i Arrivals at the

first queue are Poisson with rate λ The stationary distribution of the network is:

where {p i (n i )} is the stationary distribution of queue i in isolation with

Poisson arrivals with rate λ

Ngày đăng: 22/07/2014, 18:22