Top Banner
Rare-Event Simulation for Many-Server Queues Henry Lam Department of Mathematics and Statistics, Boston University Joint work with J. Blanchet, X. Chen and P. W. Glynn
44

Rare-Event Simulation for Many-Server Queues

Feb 22, 2016

Download

Documents

Keira

Rare-Event Simulation for Many-Server Queues. Henry Lam Department of Mathematics and Statistics, Boston University Joint work with J. Blanchet, X. Chen and P. W. Glynn. Many-Server Loss System. Customer. Server 1. Server 2. Server 3. Server 4. Server . Many-Server Loss System. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Rare-Event Simulation for Many-Server Queues

Rare-Event Simulation for Many-Server Queues

Henry LamDepartment of Mathematics and Statistics, Boston University

Joint work with J. Blanchet, X. Chen and P. W. Glynn

Page 2: Rare-Event Simulation for Many-Server Queues

2

Many-Server Loss System

Efficient simulation for many-server queues

Server 1

Server 2

Server 3

Server

Server 4

Customer

Page 3: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 3

Many-Server Loss System

Server 1

Server 2

Server 3

Server

Server 4

Customer

πœπ‘ =first   time  of   loss

Steady state distribution of loss?

Page 4: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 4

Many-Server Loss System: Quality-Driven Regime

Server 1

Server 2

Server 3

Server

Server 4

Customers arrive according to a renewal process with rate i.e. interarrival times are i.i.d. with mean

Service times are i.i.d.

β€’ Traffic intensity β€’ possess exponential momentsβ€’ has moments up to infinite order

Page 5: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 5

Logarithmic Asymptoticβ€’ Applications in communications, call centers…‒ Many-server loss system (Ridder 2009, Blanchet, Glynn & L. 2009,

Blanchet & L. 2012):

where is the first time of lossβ€’ Similar for delay of many-server queue in the same regimeβ€’ Can be further extended to non-homogeneous functional of system

status -> application in insurance modeling etc. (Blanchet & L. 2011)β€’ Steady-state phenomena (Blanchet & L. 2012):

β€’ Rate function depends on the initial configuration of the queueβ€’ Goal: construct asymptotically optimal importance sampler

Page 6: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 6

Model Dynamics

Required service time at arrival

Arrival time𝑉=0

𝑀

𝐴2

𝑉 1

𝐴1

π‘ˆ 0

𝑉 2

π‘ˆ 1

𝑠=4

𝑑

Page 7: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 7

Model Dynamics

Required service time at arrival

Arrival time𝑉=0

𝑀

𝐴2

𝑉 1

𝐴1

π‘ˆ 0

𝑉 2

π‘ˆ 1

𝑠=4

𝑑

Page 8: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 8

Model Dynamics

Required service time at arrival

Arrival time𝑉=0

𝑀

𝐴2

𝑉 1

𝐴1

π‘ˆ 0

𝑉 2

π‘ˆ 1

𝑠=4

Page 9: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 9

Model Dynamics

Required service time at arrival

Arrival time𝑉=0

𝑀

𝐴2

𝑉 1

𝐴1

π‘ˆ 0

𝑉 2

π‘ˆ 1

𝑠=4

πœπ‘ 

Page 10: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 10

Model Dynamics

Required service time at arrival

Arrival time𝑉=0

𝑀

𝐴2

𝑉 1

𝐴1

π‘ˆ 0

𝑉 2

π‘ˆ 1

𝑠=4

Page 11: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 11

Markov Representation

Required service time at arrival

Arrival time𝑉=0

𝑀

𝑠=4

𝑑

Page 12: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 12

Required service time at arrival

Arrival time𝑉=0

𝑀

𝑠=4

𝑑

Markov state: customers at time with residual service time >

Markov Representation

Page 13: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 13

Markov Representation

Required service time at arrival

Arrival time𝑉=0

𝑀

𝑠=4

𝑑

Markov state: customers at time with residual service time >

Page 14: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 14

Markov Representation

Required service time at arrival

Arrival time𝑉=0

𝑀

𝑠=4

𝑑

Markov state: customers at time with residual service time >

Page 15: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 15

Markov Representation

Required service time at arrival

Arrival time𝑉=0

𝑀

𝑠=4

𝑑

Markov state: customers at time with residual service time >

Page 16: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 16

A Numerical Example, , Poisson arrival with rate Service time

Parameters/Assumptions:

Erlang’s loss formula =

Time to simulate 1000 time units

Time to obtain 1 loss

Number of arrivals in this time

1.63Γ—10βˆ’10

1000Γ—100=105

The next algorithm takes 10 seconds to simulate one loss event.

Page 17: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 17

Theoretical Performance

Theorem (Blanchet and L. β€˜12 & Blanchet, Glynn and L. β€˜09):

1. Under current assumptions, the loss probability satisfies

where , and is the large deviations rate of , i.e.

where is the number of customers in an infinite-server system.

2. The algorithm we propose is asymptotically optimal for where

and and is the rate function starting from any initial configuration .

Page 18: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 18

Steady-State Loss Probability

β€’ Suppose is a recurrent set of the systemβ€’ Kac's formula:

Notations:– = expectation with initial state in steady-state

conditional on being in – = number of loss before reaching again– = time units to reach again

Page 19: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 19

What is a good choice of set ?

β€’ is a - ball around the fluid limit of , given by

where

i.e. decays slower than the standard deviation exhibited by the diffusion limit of

Page 20: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 20

Brief Comments on Importance Sampling and Rare-Event Simulation

β€’ Want to estimate where is a rare eventβ€’ Importance sampling (IS) identity: Given a

suitable probability measure ,

β€’ So IS estimator is

Page 21: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 21

Brief Comments on Importance Sampling and Rare-Event Simulation

β€’ If then IS gives zero variance:

β€’ Moral: Good IS mimics the conditional distribution given the rare event!

β€’ Use large deviations, but carefully (counter-examples in Glasserman and Kou β€˜97)

β€’ Asymptotic optimality: Relative error does not grow exponentially

Page 22: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 22

What is a good choice of set ?

β€’ Visited infinitely oftenβ€’ Large deviation behavior is unique starting from every point in :

where is any point in and

β€’ Possess good property of return time:

for any

Page 23: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 23

Construction of Importance Sampler

β€’ For simplicity let us first concentrate on Poisson arrivals

β€’ Intuition:

where is the first time to experience a loss

Page 24: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 24

Construction of Importance Sampler

β€’ Observation 1: is the same for -server and infinite-server system

Remarkably handy

β‰ˆmaxπ‘‘π‘ƒπ‘Ÿ (π‘„βˆž (𝑑 )>𝑠)

Implication :  Bias   process   to   induce  π‘„βˆž (𝑑 )>𝑠   for  some   𝑑 ,  then   reconstruct   backwards

β€’ Observation 2: β‰ˆ π‘ƒπ‘Ÿ (π‘„βˆž (𝑑 )>𝑠)

Page 25: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 25

Importance Sampling Procedure

Required service time at arrival

Arrival time𝑉=0

𝑠=4

𝒕

STEP 1: Sample a random time over INDEPENDENT of the system

Page 26: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 26

Importance Sampling Procedure

Required service time at arrival

Arrival time𝑉=0 𝒕

𝑠=4

STEP 2: Sample the path given

Page 27: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 27

Importance Sampling Procedure

Required service time at arrival

Arrival time𝑉=0

𝑀

𝒕

𝑠=4

STEP 2: Sample the path given

Use Poisson point process representation

Page 28: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 28

Importance Sampling Procedure

Required service time at arrival

Arrival time𝑉=0

𝑀

𝒕

𝑠=4

STEP 2: Sample the path given

1. First sample given

Page 29: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 29

Importance Sampling Procedure

Required service time at arrival

Arrival time𝑉=0

𝑀

𝒕

𝑠=4

STEP 2: Sample the path given

1. First sample given 2. Given , the points in triangle are distributed

independently according to intensity

Page 30: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 30

Importance Sampling Procedure

Required service time at arrival

Arrival time𝑉=0

𝑀

𝒕

𝑠=4

STEP 2: Sample the path given

1. First sample given 2. Given , the points in triangle are distributed

independently according to intensity

Page 31: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 31

Importance Sampling Procedure

Required service time at arrival

Arrival time𝑉=0

𝑀

𝒕

𝑠=4

STEP 2: Sample the path given

The rest of points outside the triangle follow non-homogeneous spatial Poisson process

Page 32: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 32

Importance Sampling Procedure

Required service time at arrival

Arrival time𝑉=0

𝑀

𝒕

𝑠=4

STEP 3: Identify and continue the process with the original measure

Page 33: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 33

πœπ‘ 

Importance Sampling Procedure

Required service time at arrival

Arrival time𝑉=0

𝑀

𝒕

𝑠=4

STEP 3: Identify and continue the process with the original measure

Page 34: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 34

𝜏

Importance Sampling Procedure

Required service time at arrival

Arrival time𝑉=0

𝑀

𝑠=4

STEP 3: Identify and continue the process with the original measure

Page 35: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 35

πœπ‘ 

Importance Sampling Procedure

Required service time at arrival

Arrival time𝑉=0

𝑀

𝑠=4Until time

STEP 3: Identify and continue the process with the original measure

Page 36: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 36

πœπ‘ 

Importance Sampling Procedure

Required service time at arrival

Arrival time𝑉=0

𝑀

𝑠=4Until time

STEP 4: Output

Page 37: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 37

Change-of-Measure

The measure in this IS scheme is given by

where is an independent r. v.

Page 38: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 38

General Renewal Arrivalsβ€’ Use exponential tilting to induce β€’ Represent β€’ Gartner-Ellis limit (Glynn β€˜95)

β€’ Suggest state-dependent exponential tilting of each interarrival and service times according to an optimal (Szechtman and Glynn β€˜02):

Page 39: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 39

Specifications for Importance Sampling Procedure

β€’ Distribution of random horizon:

where

β€’ Likelihood ratio:

where

Page 40: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 40

Proof of Efficiency

β€’ Goal: The second moment of the estimator satisfies

β€’ The second moment is bounded approximately as

β€’ Main arguments:

Page 41: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 41

Proof of Efficiency

β€’ If , the area of is β€’ Poisson arrivals: use thinning propertyβ€’ General arrivals: Conditioned on arrivals times, probability of each customer lying on

the area is independent and

Page 42: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 42

Lower Boundβ€’ Construct the optimal sample pathβ€’ Use the more general Gartner-Ellis limit

where

β€’ Sample path large deviations: possesses a good rate function :

Page 43: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 43

Logarithmic Estimate of Return Time

β€’ Bound the return time for many-server system in terms of the infinite-server queue

where max of all residual service times at β€’ Bounded service time:

– consider blocks of where the service time is bounded in – Return time bounded by a geometric random variable

independent of β€’ Unbounded service time:

– need to estimate the residual service time from previous block– Use Borell’s inequality to ensure significant probability of the

Gaussian diffusion limit to stay in central region

Page 44: Rare-Event Simulation for Many-Server Queues

Efficient simulation for many-server queues 44

Other Extensions

β€’ Insurance portfolio problem: same algorithm with exponential tilting

β€’ Time-inhomogeneous arrivals: same algorithm β€’ Markov modulation (on finite state-space):

Sample Markov state ahead, then apply the same algorithm