Scholion.ai

Variational Bayesian analysis of nonhomogeneous hidden Markov models with long and ultralong sequences

Xinyuan Chen, Yiwei Li, Xiangnan Feng, Joseph T. Chang

The Annals of Applied Statistics · 2023 · Volume 17 · Issue 2

DOI: 10.1214/22-AOAS1685

Abstract

Nonhomogeneous hidden Markov models (NHMMs) are useful in modeling sequential and autocorrelated data. Bayesian approaches, particularly Markov chain Monte Carlo (MCMC) methods, are principal statistical inference tools for NHMMs. However, MCMC sampling is computationally demanding, especially for long observation sequences. We develop a variational Bayes (VB) method for NHMMs, which utilizes a structured variational family of Gaussian distributions with factorized covariance matrices to approximate target posteriors, combining a forward-backward algorithm and stochastic gradient ascent in estimation. To improve efficiency and handle ultralong sequences, we further propose a subsequence VB (SVB) method that works on subsamples. The SVB method exploits the memory decay property of NHMMs and uses buffers to control for bias caused by breaking sequential dependence from subsampling. We highlight that the local nonhomogeneity of NHMMs substantially affects the required buffer lengths and propose the use of local Lyapunov exponents that characterize local memory decay rates of NHMMs and adaptively determine buffer lengths. Our methods are validated in simulation studies and in modeling ultralong sequences of customers’ telecom records to uncover the relationship between their mobile Internet usage behaviors and conventional telecommunication behaviors.

Keywords

local Lyapunov exponents, mobile Internet usage, Nonhomogeneous hidden Markov model, variational Bayesian inference

Enable JavaScript for citation tools and additional paper interactions.