Taking advantage of a very simple property to efficiently infer NFAs

03/16/2023
by   Tomasz Jastrzab, et al.
0

Grammatical inference consists in learning a formal grammar as a finite state machine or as a set of rewrite rules. In this paper, we are concerned with inferring Nondeterministic Finite Automata (NFA) that must accept some words, and reject some other words from a given sample. This problem can naturally be modeled in SAT. The standard model being enormous, some models based on prefixes, suffixes, and hybrids were designed to generate smaller SAT instances. There is a very simple and obvious property that says: if there is an NFA of size k for a given sample, there is also an NFA of size k+1. We first strengthen this property by adding some characteristics to the NFA of size k+1. Hence, we can use this property to tighten the bounds of the size of the minimal NFA for a given sample. We then propose simplified and refined models for NFA of size k+1 that are smaller than the initial models for NFA of size k. We also propose a reduction algorithm to build an NFA of size k from a specific NFA of size k+1. Finally, we validate our proposition with some experimentation that shows the efficiency of our approach.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/13/2021

GA and ILS for optimizing the size of NFA models

Grammatical inference consists in learning a formal grammar (as a set of...
research
07/13/2021

Improved SAT models for NFA learning

Grammatical inference is concerned with the study of algorithms for lear...
research
11/04/2021

Small model property reflects in games and automata

Small model property is an important property that implies decidability....
research
06/17/2023

Co-Certificate Learning with SAT Modulo Symmetries

We present a new SAT-based method for generating all graphs up to isomor...
research
02/09/2014

Revisiting the Learned Clauses Database Reduction Strategies

In this paper, we revisit an important issue of CDCL-based SAT solvers, ...
research
02/19/2021

SAT-based Circuit Local Improvement

Finding exact circuit size is a notorious optimization problem in practi...

Please sign up or login with your details

Forgot password? Click here to reset