Download presentation

Presentation is loading. Please wait.

Published byHayley Toomer Modified over 2 years ago

1
Cycle and Event Leaping State Space AnalysisThe Goddess Durga Marc Riedel, EE5393, Univ. of Minnesota

2
Track precise (integer) quantities of molecular species. “States” ABC 475 268 220997 S1S1 S2S2 S3S3 A reaction transforms one state into another: e.g., Gillespie’s Framework Reactions R1R1 R2R2 R3R3

3
S 1 = [5, 5, 5] 0 Choose the next reaction according to: Stochastic Simulation RiRi where R1R1 R2R2 R3R3

4
Stochastic Simulation RiRi R1R1 R2R2 R3R3 Choose the time of the next reaction according to: S 1 = [5, 5, 5] 0

5
Stochastic Simulation R1R1 R2R2 R3R3 See D. Gillespie, “Exact Stochastic Simulation of Coupled Chemical Reactions”, J. Phys. Chem. 1977 S 1 = [5, 5, 5] 0

6
Stochastic Simulation S 1 = [5, 5, 5] 0 S 2 = [4, 7, 4] Choose R 3 and t = 3 seconds. R1R1 R2R2 R3R3 S 3 = [2, 6, 7] 4 Choose R 1 and t = 1 seconds. S 4 = [1, 8, 6] 6 Choose R 3 and t = 2 seconds. 3 Choose R 2 and t = 1 seconds.

7
Stochastic Simulation S 1 = [5, 5, 5] 0 S 2 = [4, 7, 4] Choose R 3 and t = 3 seconds. S 3 = [2, 6, 7] 4 Choose R 1 and t = 1 seconds. S 4 = [1, 8, 6] 6 Choose R 3 and t = 2 seconds. Choose R 2 and t = 1 seconds. 37

8
7 Stochastic Simulation S 1 = [5, 5, 5] 0 S 2 = [4, 7, 4] S 3 = [2, 6, 7] 4 S 4 = [1, 8, 6] 6 Stochastic simulation spends most of its time (e.g. 99%) looping

9
Is Looping Necessary? A + N B + N CA + 2N B C B C X Y 1 2 3 0.001 0.002 Reactions If we begin with 1 molecule of A and 2 molecules of N : what is the probability that we get a molecule of X ? what is the probability that we get a molecule of Y ? (assuming that we wait as long as it takes)

10
Is Looping Necessary? A + N B + N CA + 2N B C B C X Y 1 2 3 0.001 0.002 Reactions SASA SBSB SCSC SXSX SYSY Trial 1 Now repeat 500 times... Cycle 1000 times... Trial 2

11
Is Looping Necessary? A + N B + N CA + 2N B C B C X Y 1 2 3 0.001 0.002 SASA SBSB SCSC SXSX SYSY Reactions Try computing probabilities!

12
Is Looping Necessary? SASA SBSB SCSC SXSX SYSY Conclude: Try computing probabilities!

13
Is Looping Necessary? SASA SBSB SCSC SXSX SYSY Conclude: Break the cycle

14
Breaking Cycles Compute the probability from the entry point to each exit point. Create new transitions to the exit points with these probabilities. Break the cycle at the entry point. Whenever a cycle is encountered during stochastic simulation:

15
Breaking Cycles Compute the probability from the entry point to each exit point. Create new transitions to the exit points with these probabilities. Break the cycle at the entry point. Whenever a cycle is encountered during stochastic simulation:

16
We must keep a history of states visited. Caveats: (However, we should be caching state information anyway...) We’ve lost the concept of time. (This can be rectified with a bit of math....) Breaking Cycles

17
Randomness Pseudo-random numbers needed: R1R1 R2R2 R3R3 R4R4 probabilities 16 1 8 1 4 3 1 01 generate a random number: 0.07123 choose R 2

18
0.07123 choose R 2 Randomness Pseudo-random numbers needed: R1R1 R2R2 R3R3 R4R4 probabilities 01 generate a random number: 0.8973 choose R 4

19
Randomness Pseudo-random numbers needed: Generating random numbers is time consuming. If variance in probabilities is large, accuracy is wasted. R1R1 R2R2 R3R3 R4R4 probabilities 01 generate a random number:0.8973 choose R 4

20
Event Leaping Explore high probability events further. 16 1 8 1 4 3 1 3 3 3 3 Along each path, probabilities are multiplicative.

21
Event Leaping Explore high probability events further. 16 1 8 1 1 3 3 3 3 When paths merge, probabilities are additive. 32 7 7 7 1 Along each path, probabilities are multiplicative.

22
32 7 7 7 Event Leaping Based on a single random number, leap directly to the boundary of explored region. 16 1 1 3 32 1 Explore high probability events further. When paths merge, probabilities are additive.

23
We need far fewer random numbers (e.g., factor of 10 reduction). We cache probability calculations. If we return to any portion of the region already visited, we immediately jump to the boundary of it. Event Leaping

24
State Space Analysis Characterize Evolution [0, 0, 12] [1, 1, 9][1, 5, 4][4, 4, 0][4, 0, 5] [2, 2, 6][2, 6, 1][5, 1, 2] p 1 p 2 p 3 p 4 p 5 p 6 p 7 p 8 p 9 p 10 p 11 p 12 p 13 1041 ppp 1393837212625111 )()(ppppppppppppp [3, 3, 3] start [3, 3, 3] e.g., identify articulation points

25
State Space Analysis Characterize Evolution [2, 2, 6][2, 6, 1][5, 1, 2] [3, 3, 3] start e.g., identify “articulation” points Pr(C 1 ) > 0.99Pr(C 2 ) > 0.99

Similar presentations

OK

ICS-171:Notes 4: 1 Notes 4: Optimal Search ICS 171 Summer 1999.

ICS-171:Notes 4: 1 Notes 4: Optimal Search ICS 171 Summer 1999.

© 2018 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on online banking project Ppt on polytene chromosomes in salivary Ppt on pet domestic and wild animals Ppt on solar energy generation Esi ms ppt online Ppt on biodegradable and non biodegradable ppt Ppt on obesity management articles Ppt on culture of goa Ppt on cattle farming for class 9 Ppt on indian culture