Geometric fluid approximation for general continuous-time Markov chains

Michalis Michaelides, Jane Hillston, Guido SanguinettiarXiv 2019 · DOI

Abstract

Fluid approximations have seen great success in approximating the macro-scale behavior of Markov systems with a large number of discrete states. However, these methods traditionally rely on the continuous-time Markov chain (CTMC) possessing a specific population structure that suggests a natural continuous state-space. We present a general method, Geometric Fluid Approximation (GFA), based on spectral analysis of the CTMC transition matrix. By utilizing diffusion maps to analyze the transition matrix as an operator of a hidden continuous process, we recover an embedding of states in a continuous space. This space is then endowed with a drift vector field inferred via Gaussian process regression, resulting in an ordinary differential equation (ODE) whose solution approximates the evolution of the CTMC mean.

Introduction

Continuous-time Markov chains (CTMCs) are fundamental tools for modeling stochastic systems across biology, physics, and computer science. Despite their utility, they are frequently hampered by the "state-space explosion" problem: as system complexity or population size grows, the number of possible states increases exponentially. This makes direct numerical solutions or even extensive stochastic simulations (such as the Gillespie algorithm) computationally prohibitive.

To mitigate this, researchers often employ "fluid approximations," which replace discrete stochastic jumps with deterministic ordinary differential equations (ODEs). However, standard fluid limits—such as those derived via Kurtz’s theorem—require the system to have a clear population structure (e.g., chemical reaction networks where states are defined by molecule counts). For general Markov chains defined on arbitrary graphs without a lattice structure, a principled derivation of a fluid limit has remained elusive. This paper introduces the Geometric Fluid Approximation (GFA) to bridge this gap.

The GFA Framework

The GFA method constructs a continuous flow from a discrete transition graph through a two-step pipeline involving manifold learning and regression.

1. Diffusion Map Embedding

The core of the GFA approach is treating the CTMC’s generator matrix ($Q$) as a transport operator on a graph. Using Diffusion Maps, a manifold learning technique, the method identifies a low-dimensional Euclidean space where the distance between states reflects the probability of transition. This process effectively "recovers" the latent continuous manifold upon which the discrete system evolves. The eigenvectors of the $Q$-matrix serve as the coordinates for this embedding, providing a natural mechanism for dimensionality reduction.

2. Drift Inference via Gaussian Processes

Once the discrete states are mapped to points in a continuous Euclidean space, the system's "drift" must be defined. The authors calculate discrete drift vectors at each known state based on transition rates and then apply Gaussian Process (GP) regression to interpolate a smooth, continuous vector field across the entire manifold. The resulting ODE, $\dot{y} = f(y)$, represents the fluid limit of the system in the embedded space.

Theoretical Consistency and Local Embedding

A significant theoretical contribution of this work is the proof (Theorem 3.1) that for systems with a standard population structure, the GFA converges to the classical fluid limit. This establishes GFA as a true generalization of existing theory rather than a disjoint heuristic.

Furthermore, the authors demonstrate that the method supports local embedding. For systems too massive to analyze globally, one can embed a local neighborhood around a specific state of interest. This allows for the analysis of local "fluid-like" behavior in systems where a global embedding would be computationally intractable.

Experimental Evaluation

The GFA was evaluated on several canonical stochastic models to test its accuracy and robustness:

  • SIRS and Lotka-Volterra Models: In these standard epidemiological and ecological models, the GFA trajectory closely tracked the empirical mean of thousands of stochastic simulations.
  • Perturbed Models: To test the method's flexibility, the authors applied it to "noisy" versions of these models—where transition rates were randomized or specific edges were removed. The GFA successfully captured the dynamics even when the underlying system lacked a formal chemical reaction structure.
  • First Passage Time (FPT): By applying Voronoi tessellation in the embedded space, the authors mapped continuous ODE trajectories back to discrete target states, providing accurate approximations for FPT distributions as system size increased.

Limitations and Future Directions

While the GFA offers a powerful new lens for stochastic analysis, it faces certain challenges:

  1. Bi-modality: The method struggles with systems like the Genetic Switch during fast switching regimes. Because a single ODE represents a single path, it cannot easily capture a probability distribution that splits into two distinct, stable peaks.
  2. Computational Cost: Calculating the eigenvectors of a massive $Q$-matrix is expensive. Future work will likely focus on optimizing local embedding techniques to handle larger-scale systems.
  3. From Drift to Diffusion: The current framework focuses on the mean (drift). Extending this to approximate the variance (diffusion) would allow for the construction of Stochastic Differential Equations (SDEs), providing a more complete picture of system noise.

Conclusion

The Geometric Fluid Approximation provides a rigorous pathway to transform discrete, high-dimensional stochastic jumps into smooth, deterministic flows. By leveraging the spectral geometry of transition matrices, GFA extends the reach of fluid approximations to a much broader class of Markovian systems, offering a scalable alternative to traditional simulation methods.

Summary updated

BibTeX
@misc{michaelides2019geometric,
  author = {Michalis Michaelides and Jane Hillston and Guido Sanguinetti},
  title = {{Geometric fluid approximation for general continuous-time Markov chains}},
  year = {2019},
  eprint = {1901.11417},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.11417},
}
Figure