Publication Details
Automata Size Reduction by Procedure Finding
Nondeterministic Finite Automata, Reduction, Regular Expressions, Network Intrusion Detection Systems
We introduce a novel paradigm for reducing the size of finite automata by compressing repeating sub-graphs. These repeating sub-graphs can be viewed as invocations of a single procedure. Instead of representing each invocation explicitly, they can be replaced by a single procedure that uses a small runtime memory to remember the call context. We elaborate on the technical details of a basic implementation of this idea, where the memory used by the procedures is a simple finite-state register. We propose methods for identifying repetitive sub-graphs, collapsing them into procedures, and measuring the resulting reduction in automata size. Already this basic implementation of reduction by procedure finding yields practically relevant results, particularly in the context of FPGA accelerated pattern matching, where automata size is a primary bottleneck. We achieve a size reduction of up to 70% in automata that had already been minimized using existing advanced methods.
@INPROCEEDINGS{FITPUB13501, author = "Michal \v{S}ed\'{y} and Luk\'{a}\v{s} Hol\'{i}k", title = "Automata Size Reduction by Procedure Finding", pages = "421--440", booktitle = "Proceedings of NFM'25", series = "Lecture Notes in Computer Science", journal = "Lecture Notes in Computer Science", number = 15682, year = 2025, location = "Williamsburg, US", publisher = "Springer Nature Switzerland AG", ISSN = "0302-9743", doi = "10.1007/978-3-031-93706-4\_24", language = "english", url = "https://www.fit.vut.cz/research/publication/13501" }