Skip to main content
QUICK REVIEW

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

Kevin Rupp, Rudolf Schill|arXiv (Cornell University)|Jan 1, 2021
Complex Network Analysis TechniquesPhysics and Astronomy2 citations
TL;DR

This paper introduces differentiating uniformization, a novel method for efficiently computing the matrix exponential and its derivative in continuous-time Markov chains (CTMCs) with combinatorial state spaces—such as stochastic SIR epidemic models—by exploiting tensor product structure in the transition-rate matrix Q. The method enables scalable, numerically stable inference of parameters like infection and recovery rates, demonstrated via full Bayesian analysis of the first wave of COVID-19 in Austria, revealing time-varying transmission dynamics and uncertainty quantification.

ABSTRACT

Motivation: We consider continuous-time Markov chains that describe the stochastic evolution of a dynamical system by a transition-rate matrix $Q$ which depends on a parameter $θ$. Computing the probability distribution over states at time $t$ requires the matrix exponential $\exp(tQ)$, and inferring $θ$ from data requires its derivative $\partial\exp\!(tQ)/\partialθ$. Both are challenging to compute when the state space and hence the size of $Q$ 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 $Q$. However, when $Q$ can be written as a sum of tensor products, computing $\exp(tQ)$ becomes feasible by the uniformization method, which does not require explicit storage of $Q$. Results: Here we provide an analogous algorithm for computing $\partial\exp\!(tQ)/\partialθ$, the differentiated uniformization method. We demonstrate our algorithm for the stochastic SIR model of epidemic spread, for which we show that $Q$ 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.

Motivation & Objective

  • To address the computational intractability of matrix exponential and its derivative in high-dimensional CTMCs with combinatorial state spaces.
  • To overcome the challenge of storing and computing with huge transition-rate matrices Q in models like stochastic SIR epidemics.
  • To develop a numerically stable, scalable method for parameter inference in CTMCs without requiring monotonic state evolution.
  • To enable full Bayesian inference, including uncertainty quantification, for epidemic parameters such as infection and recovery rates.
  • To extend the applicability of uniformization to parameter-derivative computation, enabling inference in models beyond birth processes.

Proposed method

  • Represent the transition-rate matrix Q as a sum of tensor products, enabling matrix-vector multiplication without explicit storage of Q.
  • Apply the uniformization method to compute the matrix exponential exp(tQ) via a power series expansion with exponential damping.
  • Derive a differentiating uniformization algorithm to compute the derivative of the matrix exponential with respect to model parameters θ.
  • Use the tensor structure to efficiently compute P^n p(0) at each step of the series, avoiding full matrix operations.
  • Implement Hamiltonian Monte Carlo sampling for full Bayesian inference on time-varying parameters.
  • Leverage low-rank tensor formats in principle to extend scalability to models with hundreds of mutations or compartments.

Experimental results

Research questions

  • RQ1Can the matrix exponential and its derivative be computed efficiently in CTMCs with combinatorial state spaces where Q is too large to store?
  • RQ2Does representing Q as a sum of tensor products enable scalable computation of the transient distribution and its parameter sensitivity?
  • RQ3Can differentiating uniformization outperform existing methods in terms of generality, especially for non-monotonic processes like SIR models?
  • RQ4How can full Bayesian inference be performed on time-varying epidemic parameters when the state space is exponentially large?
  • RQ5Can the method be extended to other models such as tumor progression or predator-prey dynamics with similar combinatorial complexity?

Key findings

  • The differentiating uniformization method scales cubically with population size, making it practical for large-scale SIR models despite the exponential state space.
  • The method enables full Bayesian inference of monthly infection and recovery rates during the first wave of the COVID-19 pandemic in Austria.
  • Posterior estimates show a recovery rate of approximately 0.07 per day (mean recovery time ~2 weeks) from April to August 2020.
  • March 2020 estimates suggest a lower recovery rate of ~0.03 per day (one month mean recovery), likely due to delayed reporting of recoveries.
  • The method reveals significant uncertainty in parameter estimates for several months, suggesting model-data misfit or non-constant parameters.
  • The approach is generalizable to other CTMCs with tensor-structured Q, including tumor progression and chemical reaction networks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.