arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.14725cs.FL
收藏

自动机与有向图上歧义性问题的细粒度复杂度

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

Karolina Drabik, Anita Dürr, Fabian Frei, Filip Mazowiecki, Karol Węgrzycki

AI总结:

本文刻画了自动机歧义性判定问题的细粒度复杂度,证明在标准假设下现有二次/三次时间算法最优,并解决无歧义加权自动机可确定性猜想,同时给出一元字母表下的近线性或线性时间算法。

摘要:

在计算逻辑领域,两类有限自动机被视为基础:确定性和非确定性自动机(DFA 和 NFA)。在更细粒度的方法中,通过限制输入 NFA 的接受运行次数,引入了三个自然的中间类。这些类被称为:无歧义、有限歧义和多项式歧义有限自动机。人们观察到,当输入 NFA 被限制在这些类中的某些类时,诸如等价性等核心问题变得易于处理。这自然引起了人们对判定输入 NFA 是否属于这些中间类的问题的兴趣。我们的第一个结果是对这些问题的细粒度复杂度进行了近乎完整的刻画。我们证明,对于至少有两个符号的字母表,在 Orthogonal Vectors 假设或 k-Cycle 假设下,Allauzen 等人相应的二次和三次运行时间是最优的。相比之下,对于一元字母表,我们证明上述所有歧义性变体都可以在几乎线性时间内判定。最后,我们研究无歧义加权自动机的可确定性。我们正面解决了 Allauzen 和 Mohri 的一个猜想,证明在 Orthogonal Vectors 假设或 k-Cycle 假设下,他们用于验证无歧义加权自动机可确定性的二次时间算法是最优的。我们还证明,对于一元字母表,这可以在线性时间内判定。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑