Lune

AAAI2026顶会

Learning DFAs from Positive Examples Only via Word Counting

Benjamin Bordais, Daniel Neider

摘要

Learning finite automata from positive examples has recently gained attention as a powerful approach for understanding, explaining, analyzing, and verifying black-box systems. The motivation for focusing solely on positive examples arises from the practical limitation that we can only observe what a system is capable of (positive examples) but not what it cannot do (negative examples). Unlike the classical problem of passive DFA learning with both positive and negative examples, which has been known to be NP-complete since the 1970s, the topic of learning DFAs exclusively from positive examples remains poorly understood. This paper introduces a novel perspective on this problem by leveraging the concept of counting the number of accepted words up to a carefully determined length. Our contributions are twofold. First, we prove that computing the minimal number of words up to this length accepted by DFAs of a given size that accept all positive examples is NP-complete, establishing that learning from positive examples alone is computationally demanding. Second, we propose a new learning algorithm with a better asymptotic runtime than the best-known bound for existing algorithms. While our experimental evaluation reveals that this algorithm under-performs state-of-the-art methods, it demonstrates significant potential as a preprocessing step to enhance existing approaches.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Learning Interpretable Temporal Properties from Positive Examples Only 引用了 Interpretable Sequence Classification via Discrete Optimization
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper2

  1. Interpretable Sequence Classification via Discrete OptimizationMaayan Shvo, Andrew C. Li, Rodrigo Toro Icarte, Sheila A. McIlraithAAAI 2021 · 29 次引用
  2. Learning Interpretable Temporal Properties from Positive Examples OnlyRajarshi Roy, Jean-Raphaël Gaglione, Nasim Baharisangari, Daniel Neider 等AAAI 2023 · 21 次引用

相关 Paper

  1. Learning Deterministic One-Counter Automata in Polynomial TimePrince Mathew, Vincent Penelle, A. V. SreejithLICS 2025 · 1 次引用
  2. DFAMiner: Mining Minimal Separating DFAs from Labelled SamplesDaniele Dell'Erba, Yong Li, Sven ScheweFM 2024 · 4 次引用
  3. An L# Based Algorithm for Active Learning of Minimal Separating AutomataJasper Laumen, Leonne Snel, Frits W. VaandragerCAV 2026
  4. NADA: Neural Acceptance-Driven Approximate Specification MiningWeilin Luo, Tingchen Han, Junming Qiu, Hai Wan 等ISSTA 2025 · 1 次引用
  5. Minimal History-Deterministic Co-Büchi Automata: Congruences and Passive LearningChristof Löding, Igor WalukiewiczLICS 2025 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖