Neural network aided approximation and parameter inference of non-Markovian models of gene expression

Qingchao Jiang, Xiaoming Fu, Shifu Yan, Runlai Li, Wenli Du, Zhixing Cao, Feng Qian, Ramon GrimaNature Communications 2021

TL;DR

This paper introduces a novel neural network (NN) approach to approximate complex non-Markovian models of gene expression with simpler, time-inhomogeneous Markovian models. This method allows for efficient simulation and parameter inference, overcoming the historical dependence challenges of non-Markovian systems.

What Problem Does This Paper Address?

Stochastic models are crucial for understanding gene expression, but many realistic biological processes involve time delays. These "non-Markovian" models, where the system's future depends on its entire past history (not just the present state), are notoriously difficult to analyze and simulate. Traditional methods struggle with the computational complexity introduced by these memory effects. This paper tackles the challenge of making these complex, history-dependent models tractable for analysis and parameter estimation.

Methods

The core innovation is using a neural network to learn an "effective" Markovian model from data generated by a non-Markovian system. Specifically, the authors train a feedforward neural network to approximate the time-dependent probability distributions of a non-Markovian system by mapping them to the solutions of a simpler, time-inhomogeneous Markovian model. This learned Markovian model, termed the "neural-network chemical master equation" (NN-CME), has the same number of species as the original model but lacks the explicit history dependence. The NN-CME can then be solved using standard techniques like the finite state projection (FSP) method. The training process involves using a relatively small dataset of noisy measurements (either from experimental data or stochastic simulations of the non-Markovian model) to minimize the difference between the NN-CME's predicted distributions and the observed data.

Datasets

The paper uses simulated data generated from various non-Markovian models of gene expression (Models I, II, and III, as well as a negative feedback loop model) for training and evaluating the ANN. They also reference experimental data for gene expression parameters (specifically, an inset in Figure 4b related to burst frequency and size for mammalian genes).

Key Insights and Ideas

  • Bridging the Gap: The NN acts as a powerful "translator," converting complex, history-dependent dynamics into a simpler, memoryless (but time-varying) framework. This is a significant step towards making non-Markovian systems more accessible.
  • Efficiency Without Dimensionality Increase: A key advantage is that the NN approximation doesn't increase the number of "species" or state variables in the model, keeping the computational burden manageable.
  • Parameter Inference Powerhouse: The framework isn't just for simulation; it can simultaneously infer kinetic parameters of the underlying non-Markovian model, which is crucial for experimental data analysis.
  • Emergent Non-Linearity: For models involving transcriptional bursting, the learned effective propensities can exhibit non-linear behavior, which is a more accurate reflection of biological reality than simpler linear models.
  • Delay-Induced Zero-Inflation: The paper highlights that time delays in gene expression can lead to a "zero-inflation" phenomenon in the probability distribution (an excess of zero counts), which is often observed in single-cell RNA sequencing data and can be mistaken for technical artifacts.

Key Results

  • Accurate Approximation: The NN-CME accurately reflects the stochastic dynamics of various non-Markovian gene expression models across different parameter spaces, showing excellent agreement with stochastic simulations (SSA) and exact analytical solutions where available. The Hellinger distance between NN-CME and exact distributions was comparable to that obtained from significantly more SSA samples.
  • Computational Efficiency: The ANN-aided approach is significantly faster than direct stochastic simulations. For Model I, training with 1000 simulations yielded results as accurate as 30,000 SSA simulations, with a computation time that was 1/6th of the SSA.
  • Parameter Inference Success: The method successfully infers kinetic parameters (e.g., burst frequency and size) from simulated data, with inferred values closely matching true parameters and exhibiting robust performance across different dataset sizes.
  • Capturing Complex Dynamics: The NN-CME can accurately predict damped oscillations in a negative feedback loop model, even when trained on data from only one of the involved species.

Limitations and Future Work

  • Model Specificity: While the method is generalizable, the accuracy of the NN-CME depends on the quality and representativeness of the training data. The paper notes that in some cases, a mapping might not be possible if the training data is insufficient or unrepresentative.
  • Under-trained Regions: Figure 4a indicates that in "Region II" (under-trained), the ANN's output might not be reliable, suggesting that careful consideration of training data and network architecture is needed for full parameter space coverage.
  • Future Directions: The authors suggest extending this approach to other complex systems, including those with spatially resolved particle-based simulations and continuous state spaces. They also highlight the potential for this method to learn effective models from sparse experimental data, which is a common scenario in biological research. The ability to infer parameters simultaneously with model approximation is also a promising avenue for future research.

Summary updated

BibTeX
@inproceedings{jiang2021neural,
  author = {Qingchao Jiang and Xiaoming Fu and Shifu Yan and Runlai Li and Wenli Du and Zhixing Cao and Feng Qian and Ramon Grima},
  title = {{Neural network aided approximation and parameter inference of non-Markovian models of gene expression}},
  booktitle = {Nature Communications},
  year = {2021},
  doi = {10.1038/s41467-021-22919-1},
}
Figure