Ant Colony Optimized Importance Sampling: Principles, Applications - - PowerPoint PPT Presentation

ant colony optimized importance sampling principles
SMART_READER_LITE
LIVE PREVIEW

Ant Colony Optimized Importance Sampling: Principles, Applications - - PowerPoint PPT Presentation

Ant Colony Optimized Importance Sampling: Principles, Applications and Challenges Poul E. Heegaard Department of Telematics Norwegian University of Science and Technology (NTNU) Werner Sandmann Department Information Systems & Applied


slide-1
SLIDE 1

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

Ant Colony Optimized Importance Sampling: Principles, Applications and Challenges

Poul E. Heegaard Department of Telematics Norwegian University of Science and Technology (NTNU) Werner Sandmann Department Information Systems & Applied Computer Science University of Bamberg

slide-2
SLIDE 2

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

Simulation problem

  • Strict QoS requirements need to be validated

– Analytic models need (too) strict assumptions be be solved – Numerical solutions may suffer from state space explosion – Hard to simulate, e.g. loss ratio less than 10-7 takes forever – Importance sampling might work if parameters can be found

  • This presentation

– Model type handled – Speed-up simulation approach – Swarm technique for adaptation of simulation parameters – Numerical results – Inner workings of adaptive scheme

slide-3
SLIDE 3

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

  • D-dimensional discrete-state models (examples are Markovian)
  • Finite or infinite restrictions in each dimension
  • Transition affects at most two dimensions
  • In paper described by transition classes

where

– Source state space – Destination state function – Transition rate function

  • The model is applied in performance and dependability

evaluation of Optical Packet Switched networks [other papers by the authors]

Model description

slide-4
SLIDE 4

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

Model example

0,0 1,0 2,0 3,0 ..,0 W-1,0 W,0 0,1 1,1 2,1 ...,1 W-2,1 W-1,1 0,2 1,2 2,2 ...,2 W-2,2 0,3 1,... 2,... ...,... 0,... 1,W-2 2,W-2 0,W-1 1,W-1 0,W State with loss Packet arrival rate Packet transmission time λ 1/µ λ µ

slide-5
SLIDE 5

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

Simulation problem

0,0 1,0 2,0 3,0 ..,0 W-1,0 W,0 0,1 1,1 2,1 ...,1 W-2,1 W-1,1 0,2 1,2 2,2 ...,2 W-2,2 0,3 1,... 2,... ...,... 0,... 1,W-2 2,W-2 0,W-1 1,W-1 0,W

When λ≪µ then rare packet loss

λ µ State with loss Packet arrival rate Packet transmission time λ 1/µ

slide-6
SLIDE 6

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

Simulation with importance sampling

0,0 1,0 2,0 3,0 ..,0 W-1,0 W,0 0,1 1,1 2,1 ...,1 W-2,1 W-1,1 0,2 1,2 2,2 ...,2 W-2,2 0,3 1,... 2,... ...,... 0,... 1,W-2 2,W-2 0,W-1 1,W-1 0,W

Simulate with λ*≫µ* ⇒ packet loss not rare

λ* µ* State with loss Packet arrival rate Packet transmission time λ* 1/µ*

slide-7
SLIDE 7

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

The problem with importance sampling

0,0 1,0 2,0 3,0 ..,0 W-1,0 W,0 0,1 1,1 2,1 ...,1 W-2,1 W-1,1 0,2 1,2 2,2 ...,2 W-2,2 0,3 1,... 2,... ...,... 0,... 1,W-2 2,W-2 0,W-1 1,W-1 0,W

How to determine the λ* and µ*?

  • scale too little - no effect
  • scale too much - biased estimates

λ* µ* State with loss Packet arrival rate Packet transmission time λ* 1/µ*

slide-8
SLIDE 8

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

Adaptive change of measure in IS

0,0 1,0 2,0 3,0 ..,0 W-1,0 W,0 0,1 1,1 2,1 ...,1 W-2,1 W-1,1 0,2 1,2 2,2 ...,2 W-2,2 0,3 1,... 2,... ...,... 0,... 1,W-2 2,W-2 0,W-1 1,W-1 0,W

The optimal λ* and µ* depend on the state

  • Large Deviation Theory
  • Asymptotic optimality
  • Should depend on importance of state

λ* µ* State with loss Packet arrival rate Packet transmission time λ* 1/µ*

slide-9
SLIDE 9

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

Swarm intelligence (ex. ants)

Ant nest Food source

Very good Bad

Initial phase: do (guided) random walk

slide-10
SLIDE 10

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

Swarm intelligence (ex. ants)

Ant nest Food source, the set R

Stable phase: Follow (randomly) pheromones

slide-11
SLIDE 11

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

How ants guide IS parameters

0,0 1,0 2,0 3,0 ..,0 W-1,0 W,0 0,1 1,1 2,1 ...,1 W-2,1 W-1,1 0,2 1,2 2,2 ...,2 W-2,2 0,3 1,... 2,... ...,... 0,... 1,W-2 2,W-2 0,W-1 1,W-1 0,W

Scale the λ* and µ* according to pheromone values

λ* µ* State with loss Packet arrival rate Packet transmission time λ* 1/µ*

slide-12
SLIDE 12

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

How ants guide IS parameters

i Rare event

∑i: sum (or max)

  • f all “path evaluations”

in the state ∑ij: sum (or max)

  • f “path evaluations”

j

αij = Σij Σi

Scaling factor (“pheromones”)

slide-13
SLIDE 13

How ants guide IS parameters

  • ACO-IS approach

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

λ∗

ij

= λij + αij(µji − λij) µ∗

ji

= µji + αij(λij − µji)

slide-14
SLIDE 14

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

Inner workings

Scaling is higher but

  • riginal value lower

Increases as target is approached Decreases as target is approached Scaling state

  • dependent more

along the boudaries than in the interior

slide-15
SLIDE 15

State with loss Packet arrival rate Packet transmission time λ* 1/µ* 7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

Simulation cases

0,0 1,0 2,0 3,0 ..,0 W-1,0 W,0 0,1 1,1 2,1 ...,1 W-2,1 W-1,1 0,2 1,2 2,2 ...,2 W-2,2 0,3 1,... 2,... ...,... 0,... 1,W-2 2,W-2 0,W-1 1,W-1 0,W

Different combinations of:

  • Number of resource, N=10, 20
  • State (in)dependent rates
  • Rare event set (single/multi-state)
  • Balanced/unbalanced

λ* µ*

slide-16
SLIDE 16

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

Numerical results

0,0 1,0 2,0 3,0 ..,0 W-1,0 W,0 0,1 1,1 2,1 ...,1 W-2,1 W-1,1 0,2 1,2 2,2 ...,2 W-2,2 0,3 1,... 2,... ...,... 0,... 1,W-2 2,W-2 0,W-1 1,W-1 0,W  

Low relative error High accuracy

slide-17
SLIDE 17

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

Other simulation cases

  • Optical Burst Switch networks

– Multiple service classes – Multiple service classes and preemptive priorities – Node and link failures High accuracy and low relative error observed for all cases

slide-18
SLIDE 18

Tandem queues

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France 1 2 3 4 0.2 0.4 0.6 0.8 1.0 1.2 1.4

λ µ1 µ2 ˜ µ2 ˜ µ1 ˜ λ b x2

V.F. Nicola, T.S. Zaburnenko: Importance Sampling Simulation of Population Overflow in Two-node Tandem Networks. QEST 2005: 220-229

slide-19
SLIDE 19

Tandem queues

  • ACO-IS approach

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

λ∗

i

= λi + αi,i+1(min(µ1,i, µ2,i) − λi) µ∗

1,i

= µ1,i + αii(max(µ1,i, µ2,i) − µ1,i) µ∗

2,i

= µ2,i + (λi + µ1,i) − (λ∗

i + µ∗ 1,i)

slide-20
SLIDE 20

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France

Concluding remarks and further work

  • Speed-up simulations

– Importance sampling – Adaptive parameters by ACO meta heuristics – No a priori system knowledge required

  • Promising results
  • Simulated rare packet loss in OPN

– Buffer-less – Multiple service classes

  • Further work

– Asymptotic behaviour – Non-exponential distribution – More complex system models – Detailed studies of the inner working of the Ants+IS methods

slide-21
SLIDE 21

Challenges

  • Initial phase: what are the consequences of biased

sampling in initial phase?

  • Inner workings of the ACO-IS? What is the result of ACO
  • IS biasing?
  • Does it work for non-exponential distributions? Phase

type distribution is the first to be checked?

  • Other models structures? Tandem queue example is the

next to be checked

7th Int'l Workshop on Rare Event Simulation, Sept 24-26 2008, Rennes, France