Viterbi Algorithm Generalized for n-Tape Best-Path Search
Andr\'e Kempe

TL;DR
This paper generalizes the Viterbi algorithm to efficiently find optimal paths in n-tape weighted finite-state machines, enabling complex transductions with improved computational complexity.
Contribution
It introduces a novel generalized Viterbi algorithm for n-tape WFSMs, expanding capabilities for multi-tape transductions and providing detailed complexity analysis.
Findings
Algorithm handles n-tape input with minimal/maximal weight paths.
Achieves worst-case time complexity of O(|s|^n |E| log (|s|^n |Q|)).
Outperforms naive intersection-based methods in efficiency.
Abstract
We present a generalization of the Viterbi algorithm for identifying the path with minimal (resp. maximal) weight in a n-tape weighted finite-state machine (n-WFSM), that accepts a given n-tuple of input strings (s_1,... s_n). It also allows us to compile the best transduction of a given input n-tuple by a weighted (n+m)-WFSM (transducer) with n input and m output tapes. Our algorithm has a worst-case time complexity of O(|s|^n |E| log (|s|^n |Q|)), where n and |s| are the number and average length of the strings in the n-tuple, and |Q| and |E| the number of states and transitions in the n-WFSM, respectively. A straight forward alternative, consisting in intersection followed by classical shortest-distance search, operates in O(|s|^n (|E|+|Q|) log (|s|^n |Q|)) time.
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 · semigroups and automata theory · Machine Learning and Algorithms
