Answer Set Programming for Regular Inference
Source abstract
Abstract
We propose an approach to non-deterministic finite automaton (NFA) inductive synthesis that is based on answer set programming (ASP) solvers. To that end, we explain how an NFA and its response to input samples can be encoded as rules in a logic program. We then ask an ASP solver to find an answer set for the program, which we use to extract the automaton of the required size. We conduct a series of experiments on some benchmark sets, using the implementation of our approach. The results show that our method outperforms, in terms of CPU time, a SAT approach and other exact algorithms on all benchmarks.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Logic, Reasoning, and Knowledge · Machine Learning and Algorithms · Formal Methods in Verification
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Science and Automatics, University of Bielsko-Biala, Willowa 2, 43-309 Bielsko-Biala, Poland
Department of Algorithmics and Software, Silesian University of Technology, Akademicka 16, 44-100 Gliwice, Poland
Department of Computer Engineering, Wroclaw University of Science and Technology, Wyb. Wyspianskiego 27, 50-370 Wroclaw, Poland
Funding
National Science Center (Poland)
References (23)
Show source-provided references
1. Heinz, J., de la Higuera, C., and van Zaanen, M. (2015). Grammatical Inference for Computational Linguistics, Morgan & Claypool Publishers.10.1007/978-3-031-02159-6 ↗
2. Heinz, J., and Sempere, J. (2016). Topics in Grammatical Inference, Springer-Verlag.10.1007/978-3-662-48395-4 ↗
3. de la Higuera, C. (2010). Grammatical Inference: Learning Automata and Grammars, Cambridge University Press.10.1017/CBO9781139194655 ↗
4. Grammatical inference
5. Wieczorek, W. (2017). Grammatical Inference: Algorithms, Routines and Applications, Springer. Studies in Computational Intelligence.10.1007/978-3-319-46801-3 ↗
6. Meyer, A.R., and Stockmeyer, L.J. (1972, January 25–27). The equivalence problem for regular expressions with squaring requires exponential space. Proceedings of the 13th Annual Symposium on Switching and Automata Theory, College Park, MA, USA.10.1109/SWAT.1972.29 ↗
7. Minimal NFA problems are hard10.1137/0222067 ↗
8. Angluin, D. (1969). An Application of the Theory of Computational Complexity to the Study of Inductive Inference. [Ph.D. Thesis, University of California].
9. Complexity of automaton identification from given data10.1016/S0019-9958(78)90562-4 ↗
10. On the number of distinct languages accepted by finite automata with n states
11. Two Parallelization Schemes for the Induction of Nondeterministic Finite Automata on PCs
12. Exact DFA Identification Using SAT Solvers10.1007/978-3-642-15488-1_7 ↗
13. Coste, F., and Nicolas, J. (1997, January 12). Regular Inference as a graph coloring problem. Proceedings of the Workshop on Grammar Inference, Automata Induction, and Language Acquisition, Nashville, TN, USA.
14. Cerone, A., and Roveri, M. (2018). Finding All Minimum-Size DFA Consistent with Given Examples: SAT-Based Approach. Software Engineering and Formal Methods, Springer International Publishing.
15. Dechter, R. (2000). SAT v CSP. Principles and Practice of Constraint Programming—CP 2000, Springer.10.1007/3-540-45349-0 ↗
16. Smetsers, R., Fiterau-Brostean, P., and Vaandrager, F.W. (2018, January 9–11). Model Learning as a Satisfiability Modulo Theories Problem. Proceedings of the Language and Automata Theory and Applications—12th International Conference, Ramat Gan, Israel.10.1007/978-3-319-77313-1_14 ↗
17. Hopcroft, J.E., Motwani, R., and Ullman, J.D. (2001). Introduction to Automata Theory, Languages, and Computation, Addison-Wesley. [2nd ed.].10.1145/568438.568455 ↗
18. Baral, C. (2003). Knowledge Representation, Reasoning, and Declarative Problem Solving, Cambridge University Press.10.1017/CBO9780511543357 ↗
19. Gebser, M., Kaminski, R., Kaufmann, B., and Schaub, T. (2012). Answer Set Solving in Practice, Morgan & Claypool Publishers.10.1007/978-3-031-01561-8 ↗
20. Lifschitz, V. (2019). Answer Set Programming, Springer.10.1007/978-3-030-24658-7 ↗
21. Conflict-driven answer set solving: From theory to practice10.1016/j.artint.2012.04.001 ↗
22. Gebser, M., Kaufmann, B., and Schaub, T. (2012). Multi-threaded ASP solving with clasp. arXiv.10.1007/978-3-642-20895-9_42 ↗
23. Salkind, N.J. (2010). Encyclopedia of Research Design, SAGE Publications, Inc.10.4135/9781412961288 ↗