Variance reduction for steady-state simulation and sensitivity analysis of stochastic chemical systems

Andreas Milias‐Argeitis, John Lygeros, Mustafa Khammash · DOI

Abstract

We address the problem of estimating steady-state quantities associated with systems of stochastic chemical kinetics. In most cases of interest, these systems are analytically intractable, necessitating computational methods to estimate stationary values of cost functions. This work adapts a previously introduced variance reduction method and presents an algorithm for its application in stochastic chemical kinetics. Using two numerical examples, we test the efficiency of the method for calculating steady-state parametric sensitivities and evaluate its performance against other estimation methods.

Introduction

In biological systems, molecules often exist in low copy numbers, making their interactions inherently stochastic. These systems are typically modeled using Markov chains, specifically the Chemical Master Equation (CME). While the Stochastic Simulation Algorithm (SSA) allows for the simulation of these systems, determining the steady state—the long-term average behavior—is computationally intensive.

The inherent randomness of these simulations results in high variance. Achieving a precise estimate usually requires extremely long simulation times or thousands of parallel trials. This challenge is amplified during sensitivity analysis, where researchers seek to understand how the steady state responds to changes in reaction rates. In such scenarios, the subtle "signal" of parameter change is frequently obscured by the "noise" of the simulation.

Methodology: The Shadow Function Approach

The core contribution of this research is the application of the Shadow Function Method to chemical kinetics. This variance reduction technique operates on the principle of modifying the cost function to reduce its fluctuations without changing its expected value.

  1. The Shadow Function: Instead of averaging a cost function $f$ (e.g., protein levels), the method averages $f + h$. The "shadow function" $h$ is constructed to have a steady-state mean of zero while being negatively correlated with $f$. This negative correlation allows $h$ to cancel out the noise: when $f$ fluctuates high, $h$ fluctuates low.
  2. Solving the Poisson Equation: The optimal shadow function is derived from the solution to the Poisson equation related to the system's generator. As analytical solutions are rarely feasible for complex biochemical networks, the authors employ surrogate functions.
  3. Least Squares Approximation: These surrogate functions are approximated using a linear combination of basis functions, such as low-order polynomials. A brief "training" simulation is conducted to determine the optimal weights for these basis functions via linear regression.
  4. Sensitivity Analysis Integration: The approach is combined with Common Random Numbers (CRN). By utilizing the same random seed for both baseline and perturbed simulations and applying shadow functions to both, the researchers can extract highly precise sensitivity coefficients.

Experimental Evaluation

The method was evaluated on two model systems: a Stochastic Focusing Model (a two-species inhibitory system) and a Six-Dimensional Gene Network (involving 6 species and 12 reactions).

The results demonstrate that even crude approximations of the Poisson equation can yield significant benefits. Using simple polynomial basis functions (up to 3rd order) resulted in massive variance reductions with negligible computational overhead.

Table 1: Variance reduction ratios (sigma_1^2/sigma_2^2) comparing standard methods to the proposed CRN+SF approach across various parameter regimes.

As shown in Table 1, the shadow function method (CRN+SF) achieved variance reduction factors ranging from 100 to over 7,000 compared to naive estimation in the stochastic focusing model.

Sensitivity Analysis and Precision

A critical advantage of this method is its performance in sensitivity analysis. Traditional methods like Coupled Finite Differences (CFD) often struggle with high variance, leading to wide confidence intervals that can make biological interpretation difficult.

Figure 1: Comparison of sensitivity estimates |g| across parameter values alpha_S. The proposed method provides significantly tighter confidence intervals compared to standard approaches.

In the 6D gene network example, standard methods produced error bars so large that they failed to determine the direction of change. In contrast, the shadow function method produced tight confidence intervals (as seen in Figure 1), providing the precision necessary for meaningful analysis. Furthermore, the computational cost of calculating the shadow function was minimal, adding only a few seconds to the overall simulation time.

Conclusion and Future Directions

This work demonstrates that the shadow function method is a highly efficient tool for the steady-state analysis of stochastic chemical systems. It significantly outperforms state-of-the-art methods like CFD in both speed and precision.

Future work will address the selection of basis functions for larger systems, where the number of possible monomials increases exponentially. The authors suggest that automated optimization techniques, such as Least-Squares Temporal Difference (LSTD) learning, could further enhance the robustness and scalability of the method for high-dimensional biological networks.

Summary updated

BibTeX
@misc{miliasargeitis2014variance,
  author = {Andreas Milias‐Argeitis and John Lygeros and Mustafa Khammash},
  title = {{Variance reduction for steady-state simulation and sensitivity analysis of stochastic chemical systems}},
  year = {2014},
  eprint = {1401.4929},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1401.4929},
}
Figure