Decoding Hidden Markov Models Faster Than Viterbi Via Online Matrix-Vector (max, +)-Multiplication
Massimo Cairo, Gabriele Farina, Romeo Rizzi

TL;DR
This paper introduces a faster decoding algorithm for time-homogeneous Hidden Markov Models by leveraging online matrix-vector $( ext{max}, +)$-multiplication, reducing the worst-case running time of the Viterbi algorithm.
Contribution
The authors develop a novel subquadratic algorithm for online matrix-vector $( ext{max}, +)$-multiplication, enabling faster MAP decoding in HMMs with minimal preprocessing.
Findings
Achieves $O(mn^2/ \log n)$ decoding time for HMMs
First subquadratic per-observation decoding algorithm for time-homogeneous HMMs
Significant speedup over classical Viterbi algorithm
Abstract
In this paper, we present a novel algorithm for the maximum a posteriori decoding (MAPD) of time-homogeneous Hidden Markov Models (HMM), improving the worst-case running time of the classical Viterbi algorithm by a logarithmic factor. In our approach, we interpret the Viterbi algorithm as a repeated computation of matrix-vector -multiplications. On time-homogeneous HMMs, this computation is online: a matrix, known in advance, has to be multiplied with several vectors revealed one at a time. Our main contribution is an algorithm solving this version of matrix-vector -multiplication in subquadratic time, by performing a polynomial preprocessing of the matrix. Employing this fast multiplication algorithm, we solve the MAPD problem in time for any time-homogeneous HMM of size and observation sequence of length , with an extra polynomial…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · DNA and Biological Computing · Machine Learning and Algorithms
