{"title":"DFAMiner: Mining minimal separating DFAs from labelled samples","authors":"Daniele Dell'Erba, Yong Li, Sven Schewe","doi":"arxiv-2405.18871","DOIUrl":null,"url":null,"abstract":"We propose DFAMiner, a passive learning tool for learning minimal separating\ndeterministic finite automata (DFA) from a set of labelled samples. Separating\nautomata are an interesting class of automata that occurs generally in regular\nmodel checking and has raised interest in foundational questions of parity game\nsolving. We first propose a simple and linear-time algorithm that incrementally\nconstructs a three-valued DFA (3DFA) from a set of labelled samples given in\nthe usual lexicographical order. This 3DFA has accepting and rejecting states\nas well as don't-care states, so that it can exactly recognise the labelled\nexamples. We then apply our tool to mining a minimal separating DFA for the\nlabelled samples by minimising the constructed automata via a reduction to\nsolving SAT problems. Empirical evaluation shows that our tool outperforms\ncurrent state-of-the-art tools significantly on standard benchmarks for\nlearning minimal separating DFAs from samples. Progress in the efficient\nconstruction of separating DFAs can also lead to finding the lower bound of\nparity game solving, where we show that DFAMiner can create optimal separating\nautomata for simple languages with up to 7 colours. Future improvements might\noffer inroads to better data structures.","PeriodicalId":501124,"journal":{"name":"arXiv - CS - Formal Languages and Automata Theory","volume":"4 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-05-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Formal Languages and Automata Theory","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2405.18871","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
We propose DFAMiner, a passive learning tool for learning minimal separating
deterministic finite automata (DFA) from a set of labelled samples. Separating
automata are an interesting class of automata that occurs generally in regular
model checking and has raised interest in foundational questions of parity game
solving. We first propose a simple and linear-time algorithm that incrementally
constructs a three-valued DFA (3DFA) from a set of labelled samples given in
the usual lexicographical order. This 3DFA has accepting and rejecting states
as well as don't-care states, so that it can exactly recognise the labelled
examples. We then apply our tool to mining a minimal separating DFA for the
labelled samples by minimising the constructed automata via a reduction to
solving SAT problems. Empirical evaluation shows that our tool outperforms
current state-of-the-art tools significantly on standard benchmarks for
learning minimal separating DFAs from samples. Progress in the efficient
construction of separating DFAs can also lead to finding the lower bound of
parity game solving, where we show that DFAMiner can create optimal separating
automata for simple languages with up to 7 colours. Future improvements might
offer inroads to better data structures.