arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.22761cs.FL
收藏

确定性后缀读取自动机

Deterministic Suffix-reading Automata

R Keerthan, B Srivathsan, R Venkatesh, Sagar Verma

AI总结:

该研究提出确定性后缀读取自动机(DSA)模型,以总规模为度量标准,给出DSA与DFA的转换方法,发现从规范DFA推导的最小DSA未必是语言的最小DSA,并证明判定给定总规模的等价DSA是否存在的问题是NP完全的。

摘要:

我们提出了确定性后缀读取自动机(DSA),这是一种定义在有限字上的新型自动机模型。DSA的转移以字作为标记,处于某一状态时,DSA在读取到以该转移标记结尾的字时触发出边转移。因此,DSA无需沿着输入字逐字符移动,而是可以沿字符块跳转,每个字符块都以合适的后缀结尾。与确定有限自动机(DFA)相比,这一特性使DSA能够更简洁地识别正则语言。本研究聚焦于为正则语言寻找“最小”DSA的相关问题。由于转移标记包含任意长度的字符串,状态数无法准确衡量DSA的规模,因此我们将总规模(状态数+边数+转移标记总长度)作为DSA的规模度量标准。\n我们首先对该模型进行了形式化定义,并给出了DSA到DFA的转换方法,用以比较DSA与相关自动机模型的表达能力和简洁性。我们的核心技术贡献是提出一种从给定DFA推导DSA的方法,即DFA到DSA的转换。我们得到了一个出人意料的发现:从正则语言L的规范DFA推导得到的最小DSA,不一定是L的最小DSA。这一发现构成了推导正则语言最小DSA的根本瓶颈。事实上,我们证明了给定一个DFA和数值k,判断是否存在总规模不超过k的等价DSA这一问题是NP完全的。

英文摘要:

We introduce deterministic suffix-reading automata (DSA), a new automaton model over finite words. Transitions in a DSA are labeled with words. From a state, a DSA triggers an outgoing transition on seeing a word ending with the transition's label. Therefore, rather than moving along an input word letter by letter, a DSA can jump along blocks of letters, with each block ending in a suitable suffix. This feature allows DSAs to recognize regular languages more concisely, compared to DFAs. In this work, we focus on questions around finding a "minimal" DSA for a regular language. The number of states is not a faithful measure of the size of a DSA, since the transition-labels contain strings of arbitrary length. Hence, we consider total-size (number of states + number of edges + total length of transition-labels) as the size measure of DSAs. We start by formally defining the model and providing a DSA-to-DFA conversion that allows to compare the expressiveness and succinctness of DSA with related automata models. Our main technical contribution is a method to derive DSAs from a given DFA: a DFA-to-DSA conversion. We make a surprising observation that the smallest DSA derived from the canonical DFA of a regular language L need not be a minimal DSA for L. This observation leads to a fundamental bottleneck in deriving a minimal DSA for a regular language. In fact, we prove that given a DFA and a number k, the problem of deciding if there exists an equivalent DSA of total-size at most k is NP-complete.

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

↑