Differentiated uniformization: A new method for inferring Markov chains on combinatorial state spaces including stochastic epidemic models

Motivation: We consider continuous-time Markov chains that describe the stochastic evolution of a dynamical system by a transition-rate matrix which depends on a parameter . Computing the probability distribution over states at time requires the matrix exponential , and inferring from data requires its derivative . Both are challenging to compute when the state space and hence the size of is huge. This can happen when the state space consists of all combinations of the values of several interacting discrete variables. Often it is even impossible to store . However, when can be written as a sum of tensor products, computing becomes feasible by the uniformization method, which does not require explicit storage of . Results: Here we provide an analogous algorithm for computing , the differentiated uniformization method. We demonstrate our algorithm for the stochastic SIR model of epidemic spread, for which we show that can be written as a sum of tensor products. We estimate monthly infection and recovery rates during the first wave of the COVID-19 pandemic in Austria and quantify their uncertainty in a full Bayesian analysis. Availability: Implementation and data are available at https://github.com/spang-lab/TenSIR.
View on arXiv