Scaling Forced Alignment to End-User Devices
Not on the map. Why?
Abstract (arXiv)
The Viterbi algorithm has been previously used to perform forced alignment of audio to text to mine training data from online resources. However, many existing implementations have quadratic time and space complexity, scaling poorly to long input sequences. We propose two optimizations to address this issue. First, we apply the Hirschberg algorithm to perform the alignment in place using linear memory. Second, we model the alignment between speech and text as a constrained random walk, allowing us to prune the search space with arbitrary confidence while accounting for transcription errors. The Hirschberg optimization reduces memory usage from 140 GB to 5 MB for three-hour inputs while producing identical alignments in one-third the time of torchaudio when both run on a CPU. We achieve an additional 2x speedup with pruning on inputs longer than 20 minutes while preserving alignment accuracy in more than 98% of tested cases.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 5 of its 18 references that are in the map. First posted on arXiv 17 Sep 2026.
Builds on
5 of 18 references.
References · 5
- 2023Scaling Speech Technology to 1,000+ Languagescited by 401
- 2021TorchAudio: Building Blocks for Audio and Speech Processingcited by 83
- 2020CTC-Segmentation of Large Corpora for German End-to-end Speech Recognitioncited by 75
- 2024Less Peaky and More Accurate CTC Forced Alignment by Label Priorscited by 12
- 2025EuroSpeech: A Multilingual Speech Corpuscited by 3
Built on by
Not cited yet.