arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.04525cs.FLcs.LO
收藏

在多项式时间内学习确定性单计数器自动机

Learning Deterministic One-Counter Automata in Polynomial Time

Prince Mathew, Vincent Penelle, A. V. Sreejith

AI总结:

提出主动学习算法OL*,通过成员和最小等价查询在多项式时间内学习确定性单计数器自动机,突破了现有指数时间灰盒算法的局限,并可用于近似最小化。

摘要:

我们提出了一种针对确定性单计数器自动机(DOCAs)的主动学习算法,学习者可以向教师提出成员查询和最小等价查询。该算法名为OL*,其学习DOCA的时间复杂度与识别目标语言的最小DOCA的规模呈多项式相关。所有现有的DOCA学习算法,甚至对于确定性实时单计数器自动机(DROCAs)和可见单计数器自动机(VOCAs)这些子类,在最坏情况下,其运行时间相对于所学习的DOCA规模呈指数级。此外,以往的学习算法是“灰盒”算法,依赖于一种额外的查询类型——计数器值查询,即教师返回读取给定单词后到达的计数器值。相比之下,我们的算法是一种“黑盒”算法。已知VOCAs的最小化是NP难的。然而,OL*可用于DOCAs的近似最小化。在这种情况下,输出规模最多与最小DOCA的规模呈多项式相关。

英文摘要:

We give an active learning algorithm for deterministic one-counter automata (DOCAs) where the learner can ask the teacher membership and minimal equivalence queries. The algorithm called OL* learns a DOCA in time polynomial in the size of the smallest DOCA, recognising the target language. All existing algorithms for learning DOCAs, even for the subclasses of deterministic real-time one-counter automata (DROCAs) and visibly one-counter automata (VOCAs), in the worst case, run in exponential time with respect to the size of the DOCA under learning. Furthermore, previous learning algorithms are ``grey-box'' algorithms relying on an additional query type - counter value query - where the teacher returns the counter value reached on reading a given word. In contrast, our algorithm is a ``black-box'' algorithm. It is known that the minimisation of VOCAs is NP-hard. However, OL* can be used for approximate minimisation of DOCAs. In this case, the output size is at most polynomial in the size of a minimal DOCA.

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

↑