TY - JOUR
T1 - General algorithms for testing the ambiguity of finite automata and the double-tape ambiguity of finite-state transducers
AU - Allauzen, Cyril
AU - Mohri, Mehryar
AU - Rastogi, Ashish
N1 - Funding Information:
∗Research done at the Courant Institute, partially supported by the New York State Office of Science Technology and Academic Research (NYSTAR).
Copyright:
Copyright 2011 Elsevier B.V., All rights reserved.
PY - 2011/6
Y1 - 2011/6
N2 - We present efficient algorithms for testing the finite, polynomial, and exponential ambiguity of finite automata with ε-transitions. We give an algorithm for testing the exponential ambiguity of an automaton A in time O(|A|E2), and finite or polynomial ambiguity in time O(|A|E3), where |A|E denotes the number of transitions of A. These complexities significantly improve over the previous best complexities given for the same problem. Furthermore, the algorithms presented are simple and based on a general algorithm for the composition or intersection of automata. Additionally, we give an algorithm to determine in time O(|A|E3) the degree of polynomial ambiguity of a polynomially ambiguous automaton A and present an application of our algorithms to an approximate computation of the entropy of a probabilistic automaton. We also study the double-tape ambiguity of finite-state transducers. We show that the general problem is undecidable and that it is NP-hard for acyclic transducers. We present a specific analysis of the double-tape ambiguity of transducers with bounded delay. In particular, we give a characterization of double-tape ambiguity for synchronized transducers with zero delay that can be tested in quadratic time and give an algorithm for testing the double-tape ambiguity of transducers with bounded delay.
AB - We present efficient algorithms for testing the finite, polynomial, and exponential ambiguity of finite automata with ε-transitions. We give an algorithm for testing the exponential ambiguity of an automaton A in time O(|A|E2), and finite or polynomial ambiguity in time O(|A|E3), where |A|E denotes the number of transitions of A. These complexities significantly improve over the previous best complexities given for the same problem. Furthermore, the algorithms presented are simple and based on a general algorithm for the composition or intersection of automata. Additionally, we give an algorithm to determine in time O(|A|E3) the degree of polynomial ambiguity of a polynomially ambiguous automaton A and present an application of our algorithms to an approximate computation of the entropy of a probabilistic automaton. We also study the double-tape ambiguity of finite-state transducers. We show that the general problem is undecidable and that it is NP-hard for acyclic transducers. We present a specific analysis of the double-tape ambiguity of transducers with bounded delay. In particular, we give a characterization of double-tape ambiguity for synchronized transducers with zero delay that can be tested in quadratic time and give an algorithm for testing the double-tape ambiguity of transducers with bounded delay.
UR - http://www.scopus.com/inward/record.url?scp=79958815145&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=79958815145&partnerID=8YFLogxK
U2 - 10.1142/S0129054111008477
DO - 10.1142/S0129054111008477
M3 - Article
AN - SCOPUS:79958815145
SN - 0129-0541
VL - 22
SP - 883
EP - 904
JO - International Journal of Foundations of Computer Science
JF - International Journal of Foundations of Computer Science
IS - 4
ER -