On backward smoothing algorithms

Hai-Dang Dau, Nicolás Chopin

Abstract

In the context of state-space models, skeleton-based smoothing algorithms rely on a backward sampling step, which by default, has a $O(N^2)$ complexity (where $N$ is the number of particles). Existing improvements in the literature are unsatisfactory: a popular rejection sampling-based approach might lead to badly behaved execution time; another rejection sampler with stopping lacks complexity analysis; yet another MCMC-inspired algorithm comes with no stability guarantee. We provide several results that close these gaps. In particular, we prove a novel nonasymptotic stability theorem, thus enabling smoothing with truly linear complexity and adequate theoretical justification. We propose a general framework, which unites most skeleton-based smoothing algorithms in the literature and allows to simultaneously prove their convergence and stability, both in online and offline contexts. Furthermore, we derive, as a special case of that framework, a new coupling-based smoothing algorithm applicable to models with intractable transition densities. We elaborate practical recommendations and confirm those with numerical experiments.

Introduction

Particle smoothing is a critical tool for state-space models, used in fields ranging from target tracking to econometrics. While particle filters efficiently estimate the current state (filtering), estimating the entire history (smoothing) has traditionally been computationally expensive. The standard Forward Filtering Backward Smoothing (FFBS) algorithm scales quadratically ($O(N^2)$) with the number of particles $N$. As accuracy requirements drive $N$ higher, this cost becomes prohibitive.

Previous attempts to achieve linear complexity ($O(N)$) have faced significant hurdles:

  1. Unpredictable Runtimes: Rejection sampling methods can suffer from infinite expected execution times in non-compact state spaces.
  2. Theoretical Gaps: MCMC-based smoothers, while empirically successful, lacked rigorous proofs of stability over long time horizons.
  3. Intractability: Many smoothing algorithms require explicit transition densities, which are unavailable in many complex physical models.

A Unified Framework for Smoothing

The authors introduce a general framework that decomposes smoothing into two distinct components: the backward kernel (the mechanism for selecting previous states) and the execution mode (offline vs. online processing). This unification allows for the simultaneous proof of convergence and stability for a wide array of algorithms.

Table 1: Classification of smoothing algorithms and associated theoretical results within the proposed framework.

This framework covers classic FFBS, the PaRIS (Particle-based Rapid Incremental Smoother) kernel, and MCMC-based kernels, providing a roadmap for their theoretical justification in both online and offline settings.

Key Innovations

Hybrid Rejection Sampling

To address the "infinite runtime" trap of pure rejection sampling, the paper proposes a hybrid approach. If rejection sampling fails to produce a sample within $N$ attempts, the algorithm switches to a direct simulation method. This ensures a deterministic upper bound on complexity while maintaining the efficiency of $O(N)$ scaling in most cases.

Stability of MCMC Kernels

A major contribution is the first non-asymptotic stability theorem for MCMC-based backward kernels. This proof ensures that the error of the smoother does not grow uncontrollably as the time horizon $T$ increases, providing the necessary theoretical foundation for using these fast algorithms in long-term monitoring applications.

Coupling for Intractable Models

For models where transition densities cannot be computed, the authors propose a novel coupling-based smoother. By forcing particles to "meet" and merge paths during the forward pass, they create a backward kernel that bypasses the need for density calculations entirely.

Experimental Validation

The methods were tested on two primary benchmarks:

  • Linear Gaussian Models: Used to verify that the variance of estimators scales appropriately and to compare execution speeds. MCMC-based smoothers were found to be 10–20 times faster than rejection-sampling counterparts.
  • Lotka-Volterra SDE: A predator-prey model characterized by non-compactness and intractable transitions. The new coupling-based smoother significantly outperformed naive genealogy tracking, which typically suffers from particle degeneracy.

Conclusion

By closing the theoretical gaps surrounding $O(N)$ smoothing algorithms, this work provides practitioners with both the tools and the justification for efficient state-space modeling. The proposed hybrid sampling and coupling techniques offer robust solutions to long-standing issues of runtime unpredictability and model intractability. Future work may extend these stability results to more advanced "guided" filters and explore their application within Particle MCMC frameworks for Bayesian parameter estimation.

Summary updated

BibTeX
@article{dau2023backward,
  author = {Hai-Dang Dau and Nicolás Chopin},
  title = {{On backward smoothing algorithms}},
  journal = {The Annals of Statistics},
  year = {2023},
  doi = {10.1214/23-aos2324},
}
Figure