Backward importance sampling for partially observed diffusion processes

Alice Martin, Marie‐Pierre Étienne, Pierre Gloaguen, Sylvain Le Corff, Jimmy Olsson · DOI

Abstract

This paper proposes a new Sequential Monte Carlo algorithm to perform online estimation in the context of state space models when either the transition density of the latent state or the conditional likelihood of an observation given a state is intractable. In this setting, obtaining low variance estimators of expectations under the posterior distributions of the unobserved states given the observations is a challenging task. Following recent theoretical results for pseudo-marginal sequential Monte Carlo smoothers, a pseudo-marginal backward importance sampling step is introduced to estimate such expectations. This new step allows to reduce very significantly the computational time of the existing numerical solutions based on an acceptance-rejection procedure for similar performance, and to broaden the class of eligible models for such methods. For instance, in the context of multivariate stochastic differential equations, the proposed algorithm makes use of unbiased estimates of the unknown transition densities under much weaker assumptions than standard alternatives. The performance of this estimator is assessed for high-dimensional discrete-time latent data models, for recursive maximum likelihood estimation in the context of partially observed diffusion process, and in the case of a bidimensional partially observed stochastic Lotka-Volterra model.

Introduction

In fields ranging from ecology to finance, State Space Models (SSMs) are the primary tool for tracking hidden variables—such as the true population of a species—based on noisy, discrete observations. A core challenge in these models is "online smoothing": the real-time estimation of hidden states as new data streams in.

However, mathematical complexity often arises when the "transition density"—the probability of the system moving from one state to another—is intractable. This is frequently the case with Stochastic Differential Equations (SDEs), where the underlying physics are known but no closed-form formula exists for the probability over a discrete time step. This paper introduces a new Sequential Monte Carlo (SMC) algorithm that significantly speeds up estimation for these complex models by replacing traditional rejection-based methods with a more efficient importance sampling framework.

The Challenge of Intractability

Existing state-of-the-art methods, such as the PaRIS algorithm, typically rely on acceptance-rejection sampling to handle intractable densities. This approach suffers from two primary limitations:

  1. Restrictive Assumptions: It requires knowing a strict upper bound on the transition density, which is often impossible to determine for complex systems.
  2. Computational Waste: The algorithm spends significant processing time generating and then "rejecting" samples that do not meet the criteria, leading to high computational overhead.

Proposed Methodology: Pseudo-Marginal BIS

The authors propose a Pseudo-Marginal Backward Importance Sampling (BIS) approach. Instead of attempting to sample exactly from a difficult distribution using rejection, the method utilizes Importance Sampling.

Key Innovations

  • Backward Importance Sampling Step: By replacing rejection-based sampling with an importance sampling estimate, the algorithm ensures that every simulated particle is utilized. This leads to a significant reduction in computational time.
  • Wald’s Trick for Positivity: A major theoretical hurdle in using unbiased estimators for transition densities (like parametrix estimators) is that they can occasionally return negative values. The authors integrate "Wald’s trick"—a method involving auxiliary simulations—to ensure that weights remain positive and unbiased, thereby broadening the class of eligible models to include multivariate SDEs.
  • Pseudo-Marginal Framework: This allows the algorithm to function effectively even when researchers only have access to estimates of transition densities or likelihoods, rather than exact values.

Experimental Validation

The algorithm's performance was evaluated across three distinct modeling tasks:

  1. Stochastic Recurrent Neural Networks (RNNs): Applied to the Jena Climate Dataset (tracking temperature, pressure, and humidity), the BIS smoother consistently outperformed the standard "Poor Man’s" smoother, showing significantly lower Mean Squared Error (MSE) for historical observations.
  2. The Sine Model: In this 1D benchmark for partially observed diffusion processes, the proposed method achieved a 10x reduction in computational time compared to standard acceptance-rejection methods while maintaining comparable accuracy.
  3. Stochastic Lotka-Volterra Model: Using the classic Hudson Bay Company lynx-hare dataset (1900–1920), the algorithm successfully tracked predator-prey dynamics in a 2D model where the transition density is intractable, a scenario that typically breaks standard filters.

Discussion and Insights

The primary "aha moment" of this research is the realization that exact sampling from the backward kernel is not a prerequisite for accuracy if a high-quality importance sampling estimate can be constructed. This shift allows for better parallelization; unlike ancestral tracking methods, the BIS step is highly parallelizable, making it ideal for modern GPU and multi-core hardware architectures.

Furthermore, the integration of Wald’s trick is a significant theoretical contribution. It permits the use of "signed" estimators for multivariate SDEs that were previously considered too unstable for SMC algorithms due to the risk of producing negative probabilities.

Limitations and Future Work

While the empirical results are robust, the authors identify several areas for further study. A formal mathematical proof of the estimator's "asymptotic normality" is still required. Additionally, like all importance sampling methods, a small bias exists when the number of backward samples is very low, though this bias vanishes quickly as the sample count increases. Finally, the choice of the proposal distribution remains a pivotal tuning step that requires domain expertise for specific applications.

Summary updated

BibTeX
@article{martin2023backward,
  author = {Alice Martin and Marie‐Pierre Étienne and Pierre Gloaguen and Sylvain Le Corff and Jimmy Olsson},
  title = {{Backward importance sampling for partially observed diffusion processes}},
  journal = {J. Comput. Graph. Stat.},
  year = {2023},
  doi = {10.1080/10618600.2023.2174125},
}
Figure