Approximate inference in continuous time Gaussian-Jump processes

Manfred Opper, Andreas Ruttor, Guido SanguinettiNeurIPS 2010

Overview

This paper introduces a novel framework for performing fast, approximate inference in "Gaussian-Jump" processes. These are stochastic systems where a smooth Gaussian process is governed by a hidden, discrete switching variable. By moving from computationally expensive partial differential equations to efficient variational approximations, the authors enable real-time modeling of complex systems that exhibit both continuous evolution and abrupt regime shifts.

The Challenge of Modeling Non-Stationary Systems

Many real-world phenomena do not just flow smoothly; they "snap" between different behaviors. Examples include a cell switching between metabolic states or a financial market reacting to a sudden policy change.

Statisticians often use Gaussian Processes (GPs) to model smooth, continuous data because they are mathematically elegant and flexible. However, standard GPs struggle with "non-stationary" behavior—situations where the underlying rules of the system change abruptly over time. Conversely, Markov Jump Processes are excellent at modeling discrete switches but lack the continuous "noise" and drift characteristic of physical systems.

The challenge lies in combining them. "Gaussian-Jump" processes (conditionally Gaussian processes) are powerful but notoriously difficult to compute. Calculating exact inference usually requires solving complex Partial Differential Equations (PDEs) that become impossibly slow as system complexity increases.

Proposed Methods

The authors propose two primary methods to make these models computationally practical:

  1. For Markovian Systems (Ornstein-Uhlenbeck): They derive a variational approximation. Instead of solving grueling PDEs, they simplify the problem by assuming the continuous part and the switching part can be treated as somewhat independent (a factorized approximation). This reduces the problem to a set of Ordinary Differential Equations (ODEs), which are significantly faster to solve using standard numerical tools.
  2. For General (Non-Markovian) Systems: When the system has "memory" (such as an RBF kernel), standard math breaks down. The authors employ a Legendre transform to create a lower bound on the "free energy" of the system. This transforms a difficult, non-linear inference problem into a simpler optimization task solved via a "saddle point" procedure.

Key Results and Datasets

The authors evaluated their approach across three distinct types of data, demonstrating significant improvements in both speed and accuracy.

1. Synthetic 1D Data

The model was first tested on a simple "toy" dataset with discrete jumps to verify if it could correctly identify switch points and estimate underlying parameters.

Inference on synthetic 1D data showing the true jump, inferred probability, and continuous fit.

The model successfully estimated parameters (like drift and decay rates) with high accuracy. For instance, it estimated a decay rate $\lambda$ of $1.1 \times 10^{-2}$ when the true value was $1 \times 10^{-2}$.

2. Double-Well Potential

Using a classic physics benchmark, the authors generated data from a non-linear stochastic differential equation (SDE) to see if their linear "jump" model could approximate complex, non-linear behavior. The variational approach proved incredibly fast, achieving results similar to previous state-of-the-art methods but three to four orders of magnitude faster (0.07 seconds vs. potentially hours).

3. Biological Data (B. subtilis)

The model was applied to real-world single-cell fluorescence measurements modeling the genetic regulation of "competence" (a state where bacteria can take up foreign DNA). Here, the activity of a master regulator (ComK) acts as the hidden jump process.

Inferred latent state probability and continuous fit for B. subtilis gene expression data over time.

The model successfully captured the "switch-like" behavior of the ComK protein. Furthermore, it provided a physically plausible estimate for the half-life of the ComS protein (approximately 3 hours), correcting previous implausible estimates derived from other simulations.

Key Insights

  • Automated Occam’s Razor: The model naturally "prefers" the jump-process explanation over a purely smooth GP explanation only when system noise is low. It has a built-in mechanism to avoid over-complicating the data unless the evidence for a jump is strong.
  • Continuous vs. Discrete Time: Continuous-time modeling is shown to be superior to discrete-time "snapshots" because it allows for more stable numerical solvers (like Runge-Kutta) and provides a more physically realistic description of the world.
  • Computational Efficiency: The Markovian variational algorithm converged in about 0.1 seconds on a standard laptop, while the more complex RBF version took about two minutes—making it highly practical for research use.

Limitations and Future Work

While highly efficient, the approach has limitations. For the non-Markovian (RBF) case, the lower bound used tends to ignore some variance from the jump process. This results in the model being "too confident" (showing higher uncertainty in the continuous prediction than the Markovian version).

Future work will likely focus on extending this framework to "factorial" designs—where multiple independent switches happen simultaneously—and conducting a more thorough investigation into the theoretical bounds of the free energy to guarantee global optimality.

Summary updated

BibTeX
@inproceedings{opper2010approximate,
  author = {Manfred Opper and Andreas Ruttor and Guido Sanguinetti},
  title = {{Approximate inference in continuous time Gaussian-Jump processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2010},
  url = {https://openreview.net/forum?id=ByNjhdZd-B},
}
Figure