Robust models to infer flexible nondeterministic finite automata

Tomasz Jastrzab,Frédéric Lardeux,Eric Monfroy
DOI: https://doi.org/10.1016/j.jocs.2024.102309
IF: 3.817
2024-05-01
Journal of Computational Science
Abstract:Grammatical inference involves learning a formal grammar as a finite state machine or a set of rewrite rules. This paper focuses on inferring nondeterministic finite automata (NFA) from a given sample of words: the NFA must accept some words, and reject the others. To address this task we construct several over-constrained inference models capable of finding NFA of size k+1 , which are directly convertible to NFA of size k . Additionally, we propose an NFA evaluation method based on random walks along with two methods used to enhance the acceptance rates of the inferred NFA. The effectiveness of our approach is demonstrated through the results of comprehensive experiments conducted on several benchmark sets. This paper is an extended version of the ICCS 2023 paper entitled "Inference of over-constrained NFA of size k+1 to efficiently and systematically derive NFA of size k for grammar learning" (Jastrzab et al., 2023 [1] ).
computer science, theory & methods, interdisciplinary applications
What problem does this paper attempt to address?