Modular Decomposition of Hierarchical Finite State Machines
Oliver Biggar, Behzad Zamani, Iman Shames

TL;DR
This paper introduces a method to decompose finite state machines into hierarchical forms using modular decomposition, enabling efficient representation and optimization of equivalent hierarchical FSMs.
Contribution
It adapts graph theory's modular decomposition to automata, defining thin modules and constructing a linear-space graph to represent all equivalent hierarchical FSMs.
Findings
Efficient $O(n^2k)$ algorithm for modular decomposition of FSMs.
Representation of all equivalent thin HFSMs via a unique directed graph.
Greedy algorithm for minimizing largest component size in HFSMs.
Abstract
Hierarchical Finite State Machines (HFSMs) are a standard software-modelling concept which extends the classical Finite State Machine (FSM) notion with the useful abstraction of hierarchical nesting. That is, an HFSM is an FSM whose states can be other FSMs. The hierarchy in HFSMs is provided at design time, and can be removed by expanding nested states, allowing HFSMs to inherit the semantics of FSMs. However, because hierarchy is a useful representation of the structure of an FSM, we would like to be able to invert this operation: given an FSM, can we compute equivalent HFSMs? This is the topic of this paper. By adapting the analogous theory of `modular decomposition' from graph theory into automata theory, we are able to compute an efficient representation of the space of equivalent HFSMs to a given one. Specifically, we first define a module of an FSM, which is a collection of nodes…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicssemigroups and automata theory · Algorithms and Data Compression · Formal Methods in Verification
