MCMC for Continuous-Time Discrete-State Systems
Vinayak Rao and Yee Whye Teh
Gatsby Computational Neuroscience Unit, University College London
MCMC for Continuous-Time Discrete-State Systems Vinayak Rao and Yee - - PowerPoint PPT Presentation
MCMC for Continuous-Time Discrete-State Systems Vinayak Rao and Yee Whye Teh Gatsby Computational Neuroscience Unit, University College London Overview Continuous-time discrete-state systems: applications in physics, chemistry, genetics,
Gatsby Computational Neuroscience Unit, University College London
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 2 / 28
x x x x x x x x x x x
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 3 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 3 / 28
x x x x x x x x x x
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 4 / 28
x x x x x x x x x x
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 4 / 28
x x x x x x x x x x
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 4 / 28
x x x x x x x x x x
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 4 / 28
x x x x x x x x x x
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 4 / 28
x x x x x x x x x x
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 4 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 5 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 5 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 6 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 6 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 6 / 28
Ω , otherwise ‘thin’.
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 6 / 28
Ω , otherwise ‘thin’.
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 6 / 28
Ω , otherwise ‘thin’.
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 6 / 28
Ω , otherwise ‘thin’.
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 6 / 28
Ω , otherwise ‘thin’.
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 6 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 7 / 28
n
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 8 / 28
ΩA) on these times.
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 9 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 10 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 11 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 11 / 28
◮ independent of the observations, ◮ produced by ‘thinning’ a rate Ω Poisson process with probability
AS(t)S(t) Ω
ΩA)),
◮ thus, distributed according to a inhomogeneous Poisson process
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 11 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 11 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 12 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 12 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 12 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 13 / 28
1 2 3 4 2000 4000 6000 8000 10000 12000 1.1 1.5 2 5 10 20 Time (seconds) Effective sample size 2 4 6 8 4000 5000 6000 7000 8000 1.11.5 2 5 10 20 Time (seconds) Effective sample size
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 14 / 28
2 4 6 8 200 400 600 800 1000 Iteration number Number of transitions in MJP path
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 15 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 16 / 28
10 10
1
10
2
10
−2
10
−1
10 10
1
CPU time (seconds) Fearnhead Our sampler
10 10
1
10
2
10
3
10
−3
10
−2
10
−1
10 10
1
10 10
1
10
2
10
−4
10
−2
10 10
2
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 17 / 28
10 10
1
10
2
10
−2
10
−1
10 10
1
10
2
10
3
10
4
CPU time (seconds) dimension Fearnhead Our sampler Fearnhead (fixed prior) Our sampler (fixed prior)
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 18 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 19 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 20 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 20 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 20 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 21 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 22 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 22 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 22 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 22 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 22 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 22 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 22 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 22 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 22 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 22 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 23 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 23 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 23 / 28
1 2 5 10 20 10 20 30 40 50 60 Effective samples per second Uniformization Dependent thinning Thinning (trunc) 1 2 5 10 20 10 20 30 40 50 60 70 Effective samples per second per unit interval length Uniformization Dependent thinning Thinning (trunc)
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 24 / 28
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 25 / 28
1 2 5 10 20 20 40 60 80 100 Effective samples per second Uniformization Thinning particle MCMC 1 2 5 10 20 20 40 60 80 100 Effective samples per second Uniformization Thinning particle MCMC 1 2 5 10 20 20 40 60 80 Effective samples per second Uniformization Thinning particle MCMC
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 26 / 28
◮ semi-Markov jump processes, ◮ inhomogeneous MJPs, MJPs with infinite state spaces etc, ◮ continuous state diffusion processes (SDEs). ◮ repulsive point processes in space (with David Dunson). ◮ Dirichlet (and PY) diffusion trees (with David Knowles).
Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 27 / 28
Fearnhead, P. and Sherlock, C. (2006). An exact Gibbs sampler for the Markov-modulated Poisson process. Journal Of The Royal Statistical Society Series B, 68(5):767–784. Hobolth, A. and Stone, E. A. (2009). Simulation from endpoint-conditioned, continuous-time Markov chains on a finite state space, with applications to molecular evolution. Ann Appl Stat, 3(3):1204. Jensen, A. (1953). Markoff chains as an aid in the study of Markoff processes.
Lewis, P. A. W. and Shedler, G. S. (1979). Simulation of nonhomogeneous Poisson processes with degree-two exponential polynomial rate function. Operations Research, 27(5):1026–1040. Rao, V. and Teh, Y. W. (2011). Fast MCMC sampling for Markov jump processes and continuous time Bayesian networks. In Proceedings of the International Conference on Uncertainty in Artificial Intelligence. Vinayak Rao, Yee Whye Teh (Gatsby Unit) MCMC for Continuous-Time Discrete-State Systems 28 / 28