Parameter estimation for state space models using sequential Monte Carlo algorithms

Christopher NemethLancaster 2014

Abstract

State space models (SSMs) represent a flexible class of Bayesian time series models which can be applied to model latent state stochastic processes. Sequential Monte Carlo (SMC) algorithms, also known as particle filters, are perhaps the most widely used methodology for inference in such models, particularly when the model is nonlinear and cannot be evaluated analytically. This paper addresses the computational challenges of parameter estimation in SSMs, introducing efficient gradient-based methods and adaptive frameworks for dynamic environments.

Introduction

State Space Models (SSMs) are a cornerstone of time-series analysis, enabling the modeling of hidden states through noisy observations. They are widely utilized in fields ranging from target tracking to financial econometrics. However, when models are nonlinear or non-Gaussian, calculating the likelihood analytically becomes impossible. While SMC methods provide a way to estimate these probabilities, performing Maximum Likelihood Estimation (MLE) requires the gradient of the log-likelihood, known as the score vector.

Existing gradient estimation techniques suffer from a critical trade-off: they either exhibit $O(N^2)$ computational complexity, which is prohibitive for large particle counts $N$, or they are prone to "particle degeneracy," where the variance of the estimate increases linearly with the time horizon, rendering them ineffective for long data sequences. This research proposes a suite of algorithms to resolve these issues.

Methodology

This research proposes three significant advancements to overcome the limitations of traditional SMC-based parameter estimation:

1. The $O(N)$ Gradient Estimator

A novel algorithm is introduced to approximate the score vector with $O(N)$ complexity. The method utilizes Kernel Density Estimation (KDE) with a shrinkage technique to "smooth" the particle distribution. By incorporating Rao-Blackwellisation, the author significantly reduces the variance of the gradient estimates. This approach maintains stability over long time horizons without the quadratic computational cost of previous stable methods.

2. Particle Metropolis-Adjusted Langevin Algorithm (pMALA)

Leveraging the new gradient estimator, the paper develops an enhanced version of the Metropolis-Adjusted Langevin Algorithm. Unlike standard Markov Chain Monte Carlo (MCMC) methods that explore parameter space via random walks, pMALA uses the estimated gradient to guide the search toward regions of high posterior probability. This informed search significantly improves the efficiency of the sampling process and reduces convergence time.

3. Adaptive Parameter Estimation (APE)

To handle non-stationary environments where system dynamics change abruptly—such as a target performing a sudden maneuver—the author integrates changepoint detection with SMC. This allows the model to detect shifts in behavior and reset its parameter learning process, preventing the filter from becoming stuck on obsolete parameter values and ensuring real-time responsiveness.

Evaluation and Results

The proposed methods were validated using simulated Linear Gaussian and Stochastic Volatility (SV) models, as well as real-world S&P 500 index data and target tracking scenarios.

  • Computational Efficiency: The $O(N)$ gradient estimator achieved accuracy comparable to $O(N^2)$ alternatives while being approximately 20 times faster in tests involving 1,000 observations. This allows for the use of significantly more particles within the same computational budget.
  • MCMC Performance: In S&P 500 data analysis (covering daily returns from 1980 to 1987), pMALA demonstrated a 25% acceptance rate, nearly doubling the 13% rate of standard particle MCMC methods. It also showed much lower inefficiency factors, indicating that the produced samples were less correlated and more representative of the posterior.
  • Tracking Accuracy: In "Coordinated-Turn" tracking simulations, the Adaptive Parameter Estimation (APE) filter outperformed the industry-standard Interacting Multiple Model (IMM) filter. By learning parameters online rather than relying on a fixed model bank, APE achieved lower Root Mean Squared Error (RMSE) in position tracking.

Discussion and Conclusion

A key insight from this research is that controlled "shrinkage" via KDE is a vital tool for stabilizing gradient estimates in long-term time series. By achieving linear scaling, these algorithms enable the use of larger particle sets, which is crucial for high-dimensional or "big data" applications like high-frequency trading. Furthermore, the success of pMALA underscores that even noisy geometric information (the gradient) is superior to no information, drastically reducing the "burn-in" time for MCMC algorithms.

While the current framework shows great promise, future work includes extending these methods to models without conjugate priors using Taylor series approximations (Extended Parameter Filters) and developing formal mathematical proofs for the $L_p$ error bounds of the KDE-based estimator.

Summary updated

BibTeX
@inproceedings{nemeth2014parameter,
  author = {Christopher Nemeth},
  title = {{Parameter estimation for state space models using sequential Monte Carlo algorithms}},
  booktitle = {Lancaster},
  year = {2014},
}
Figure