arXiv:2610.10194stat.MLOct 2026

Manuscript Offprint

arXiv:2610.10194

Broadly Applicable Approximate MCMC for Switching Stochastic Differential Equations Using Uniformization and Time-Conditioned Factorized Neural Likelihood Estimation

Shion Hosoda, Michiaki Hamada

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Switching stochastic differential equations (SSDEs) describe continuous-time dynamics whose parameters switch according to a latent regime process that follows a continuous-time Markov chain (CTMC). By allowing dynamics to change between regimes, SSDEs represent heterogeneous system behavior and have been applied across diverse fields. However, Bayesian inference for SSDEs remains difficult, and existing SSDE inference methods have limited applicability, with restrictions such as noise-free observations, univariate states, linear drift, or state-independent diffusion. In this study, we propose an approximate Markov chain Monte Carlo sampler for SSDEs using uniformization and factorized neural likelihood estimation (FNLE), a simulation-based inference method. Uniformization provides an exact representation of the CTMC but requires SDE transition densities over arbitrary time intervals. We approximate these densities by training a time-conditioned FNLE model. The resulting sampler is broadly applicable to SSDEs without requiring analytically tractable transition densities. In synthetic-data experiments, our method recovered regime paths and parameters for three SSDE models for which previous methods have limited applicability. We also applied our method to a real dataset and detected a regime transition.

1 INTRODUCTION

Stochastic differential equations (SDEs) provide a natural framework for modeling noisy continuous-time dynamics. A single SDE may be insufficient in many cases because dynamics in real-world systems often change. Switching stochastic differential equations (SSDEs) represent such dynamics by allowing the drift and diffusion functions to switch according to the regime at each time. SSDEs have been applied in many fields, such as ecology [36], biology [15], and economics [22]. Figure 1 illustrates an SSDE and its noisy observations.

Bayesian inference for SSDEs remains challenging. It requires joint estimation of latent states, regimes, and model parameters from noisy observations. Moreover, regime transitions can occur between observation times. Due to these challenges, existing SSDE inference methods have limited applicability and are typically restricted to settings with noise-free observations, univariate states, linear drift, or state-independent diffusion [13, 19, 20, 32].

Uniformization is a method to represent the continuous-time Markov chain (CTMC) by a discrete-time regime sequence on Poisson event times [30]. When regime-dependent emission likelihoods are available, this representation facilitates parameter inference in CTMC-based models and has been used in a range of applications [9, 12, 28]. For an SSDE, however, the required likelihood involves transition densities of the state process over each interval. These densities are generally unavailable for SDEs, limiting the direct use of uniformization-based regime updates in general SSDEs.

Simulation-based inference can learn otherwise intractable densities from simulations [5, 29]. Neural likelihood estimation learns conditional densities from simulated parameter–data pairs, while factorized neu-

∗^{*}Corresponding author: shion.hosoda@gmail.com.

Figure

Figure 1: Illustration of a simulated Lotka–Volterra SSDE. The upper panel shows the two components of the continuous state and their noisy observations. Background shading indicates the active regime, and the lower panel shows the regime path.

ral likelihood estimation (FNLE) exploits the Markov property to approximate trajectory likelihoods from learned local transition densities [11]. Standard FNLE is formulated for discrete-time Markovian sequences and is typically trained for a fixed transition interval, and it cannot be directly evaluated at the varying intervals introduced by uniformization.

In this study, we propose an approximate Markov chain Monte Carlo (MCMC) sampler for SSDEs using time-conditioned FNLE. As a foundation, we develop an exact uniformization-based sampler for SSDEs with tractable transition densities and conditional intermediate-state sampling. We then condition FNLE on elapsed time to approximate regime-specific transition densities over varying intervals and use sampling-importance-resampling (SIR) to approximate conditional intermediate-state sampling. This yields a broadly applicable sampler for SSDEs without requiring analytically tractable transition densities.

Our contributions are summarized as follows:

• We combine time-conditioned FNLE with uniformization to construct an approximate MCMC sampler applicable to a broad range of SSDEs.

• We show that the sampler successfully recovers regime paths and model parameters in synthetic experiments on three SSDE models spanning nonlinear drift, state-dependent diffusion, and multivariate latent states.

• We apply the sampler to a real dataset and infer a persistent regime change.

References (31)