Top Banner
Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce
24

Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Dec 20, 2015

Download

Documents

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 Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Rare-Event SimulationSplitting for Variance Reduction

IE 680, Spring 2007

Bryan Pearce

Page 2: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

What is a Rare Event?

ΩA

B

Page 3: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Formal Problem Definition

AB

B

1A

0

is estimate tolike would that wemeasurey probabilit then the

"reached, is state first time the" :0inf and

reached" is state first time the" and :0inf If

.\ xstate initialan with and

event), rare thefrom(far and event) rare (the subsetsdisjoint with the

, space state on thechain Markov time-discrete a define 0Let

P

BBXj

AAXAXj

B

AB

,jX

j

jj

j

0. as toincreases

ˆVarˆ estimator MC simple The

21

n

nRE

Page 4: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Splitting: the beginning

• Importance function h– Measures “how close” a state is to the rare

event

• Divide the intermediary state space into m ‘levels’ according to the thresholds l0, l1, …, lm

Page 5: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

h(x) = l0 = l1 = l2 = l3 = lm = l

Page 6: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

More formally:

events rare' sonot ' of seriesA

...0

levels-sub specifieduser by subdivided is interval this

0on values have willor in not states All

)(:

0)(:

:

:space state theof orderingan allows function Importance specified-userA

10 llll

l

,lxhBAx

lxhxB

xhxA

Rh

h

m

k

Page 7: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

How to choose h?

• Defining the importance function can be difficult.

• Ideally our h should reflect:– The most likely path to the rare event

– pk(x) = pk (indep. of state)

– pk = p (indep. of level)

• Presumes apriori knowledge of the system.

Page 8: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

First sub-interval

time

h

0

l1

MC Sim N0 independent chains. R0 reach l1.

0

11ˆN

Rp

Page 9: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Second sub-interval: Splitting

time

h

0

l1

MC Sim N1 chains, splitting from the previously achieved threshold states.

R1 reach l2.

1

22ˆN

Rp

l2

…and so on for each sub-interval

Page 10: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Notation

estimator ˆ

levelanother achieving ofy probabilit |

on terminatibefore achieved

achieved is imeearliest t :0inf

,,...,1For

1

1

k

kk

kkk

kAkk

kkjk

N

Rp

DDPp

lTD

llXhjT

mk

m

kk

m

kkm ppDP

11

ˆˆ and

Page 11: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Splitting policy – fixed splitting

• Each chain that reaches level k is cloned ck times.

• Nk will be random for each level k > 0

• Stratified sampling from the entrance distribution of level k

Page 12: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Splitting policy – fixed effort

• Fix Nk in advance. Choose the states represented in the entrance distribution by:

Random assignment– Choose these Nk states randomly from the entrance

distribution

Fixed assignment– Choose an equal quantity of each state– Better stratification

Page 13: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Pros & cons of splitting method

• Fixed splitting – – Asymptotically more efficient under optimal

conditions

– Efficiency very sensitive to splitting factor ck

• Fixed effort– Higher memory requirement– More robust

Page 14: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Efficiency

nn

nnn

ˆ compute to timeexpected theis ˆC where

ˆCˆVar

1ˆEff

Our hope is that splitting will allow our variance to shrink faster than our computational time grows. This has indeed been shown to be true in many cases.

Page 15: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Truncation - Motivation

h

0

l1

l2

l3

l4

Simulation time spent reaching l1

Page 16: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Simple (biased) Truncation

Choose β:

• If a chain falls below the level lk-β then terminate.

• Estimator becomes biased, moreso with small β.

• Large β does not reduce workload very much.

• RESTART

Page 17: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

h

0

l1

l2

l3

l4

Terminate

} β = 2

Page 18: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Unbiased Truncation

Use the ‘Russian Roulette’ principle:

The first time a chain ‘down-crosses’ a level threshold it dies with probability (1 – 1/rk,j). If it survives then its weight is increased by a factor of rk,j.

(these rk,j are user-defined and determine the ‘strength’ of the truncation)

Page 19: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

How to choose the rk,js

• The selection of the rk,js at each level of the process will control the aggressiveness of the truncation policy.

• A tried-and-true value:

jkjk p

r

ˆ1

,

Page 20: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

h

0

l1

l2

l3

l4

Dies with prob. (1 – 1/r3,2)

Weight increases by a factor of r3,2 if the chain survives.

Page 21: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Russian Roulette, cont.

• There are various methods by which to use the chain weights can compensate for this truncation bias.

– Probabilistic

– Tag-based

– Periodic

Page 22: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Truncation w/o weights

• Chain weighting truncation methods can inflate the variance of our gamma estimator.

• We can avoid this problem by allowing our chains to probabilistically re-split upon re-achieving previously achieved goals.

Page 23: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

Conclusions and notes

• Potential performance– With γ = 10-20,

Var[MC] = 10-23 while Var[split] = 10-41

• Poorly-behaved systems– Inefficient to apply

Page 24: Rare-Event Simulation Splitting for Variance Reduction IE 680, Spring 2007 Bryan Pearce.

References

L’Ecuyer, P., V. Demers, B. Tuffin. 2006. Splitting for rare-event simulation.

Glasserman, P., P. Heidelberger,and T. Zajic. 1998. A large deviations perspective on the efficiency of multilevel splitting.

L’Ecuyer, P., V. Demers, B. Tuffin. 2006. Rare-events, splitting, and quasi-Monte Carlo.

Garvels, M. J. J. 2000. The splitting method in rare event simulation.