Stochastic Gradient MCMC for State Space Models

Christopher Aicher, Yi-An Ma, Nicholas J. Foti, Emily B. Fox
10/22/2018
stat.MLcs.LGstat.CO

Official code: aicherc/sgmcmc_ssm_code (16 stars, Python, MIT, last commit 2021-04-21).

Abstract

State space models (SSMs) are a flexible approach to modeling complex time series. However, inference in SSMs is often computationally prohibitive for long time series.

Show full abstract

Stochastic gradient MCMC (SGMCMC) is a popular method for scalable Bayesian inference for large independent data. Unfortunately when applied to dependent data, such as in SSMs, SGMCMC's stochastic gradient estimates are biased as they break crucial temporal dependencies. To alleviate this, we propose stochastic gradient estimators that control this bias by performing additional computation in a `buffer' to reduce breaking dependencies. Furthermore, we derive error bounds for this bias and show a geometric decay under mild conditions. Using these estimators, we develop novel SGMCMC samplers for discrete, continuous and mixed-type SSMs with analytic message passing. Our experiments on real and synthetic data demonstrate the effectiveness of our SGMCMC algorithms compared to batch MCMC, allowing us to scale inference to long time series with millions of time points.

View on arXivView PDF

Code Implementations(1)

MIT

Python code for SGMCMC for Time Series SSMs

167PythonSep 25, 20185 years agoMIT

Similar Papers

Cite this paper

@article{aicher2018stochastic,
  title  = {Stochastic Gradient MCMC for State Space Models},
  author = {Christopher Aicher and Yi-An Ma and Nicholas J. Foti and Emily B. Fox},
  year   = {2018},
  eprint = {1810.09098},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.09098}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1810.09098.svg)](https://codeofpaper.com/paper/1810.09098)

Discussion