SIEVE: A Space-Efficient Algorithm for Viterbi Decoding
Martino Ciaperoni, Aristides Gionis, Athanasios Katsamanis, Panagiotis Karras
Abstract
Can we get speech recognition tools to work on limited-memory devices? The Viterbi algorithm is a classic dynamic programming (DP) solution used to find the most likely sequence of hidden states in a Hidden Markov Model (HMM). While the algorithm finds universal application ranging from communication systems to speech recognition to bioinformatics, its scalability has been scarcely addressed, stranding it to a space complexity that grows with the number of observations.
In this paper, we propose SIEVE (Space Efficient Viterbi), a reformulation of the Viterbi algorithm that eliminates its spacecomplexity dependence on the number of observations to be explained. SIEVE discards and recomputes parts of the DP solution for the sake of space efficiency, in divide-and-conquer fashion, without incurring a time-complexity overhead. Our thorough experimental evaluation shows that SIEVE is highly effective in reducing the memory usage compared to the classic Viterbi algorithm, while avoiding the runtime overhead of a naïve space-efficient solution.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Related papers
- SIFTER: Space-Efficient Value Iteration for Finite-Horizon MDPsKonstantinos Skitsas, Ioannis G. Papageorgiou, Mohammad Sadegh Talebi, Vasiliki Kantere et al.VLDB 2023 · 3 citations
- VocabTailor: Dynamic Vocabulary Selection for Downstream Tasks in Small Language ModelsHanling Zhang, Yayu Zhou, Tongcheng Fang, Zhihang Yuan et al.ACL Findings 2026
- Sieve: Scalable In-situ DRAM-based Accelerator Designs for Massively Parallel k-mer MatchingLingxi Wu, Rasool Sharifi, Marzieh Lenjani, Kevin Skadron et al.ISCA 2021 · 31 citations
- Forward-Backward Latent State Inference for Hidden Continuous-Time semi-Markov ChainsNicolai Engelmann, Heinz KoepplNeurIPS 2022
- Algorithms for Weighted Pushdown AutomataAlexandra Butoi, Brian DuSell, Tim Vieira, Ryan Cotterell et al.EMNLP 2022 · 2 citations
