Fine-Grained Complexity of Ambiguity Problems on Automata and Directed Graphs

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Drabik, Karolina, Dürr, Anita, Frei, Fabian, Mazowiecki, Filip, Węgrzycki, Karol
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918099577470976
author Drabik, Karolina
Dürr, Anita
Frei, Fabian
Mazowiecki, Filip
Węgrzycki, Karol
author_facet Drabik, Karolina
Dürr, Anita
Frei, Fabian
Mazowiecki, Filip
Węgrzycki, Karol
contents In the field of computational logic, two classes of finite automata are considered fundamental: deterministic and nondeterministic automata (DFAs and NFAs). In a more fine-grained approach three natural intermediate classes were introduced, defined by restricting the number of accepting runs of the input NFA. The classes are called: unambiguous, finitely ambiguous, and polynomially ambiguous finite automata. It was observed that central problems, like equivalence, become tractable when the input NFA is restricted to some of these classes. This naturally brought interest into problems determining whether an input NFA belongs to the intermediate classes. Our first result is a nearly complete characterization of the fine-grained complexity of these problems. We show that the respective quadratic and cubic running times of Allauzen et al. are optimal under the Orthogonal Vectors hypothesis or the k-Cycle hypothesis, for alphabets with at least two symbols. In contrast, for unary alphabets we show that all aforementioned variants of ambiguity can be decided in almost linear time. Finally, we study determinisability of unambiguous weighted automata. We positively resolve a conjecture of Allauzen and Mohri, proving that their quadratic-time algorithm for verifying determinisability of unambiguous weighted automata is optimal, assuming the Orthogonal Vectors hypothesis or the k-Cycle hypothesis. We additionally show that for unary alphabets, this can be decided in linear time.
format Preprint
id arxiv_https___arxiv_org_abs_2501_14725
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Fine-Grained Complexity of Ambiguity Problems on Automata and Directed Graphs
Drabik, Karolina
Dürr, Anita
Frei, Fabian
Mazowiecki, Filip
Węgrzycki, Karol
Formal Languages and Automata Theory
In the field of computational logic, two classes of finite automata are considered fundamental: deterministic and nondeterministic automata (DFAs and NFAs). In a more fine-grained approach three natural intermediate classes were introduced, defined by restricting the number of accepting runs of the input NFA. The classes are called: unambiguous, finitely ambiguous, and polynomially ambiguous finite automata. It was observed that central problems, like equivalence, become tractable when the input NFA is restricted to some of these classes. This naturally brought interest into problems determining whether an input NFA belongs to the intermediate classes. Our first result is a nearly complete characterization of the fine-grained complexity of these problems. We show that the respective quadratic and cubic running times of Allauzen et al. are optimal under the Orthogonal Vectors hypothesis or the k-Cycle hypothesis, for alphabets with at least two symbols. In contrast, for unary alphabets we show that all aforementioned variants of ambiguity can be decided in almost linear time. Finally, we study determinisability of unambiguous weighted automata. We positively resolve a conjecture of Allauzen and Mohri, proving that their quadratic-time algorithm for verifying determinisability of unambiguous weighted automata is optimal, assuming the Orthogonal Vectors hypothesis or the k-Cycle hypothesis. We additionally show that for unary alphabets, this can be decided in linear time.
title Fine-Grained Complexity of Ambiguity Problems on Automata and Directed Graphs
topic Formal Languages and Automata Theory
url https://arxiv.org/abs/2501.14725