Papers
Topics
Authors
Recent
Search
2000 character limit reached

Online Rolling Controlled SMC

Updated 17 December 2025
  • ORCSMC is a method that extends controlled SMC for real-time filtering and smoothing in hidden Markov models using a rolling window mechanism.
  • It employs dual particle systems and twisting functions to adaptively balance bias and variance while managing bounded computational resources.
  • Empirical results reveal significant variance reduction and improved stability compared to standard bootstrap particle filtering in high-dimensional settings.

Online Rolling Controlled Sequential Monte Carlo (ORCSMC) is an advanced methodology for real-time inference in general-state-space hidden Markov models. By leveraging controlled sequential Monte Carlo techniques with a rolling window mechanism, ORCSMC delivers adaptive filtering and smoothing with bounded computational resources while significantly reducing variance compared to standard particle filtering approaches (Xue et al., 1 Aug 2025).

1. Formulation and Model Setting

ORCSMC operates within the standard hidden Markov (state-space) model framework on Rd\mathbb{R}^d, with observations in Rd′\mathbb{R}^{d'}. The model comprises latent states XtX_t evolving via Markov transitions

X1∼μ(x1),Xt∣Xt−1=xt−1∼ft(xt∣xt−1),X_1 \sim \mu(x_1), \quad X_t \mid X_{t-1} = x_{t-1} \sim f_t(x_t \mid x_{t-1}),

and conditionally independent observations

Yt∣Xt=xt∼gt(yt∣xt).Y_t \mid X_t = x_t \sim g_t(y_t \mid x_t).

The primary inferential objectives are: (i) online filtering (p(xt∣y1:t)p(x_t \mid y_{1:t})), (ii) offline smoothing (p(x1:T∣y1:T)p(x_{1:T}\mid y_{1:T})), and (iii) the marginal data likelihood (p(y1:t)p(y_{1:t})).

2. Controlled SMC and Twisting Functions

The central mechanism underlying controlled SMC is the introduction of a time-indexed sequence of strictly positive twisting (or guiding) functions

ψt:Rd→(0,∞),t≥1,\psi_t: \mathbb{R}^d \rightarrow (0,\infty), \quad t \geq 1,

used to reweight and transform the standard HMM measure. The resulting twisted model employs modified initial and transition densities,

μψ(x1)=μ(x1)ψ1(x1)μ(ψ1),ftψ(xt∣xt−1)=ft(xt∣xt−1)ψt(xt)Qtψ(xt−1),\mu^\psi(x_1) = \frac{\mu(x_1)\psi_1(x_1)}{\mu(\psi_1)}, \quad f_t^\psi(x_t \mid x_{t-1}) = \frac{f_t(x_t\mid x_{t-1})\psi_t(x_t)}{Q_t^\psi(x_{t-1})},

and corresponding potential functions,

Rd′\mathbb{R}^{d'}0

The choice of Rd′\mathbb{R}^{d'}1 directly regulates importance-weight variance. An infeasible optimal regime, Rd′\mathbb{R}^{d'}2, makes incremental weights constant, resulting in zero-variance estimation, but is unavailable in closed form.

Offline CSMC estimates such twisting functions by alternating forward particle propagation (twisted auxiliary particle filtering, Rd′\mathbb{R}^{d'}3-APF) and backward least-squares updates on Rd′\mathbb{R}^{d'}4 using particle clouds over the trajectory.

3. Algorithmic Structure: Dual Particle Systems and Rolling Window

To meet real-time and bounded-resource requirements, ORCSMC utilizes two coupled particle systems, both employing the Rd′\mathbb{R}^{d'}5-APF within a rolling window of fixed lag Rd′\mathbb{R}^{d'}6:

A. Learning (Control) Particle Filter:

On each rolling window Rd′\mathbb{R}^{d'}7 with Rd′\mathbb{R}^{d'}8:

  • Particles Rd′\mathbb{R}^{d'}9 are initialized with current twisting functions XtX_t0.
  • For each of XtX_t1 twist-learning iterations:

    1. Forward pass (propagation and weighting via XtX_t2-APF) across the window, yielding weighted particle sets at each XtX_t3.
    2. Backward pass (for XtX_t4), updating XtX_t5 by least-squares regression over XtX_t6, typically in a parametric function class (e.g., exponentiated quadratics).

B. Estimation Particle Filter:

After XtX_t7 updates to XtX_t8, a single forward XtX_t9-APF is performed on X1∼μ(x1),Xt∣Xt−1=xt−1∼ft(xt∣xt−1),X_1 \sim \mu(x_1), \quad X_t \mid X_{t-1} = x_{t-1} \sim f_t(x_t \mid x_{t-1}),0 to produce the filtering estimate and unbiased likelihood estimate X1∼μ(x1),Xt∣Xt−1=xt−1∼ft(xt∣xt−1),X_1 \sim \mu(x_1), \quad X_t \mid X_{t-1} = x_{t-1} \sim f_t(x_t \mid x_{t-1}),1.

A key advantage is the X1∼μ(x1),Xt∣Xt−1=xt−1∼ft(xt∣xt−1),X_1 \sim \mu(x_1), \quad X_t \mid X_{t-1} = x_{t-1} \sim f_t(x_t \mid x_{t-1}),2 per-step cost and X1∼μ(x1),Xt∣Xt−1=xt−1∼ft(xt∣xt−1),X_1 \sim \mu(x_1), \quad X_t \mid X_{t-1} = x_{t-1} \sim f_t(x_t \mid x_{t-1}),3 memory usage, independent of X1∼μ(x1),Xt∣Xt−1=xt−1∼ft(xt∣xt−1),X_1 \sim \mu(x_1), \quad X_t \mid X_{t-1} = x_{t-1} \sim f_t(x_t \mid x_{t-1}),4. This fixed resource profile enables true online operation.

4. Theoretical Properties and Statistical Guarantees

For any fixed twisting sequence X1∼μ(x1),Xt∣Xt−1=xt−1∼ft(xt∣xt−1),X_1 \sim \mu(x_1), \quad X_t \mid X_{t-1} = x_{t-1} \sim f_t(x_t \mid x_{t-1}),5, the marginal likelihood estimator X1∼μ(x1),Xt∣Xt−1=xt−1∼ft(xt∣xt−1),X_1 \sim \mu(x_1), \quad X_t \mid X_{t-1} = x_{t-1} \sim f_t(x_t \mid x_{t-1}),6 delivered by the X1∼μ(x1),Xt∣Xt−1=xt−1∼ft(xt∣xt−1),X_1 \sim \mu(x_1), \quad X_t \mid X_{t-1} = x_{t-1} \sim f_t(x_t \mid x_{t-1}),7-APF shows unbiasedness: X1∼μ(x1),Xt∣Xt−1=xt−1∼ft(xt∣xt−1),X_1 \sim \mu(x_1), \quad X_t \mid X_{t-1} = x_{t-1} \sim f_t(x_t \mid x_{t-1}),8 There exists an optimal, typically infeasible, twist policy X1∼μ(x1),Xt∣Xt−1=xt−1∼ft(xt∣xt−1),X_1 \sim \mu(x_1), \quad X_t \mid X_{t-1} = x_{t-1} \sim f_t(x_t \mid x_{t-1}),9 that achieves zero-variance weights.

Under strong mixing and boundedness assumptions for the HMM and measurement density, both the twisted particle filter and the entire CSMC/ORCSMC stack admit a Central Limit Theorem for estimators of marginal means.

The rolling window design induces a bias-variance tradeoff: truncating twist function learning to the Yt∣Xt=xt∼gt(yt∣xt).Y_t \mid X_t = x_t \sim g_t(y_t \mid x_t).0 most recent steps introduces bias relative to offline CSMC but yiels strong variance reduction compared to the standard bootstrap particle filter.

5. Algorithmic Details and Pseudocode

The ORCSMC method at each time Yt∣Xt=xt∼gt(yt∣xt).Y_t \mid X_t = x_t \sim g_t(y_t \mid x_t).1 executes as follows (notation as above):

  1. Set rolling window start Yt∣Xt=xt∼gt(yt∣xt).Y_t \mid X_t = x_t \sim g_t(y_t \mid x_t).2.

  2. Initialize learning particle system Yt∣Xt=xt∼gt(yt∣xt).Y_t \mid X_t = x_t \sim g_t(y_t \mid x_t).3.
  3. For Yt∣Xt=xt∼gt(yt∣xt).Y_t \mid X_t = x_t \sim g_t(y_t \mid x_t).4: a. Forward propagate and weight learning particles via Yt∣Xt=xt∼gt(yt∣xt).Y_t \mid X_t = x_t \sim g_t(y_t \mid x_t).5-APF over Yt∣Xt=xt∼gt(yt∣xt).Y_t \mid X_t = x_t \sim g_t(y_t \mid x_t).6. b. Backward recursion: update Yt∣Xt=xt∼gt(yt∣xt).Y_t \mid X_t = x_t \sim g_t(y_t \mid x_t).7 for Yt∣Xt=xt∼gt(yt∣xt).Y_t \mid X_t = x_t \sim g_t(y_t \mid x_t).8 using weighted particles.
  4. Forward Yt∣Xt=xt∼gt(yt∣xt).Y_t \mid X_t = x_t \sim g_t(y_t \mid x_t).9-APF with final p(xt∣y1:t)p(x_t \mid y_{1:t})0 for filtering and likelihood estimation.

Within both particle systems, resampling is triggered if the effective sample size falls below a threshold fraction p(xt∣y1:t)p(x_t \mid y_{1:t})1. Proposals are drawn from the twisted kernel p(xt∣y1:t)p(x_t \mid y_{1:t})2, and second-stage weights utilize p(xt∣y1:t)p(x_t \mid y_{1:t})3.

6. Empirical Performance and Practical Considerations

Numerical experiments on linear-Gaussian models, stochastic volatility models, and neuroscience-inspired binomial models demonstrate that ORCSMC consistently attains substantial variance reduction, stability, and accuracy advantages versus both the bootstrap particle filter and offline CSMC (Xue et al., 1 Aug 2025).

  • In high-dimensional Gaussian models, ORCSMC achieves stable p(xt∣y1:t)p(x_t \mid y_{1:t})4-errors and RMSE of p(xt∣y1:t)p(x_t \mid y_{1:t})5 across dimensions p(xt∣y1:t)p(x_t \mid y_{1:t})6, greatly outperforming BPF (e.g., BPF with p(xt∣y1:t)p(x_t \mid y_{1:t})7 vs. ORCSMC with p(xt∣y1:t)p(x_t \mid y_{1:t})8).
  • For univariate stochastic volatility (p(xt∣y1:t)p(x_t \mid y_{1:t})9), increasing lag p(x1:T∣y1:T)p(x_{1:T}\mid y_{1:T})0 sharply reduces p(x1:T∣y1:T)p(x_{1:T}\mid y_{1:T})1-likelihood variance; the method preserves performance in non-Gaussian, heteroskedastic regimes.
  • In multichannel binomial models, moderate window sizes maintain effective sample size and stable marginal-likelihood variance even as dimension increases.

The fixed lag p(x1:T∣y1:T)p(x_{1:T}\mid y_{1:T})2 and iterations p(x1:T∣y1:T)p(x_{1:T}\mid y_{1:T})3 permit tuning the bias-variance balance for target applications; larger p(x1:T∣y1:T)p(x_{1:T}\mid y_{1:T})4 trades increased computation for offline CSMC-level accuracy, while small p(x1:T∣y1:T)p(x_{1:T}\mid y_{1:T})5 offers rapid response with bounded effort.

7. Connections, Impact, and Significance

ORCSMC extends the foundational work on controlled SMC and twisted particle filtering to an online, receding-horizon context. The design systematically overcomes the computational scaling and memory limits of full-trajectory CSMC, while preserving its crucial statistical efficiency benefits, particularly variance control, in real-time applications (Xue et al., 1 Aug 2025).

This makes ORCSMC attractive for sequential latent-state inference in complex, high-dimensional, and non-Gaussian state-space models where standard methods such as the bootstrap filter are either unstable or computationally impractical. The use of dual particle systems to learn and exploit twisting functions in real time, combined with rigorous statistical guarantees and demonstrated empirical superiority, establishes ORCSMC as a robust and practically deployable technique for modern sequential inference problems.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Online Rolling Controlled SMC (ORCSMC).