[Paper Review] Variational Inference for Continuous-Time Switching Dynamical Systems
This paper proposes a novel continuous-time variational inference framework for switching dynamical systems, combining Gaussian process approximations with variational inference over Markov jump processes. By minimizing path-wise Kullback-Leibler divergence, it enables Bayesian latent state estimation and parameter learning, achieving accurate inference in complex hybrid systems with intractable exact posteriors.
Switching dynamical systems provide a powerful, interpretable modeling framework for inference in time-series data in, e.g., the natural sciences or engineering applications. Since many areas, such as biology or discrete-event systems, are naturally described in continuous time, we present a model based on an Markov jump process modulating a subordinated diffusion process. We provide the exact evolution equations for the prior and posterior marginal densities, the direct solutions of which are however computationally intractable. Therefore, we develop a new continuous-time variational inference algorithm, combining a Gaussian process approximation on the diffusion level with posterior inference for Markov jump processes. By minimizing the path-wise Kullback-Leibler divergence we obtain (i) Bayesian latent state estimates for arbitrary points on the real axis and (ii) point estimates of unknown system parameters, utilizing variational expectation maximization. We extensively evaluate our algorithm under the model assumption and for real-world examples.
Motivation & Objective
- Address the lack of scalable inference frameworks for continuous-time hybrid systems combining diffusion processes and Markov jump processes.
- Overcome computational intractability of exact posterior inference in switching stochastic differential equations (SSDEs) due to coupled partial differential equations.
- Enable Bayesian estimation of latent states at arbitrary time points and point estimation of unknown system parameters in hybrid models.
- Develop a unified variational inference approach that generalizes existing methods for diffusion processes and Markov jump processes as special cases.
- Demonstrate effectiveness on synthetic data with multi-well potentials and real-world ion channel data, showing robustness to irregular observation times.
Proposed method
- Model the system as a hybrid process: a continuous-time Markov jump process (MJP) modulates a switching stochastic differential equation (SSDE) with state-dependent drift and diffusion.
- Use a Gaussian process approximation to represent the latent diffusion process, enabling tractable inference over continuous-time trajectories.
- Formulate a variational posterior over both the latent states and the MJP paths, minimizing the path-wise Kullback-Leibler divergence to the true posterior.
- Integrate variational expectation-maximization (V-EM) to jointly learn unknown system parameters, including drift coefficients, diffusion covariances, and transition rates.
- Apply the thinning algorithm to sample from the time-inhomogeneous MJP posterior during inference.
- Derive exact evolution equations for prior and posterior marginal densities, and use them as a foundation for the variational approximation.
Experimental results
Research questions
- RQ1Can variational inference be effectively extended to continuous-time switching dynamical systems with intractable exact posteriors?
- RQ2How well can a Gaussian process approximation capture complex latent trajectories in hybrid systems with multiple metastable states?
- RQ3To what extent does the proposed method enable accurate Bayesian inference of latent states at arbitrary time points, even with irregularly spaced observations?
- RQ4Can the method jointly learn unknown system parameters (e.g., drift, diffusion, transition rates) with high accuracy in both synthetic and real-world settings?
- RQ5How does the performance of the proposed variational framework compare to exact or sampling-based methods in terms of computational efficiency and estimation accuracy?
Key findings
- The method achieves accurate Bayesian latent state estimation, as demonstrated by posterior samples closely tracking the ground-truth trajectory in a 1D two-mode hybrid process.
- In a 1D four-well potential system, the learned parameters (αz, βz, Λ) were within 10–20% of the ground truth, with observation noise Σobs = 0.0225.
- For a 2D three-well potential, the method successfully recovered the complex structure of the potential, with learned parameters (αz, βz, Λ) closely matching the ground truth in shape and magnitude.
- On real ion channel data (140 mV, 5 kHz sampling), the method estimated transition rates (Λ) and drift parameters (αz, βz) with high fidelity, despite high noise and complex dynamics.
- The variational posterior over the MJP path was effectively sampled using the thinning algorithm, enabling reliable inference even with time-inhomogeneous transition rates.
- The method outperformed baseline initialization in all experiments, with learned initial state distributions (µp(z,0), Σp(z,0)) adapting effectively to data-driven structures.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.