Rare-Event Simulation for Many-Server Queues

Post on 22-Feb-2016

30 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

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

Transcript

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

2

Many-Server Loss System

Efficient simulation for many-server queues

Server 1

Server 2

Server 3

Server

Server 4

Customer

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?

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

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

Efficient simulation for many-server queues 6

Model Dynamics

Required service time at arrival

Arrival time๐‘‰=0

๐‘€

๐ด2

๐‘‰ 1

๐ด1

๐‘ˆ 0

๐‘‰ 2

๐‘ˆ 1

๐‘ =4

๐‘ก

Efficient simulation for many-server queues 7

Model Dynamics

Required service time at arrival

Arrival time๐‘‰=0

๐‘€

๐ด2

๐‘‰ 1

๐ด1

๐‘ˆ 0

๐‘‰ 2

๐‘ˆ 1

๐‘ =4

๐‘ก

Efficient simulation for many-server queues 8

Model Dynamics

Required service time at arrival

Arrival time๐‘‰=0

๐‘€

๐ด2

๐‘‰ 1

๐ด1

๐‘ˆ 0

๐‘‰ 2

๐‘ˆ 1

๐‘ =4

Efficient simulation for many-server queues 9

Model Dynamics

Required service time at arrival

Arrival time๐‘‰=0

๐‘€

๐ด2

๐‘‰ 1

๐ด1

๐‘ˆ 0

๐‘‰ 2

๐‘ˆ 1

๐‘ =4

๐œ๐‘ 

Efficient simulation for many-server queues 10

Model Dynamics

Required service time at arrival

Arrival time๐‘‰=0

๐‘€

๐ด2

๐‘‰ 1

๐ด1

๐‘ˆ 0

๐‘‰ 2

๐‘ˆ 1

๐‘ =4

Efficient simulation for many-server queues 11

Markov Representation

Required service time at arrival

Arrival time๐‘‰=0

๐‘€

๐‘ =4

๐‘ก

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

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 >

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 >

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 >

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.

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 .

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

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

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

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

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

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

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: โ‰ˆ ๐‘ƒ๐‘Ÿ (๐‘„โˆž (๐‘ก )>๐‘ )

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

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

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

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

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

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

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

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

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

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

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

Efficient simulation for many-server queues 36

๐œ๐‘ 

Importance Sampling Procedure

Required service time at arrival

Arrival time๐‘‰=0

๐‘€

๐‘ =4Until time

STEP 4: Output

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.

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):

Efficient simulation for many-server queues 39

Specifications for Importance Sampling Procedure

โ€ข Distribution of random horizon:

where

โ€ข Likelihood ratio:

where

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:

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

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 :

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

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

top related