Quick Adaptive Ternary Segmentation: An Efficient Decoding Procedure For Hidden Markov Models

05/29/2023
by   Alexandre Mösching, et al.
0

Hidden Markov models (HMMs) are characterized by an unobservable (hidden) Markov chain and an observable process, which is a noisy version of the hidden chain. Decoding the original signal (i.e., hidden chain) from the noisy observations is one of the main goals in nearly all HMM based data analyses. Existing decoding algorithms such as the Viterbi algorithm have computational complexity at best linear in the length of the observed sequence, and sub-quadratic in the size of the state space of the Markov chain. We present Quick Adaptive Ternary Segmentation (QATS), a divide-and-conquer procedure which decodes the hidden sequence in polylogarithmic computational complexity in the length of the sequence, and cubic in the size of the state space, hence particularly suited for large scale HMMs with relatively few states. The procedure also suggests an effective way of data storage as specific cumulative sums. In essence, the estimated sequence of states sequentially maximizes local likelihood scores among all local paths with at most three segments. The maximization is performed only approximately using an adaptive search procedure. The resulting sequence is admissible in the sense that all transitions occur with positive probability. To complement formal results justifying our approach, we present Monte-Carlo simulations which demonstrate the speedups provided by QATS in comparison to Viterbi, along with a precision analysis of the returned sequences. An implementation of QATS in C++ is provided in the R-package QATS and is available from GitHub.

READ FULL TEXT
research
08/12/2022

Markov Observation Models

Herein, the Hidden Markov Model is expanded to allow for Markov chain ob...
research
10/05/2012

An efficient algorithm for estimating state sequences in imprecise hidden Markov models

We present an efficient exact algorithm for estimating state sequences f...
research
03/08/2022

Online Target Localization using Adaptive Belief Propagation in the HMM Framework

This paper proposes a novel adaptive sample space-based Viterbi algorith...
research
03/20/2022

Hybrid classifiers of pairwise Markov models

The article studies segmentation problem (also known as classification p...
research
05/15/2013

Hierarchically-coupled hidden Markov models for learning kinetic rates from single-molecule data

We address the problem of analyzing sets of noisy time-varying signals t...
research
10/03/2018

Algorithmic Polarization for Hidden Markov Models

Using a mild variant of polar codes we design linear compression schemes...
research
05/25/2021

Efficient Bayesian model selection for coupled hidden Markov models with application to infectious diseases

Performing model selection for coupled hidden Markov models (CHMMs) is h...

Please sign up or login with your details

Forgot password? Click here to reset