Practical and scalable simulations of non-Markovian stochastic processes and temporal networks with individual node properties

Aurelien Pelissier, Miroslav Phan, Didier Le Bail, Niko Beerenwinkel, Maria Rodriguez Martinez
12/9/2022
1 citation
q-bio.QM

Official code: AI-SysBio/REGIR (2 stars, Python, MIT, last commit 2026-10-18).

Abstract

Discrete stochastic processes are prevalent in natural systems, with applications in physics, biochemistry, epidemiology, sociology, and finance. While analytic solutions often cannot be derived, existing simulation frameworks can generate stochastic trajectories compatible with the dynamical laws underlying the random phenomena.

Show full abstract

Still, most simulation algorithms assume the system dynamics are memoryless (Markovian assumption), under which assumption, future occurrences only depend on the system's present state. This enables efficient and exact simulation via the Gillespie algorithm. However, many real-world systems are inherently non-Markovian and exhibit memory effects. Such systems are difficult to study analytically, and current numerical methods are often computationally expensive or limited by strong simplifying assumptions that conflict with empirical data. To address these limitations, we introduce the Rejection-based Gillespie algorithm for non-Markovian Reactions (REGIR), a general and scalable framework for simulating non-Markovian stochastic systems with arbitrary inter-event time distributions. REGIR provides user-defined accuracy while preserving the same asymptotic computational complexity as the classical Gillespie algorithm. We derive a lower bound on REGIR's approximation accuracy and demonstrate its capabilities across three representative classes of non-Markovian systems: (1) reaction channels with delays, (2) stochastic processes driven by individual reactant properties, and (3) temporal networks governed by node activity. In all cases, REGIR accurately captures memory-dependent dynamics and outperforms existing approaches in terms of flexibility and efficiency.

View on arXivView PDF

Code Implementations(1)

AI-SysBio/REGIROfficial100%
MIT

A practical and scalable Gillespie Algorithm for complex non-Markovian Stochastic Simulations, with applications to systems biology.

20PythonFeb 1, 20221 months agoMIT

Similar Papers

Cite this paper

@article{pelissier2022practical,
  title  = {Practical and scalable simulations of non-Markovian stochastic processes and temporal networks with individual node properties},
  author = {Aurelien Pelissier and Miroslav Phan and Didier Le Bail and Niko Beerenwinkel and Maria Rodriguez Martinez},
  year   = {2022},
  eprint = {2212.05059},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.05059}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.05059.svg)](https://codeofpaper.com/paper/2212.05059)

Discussion