Papers
Topics
Authors
Recent
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),XtXt1=xt1ft(xtxt1),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

YtXt=xtgt(ytxt).Y_t \mid X_t = x_t \sim g_t(y_t \mid x_t).

The primary inferential objectives are: (i) online filtering (p(xty1:t)p(x_t \mid y_{1:t})), (ii) offline smoothing (p(x1:Ty1: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,),t1,\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ψ(xtxt1)=ft(xtxt1)ψt(xt)Qtψ(xt1),\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,

g1ψ(x1)=g1(y1x1)μ(ψ1)ψ1(x1)ψ2(x1),gtψ(xt)=gt(ytxt)ψt(xt)ψt+1(xt),t2.g_1^\psi(x_1) = \frac{g_1(y_1\mid x_1)\mu(\psi_1)}{\psi_1(x_1)}\psi_2(x_1), \quad g_t^\psi(x_t) = \frac{g_t(y_t\mid x_t)}{\psi_t(x_t)}\psi_{t+1}(x_t), \quad t \geq 2.

The choice of ψ\psi directly regulates importance-weight variance. An infeasible optimal regime, ψ\psi^\star, 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, ψ\psi-APF) and backward least-squares updates on logψt\log\psi_t 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 ψ\psi-APF within a rolling window of fixed lag LL:

A. Learning (Control) Particle Filter:

On each rolling window [t0,t][t_0, t] with t0=max{1,tL+1}t_0 = \max\{1, t-L+1\}:

  • Particles {X~sn,W~sn}n=1N\{\widetilde X_s^n, \widetilde W_s^n\}_{n=1}^N are initialized with current twisting functions ψt0,,ψt1\psi_{t_0},\dots,\psi_{t-1}.
  • For each of KK twist-learning iterations:

    1. Forward pass (propagation and weighting via ψ\psi-APF) across the window, yielding weighted particle sets at each ss.
    2. Backward pass (for s=t,,t0s=t,\dots,t_0), updating ψs\psi_s by least-squares regression over {X~sn,W~sn}\{\widetilde X_s^n,\widetilde W_s^n\}, typically in a parametric function class (e.g., exponentiated quadratics).

B. Estimation Particle Filter:

After KK updates to ψt0,,ψt\psi_{t_0},\dots,\psi_t, a single forward ψ\psi-APF is performed on [t0,t][t_0,t] to produce the filtering estimate and unbiased likelihood estimate ZtNp(y1:t)Z_t^N \approx p(y_{1:t}).

A key advantage is the O(NLK)O(N L K) per-step cost and O(NL)O(NL) memory usage, independent of tt. This fixed resource profile enables true online operation.

4. Theoretical Properties and Statistical Guarantees

For any fixed twisting sequence ψ1:t+1\psi_{1:t+1}, the marginal likelihood estimator ZtNZ_t^N delivered by the ψ\psi-APF shows unbiasedness: E[ZtN]=p(y1:t).\mathbb{E}[Z_t^N] = p(y_{1:t}). There exists an optimal, typically infeasible, twist policy ψ\psi^\star 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 LL 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 tt executes as follows (notation as above):

  1. Set rolling window start t0=max(1,tL+1)t_0 = \max(1, t - L + 1).

  2. Initialize learning particle system H~t01\widetilde{\mathcal H}_{t_0-1}.
  3. For k=1,,Kk = 1, \dots, K: a. Forward propagate and weight learning particles via ψ\psi-APF over [t0,t][t_0, t]. b. Backward recursion: update ψs\psi_s for s=t,,t0s = t, \dots, t_0 using weighted particles.
  4. Forward ψ\psi-APF with final ψt0:t\psi_{t_0:t} for filtering and likelihood estimation.

Within both particle systems, resampling is triggered if the effective sample size falls below a threshold fraction κN\kappa N. Proposals are drawn from the twisted kernel fsψf_s^\psi, and second-stage weights utilize gsψg_s^\psi.

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 L1L_1-errors and RMSE of logZTN\log Z_T^N across dimensions d{2,4,8,16,32,64}d\in\{2,4,8,16,32,64\}, greatly outperforming BPF (e.g., BPF with N=3.2×105N=3.2\times 10^5 vs. ORCSMC with N=103N=10^3).
  • For univariate stochastic volatility (T=945T=945), increasing lag LL sharply reduces log\log-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 LL and iterations KK permit tuning the bias-variance balance for target applications; larger LL trades increased computation for offline CSMC-level accuracy, while small LL 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)

Whiteboard

Topic to Video (Beta)

Follow Topic

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