Manuscript Offprint
arXiv:2610.31273Hardness and Approximation for Compressing Deterministic Finite Automata
Abstract
The delayed deterministic finite automaton (D²FA) is a powerful tool for compressing the prohibitively large deterministic finite automata (DFAs) used in modern signature-based deep packet inspection systems. A D²FA augments a DFA with unlabeled default transitions to remove transitions that are similar. This technique works well in practice and has inspired numerous subsequent studies. However, existing approaches do not guarantee a D²FA of optimal size as they restrict the default transitions to form a forest.
In this paper, we consider the problem of finding an optimal . We make the key observation that cycles of default transitions can be valid and produce a smaller , provided that for every character in the alphabet, at least one state in the cycle has an outgoing transition labeled by that character. This observation raises fundamental questions concerning the computational complexity of finding an optimal and the approximation guarantee of the standard (forest-restricted) approach.
We answer both questions by showing that it is NP-hard to find an optimal and by proving that the standard approach provides a 3/2-approximation to the optimum. To establish NP-hardness, we construct a reduction from set cover using a DFA with gadgets where valid default transition choices correspond to selecting sets. To prove our approximation ratio, we compare the cycles in an optimal solution to a variant where the default transitions form a forest. Finally, we demonstrate that this 3/2 ratio is tight via a constructed family of DFAs.
1 Introduction
Signature-based deep packet inspection is a fundamental technique in modern network-security applications for identifying malicious content, sensitive information, and security-policy violations in network traffic. This technique relies on a collection of predefined patterns, represented as regular expressions, that are matched against an input (or data stream). The natural approach to this pattern matching is to use the deterministic finite automaton (DFA) to represent the patterns and then simulate it over the input. This DFA-based approach to matching is used in the Snort [23], Zeek [21], and Suricata [24] intrusion detection systems (see also snort.org, zeek.org, and suricata.io). A DFA consists of states and labeled transitions between states. Every state has an outgoing transition for each character in an alphabet.
Unfortunately, DFAs for the collections of regular expressions used in modern intrusion detection systems are prohibitively large and not feasible for practical implementation. To overcome the space issue, significant work has been done on compressing DFAs [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,19,20,22,25]. One elegant and powerful approach is the delayed deterministic finite automaton (D²FA) introduced by Kumar, Dharmapurikar, Yu, Crowley, and Turner [13] and applied in many subsequent works [4,6,7,11,14,15,16,17,18,19,20]. Although this approach performs remarkably well in practice, we still know very little about its theoretical properties and performance guarantees.
The key idea behind the is to leverage the observation that many states in the DFAs for real-world regular expression collections have similar sets of outgoing transitions [13]. Specifically, a is a DFA where each state can additionally have an outgoing unlabeled transition, called a default transition. A default transition from state u to state v can reduce the number of transitions in a if u and v have a set of transitions with matching labels and target states. In this case, we can remove these transitions from u and look for them at v after following the default transition. Finding a transition with the desired label may require following a chain of default transitions, thus incurring a delay (as the name suggests). Two over the same set of states are equivalent if, starting from any given state and reading any character, both automata reach the same next state. Likewise, a and a DFA are equivalent if they satisfy this same condition. The size of a (or DFA) is the number of transitions and default transitions (where a DFA has zero default transitions). Among all equivalent , those of minimum size are considered optimal. The compression problem asks for an optimal (i.e. minimum-size) equivalent to a given input DFA.
To address the compression problem, previous work uses a weighted complete graph over the DFA states, known as the space reduction graph (SRG). In this graph, each edge represents a candidate default transition and is weighted by the number of transitions that can be removed after adding this candidate. Existing algorithms compute a maximum spanning forest on the SRG and use the corresponding default transitions to compress the input DFA. We refer to any that maximizes size reduction under this forest constraint as an MSF compression.
We highlight the important observation that the default transitions of a need not be restricted to form a forest. In fact, cycles of default transitions are completely valid as long as, for every character in the alphabet, at least one state in each cycle has an outgoing transition labeled by that character. As demonstrated in Figure 1, lifting the forest restriction allows us to construct an optimal that is smaller than the MSF compression. This observation gives rise to two natural questions:
• What is the complexity of computing an optimal ?
• How far from the optimal is the MSF compression?
Our contributions. In this paper, we answer both of these questions. We establish that computing an optimal is NP-hard via a polynomial-time reduction from the set cover problem, and we prove that the MSF compression approach is a 3/2-approximation to the problem. Formally, our main results are as follows:
Theorem 1. The compression problem is NP-hard.
Theorem 2. The MSF compression is a 3/2-approximation for the compression problem, and this ratio is tight.
Techniques. As every state in a has at most one outgoing default transition, the default transitions of an unrestricted form a pseudoforest (a graph where each connected component contains at most one cycle). This structural property might intuitively suggest that an optimal can be obtained by simply augmenting an MSF compression with additional default transitions. However, not every cycle of default transitions is valid. Specifically, cycles of default transitions are only valid when, for every character in the alphabet, at least one state in the cycle has an outgoing transition labeled by that character. Thus, adding the default transition that completes a cycle of default transitions may not allow for the removal of as many transitions as expected. Because of this, the optimal placement of default transitions may differ completely from the placement in the MSF compression if it allows for better cycles of default transitions.
To capture this difficulty, we design a polynomial-time reduction from the set cover problem. The core challenge is to construct an input DFA such that any equivalent optimal directly corresponds to a solution to this set cover instance. We achieve this by creating a DFA with as many gadgets as the number of sets allowed in the set cover instance. We design these gadgets such that the choice of default transitions within a gadget corresponds to the choice of a set in the set cover instance. The key difficulty in the reduction is to ensure that the default transitions of any optimal form a cycle going through the gadgets. By carefully placing additional transitions in the input DFA, we guarantee that maximal size reduction is attained if and only if the default transitions form a cycle that encodes a valid set cover. For a no-instance of set cover, the default transitions may look completely different. However, in this case they allow for less reduction in size. As a result, we prove that it is at least as difficult to solve the compression problem as the set cover problem, thereby classifying it as NP-hard.

Figure 1: (Left) A DFA for the regular expression (C|E|A(A|E|CE*(A|C)))*, where A=(a|b), C=(c|d), and E=(e|f) are colored blue, yellow, and red, respectively. (Middle) An equivalent MSF compression. (Right) A minimum equivalent D²FA. This example shows that the optimal D²FA might have cycles. In this case, the optimum has a reduction of 1 transition compared to the MSF compression.
Having established the intractability of the general problem, we next analyze the approximation guarantee of the MSF compression relative to an optimal unrestricted D²FA. However, as we discussed, the configuration of default transitions in the two D²FAs can differ substantially, complicating any direct comparison. Instead, we consider an intermediate forest-restricted D²FA derived from the optimal D²FA. Because the MSF compression is optimal over all forest-restricted D²FAs, the size of this intermediate D²FA provides an upper bound on the size of the MSF compression.
Although the default transitions of an optimal may form multiple connected components, we bound the approximation ratio by analyzing the single component where the intermediate performs worst relative to the optimum. For this component, we can characterize its structure and which transitions can be removed by default transitions. Bounding the approximation ratio on this worst-case component yields an upper bound of 3/2 for the intermediate , thereby establishing a 3/2-approximation ratio for the MSF compression.
Finally, to prove that this bound is tight, we construct a family of DFAs for which the optimal features a cycle of default transitions and two transitions for each character in the alphabet. For this family, the size of the MSF compression approaches 3/2 times the optimum.
Outline. We present the problem and the corresponding prerequisites in Section 2 and Section 3. We prove Theorem 1 in Section 4 and Theorem 2 in Section 5.
, where is the set of states, is the set of transitions, is the alphabet, is the start state, and is the set of accepting states.
We say that the 3-tuple is a transition from state to target state with label . Each DFA has a corresponding transition function, , where if and only if . We assume that each state in has exactly one outgoing transition for every character in , ensuring that the transition function is defined on all inputs. The size of a DFA is the number of transitions.
3 Delayed Deterministic Finite Automata
A delayed deterministic finite automaton (D²FA) is a DFA that is augmented with unlabeled default transitions. Formally, a D²FA is a 6-tuple , where , and are defined exactly as in a standard DFA. The set contains transitions defined as in the standard DFA except that a state need not have an outgoing transition for every character in . The final component is a set of default transitions. The default transitions are unlabeled and each state has at most one outgoing default transition. Each state must have a transition for every character in or a default transition to a different state. The transition function is defined recursively as:
We require that is well-defined, that is ends in a unique state for every and . This implies that a has the following property:
Default cycle property. Any cycle of default transitions has at least one outgoing transition for every character in . That is, for every character there is a transition , where is a state in the cycle.
We say that two D²FAs and are equivalent if and for all and . The size of a D²FA is the number of transitions and default transitions, . A D²FA is minimum if there is no equivalent D²FA of smaller size.
The D²FA is a generalization of the DFA, and every DFA has a natural corresponding D²FA where the set of default transitions is empty. We say that a D²FA is equivalent with the DFA if it is equivalent with the corresponding D²FA .
Given a DFA, the compression problem is to compute an equivalent minimum .
Default transition graph. The default transition graph (DTG) of a D²FA is the directed subgraph containing the states and the default transitions.
Since each state in a default transition graph has at most one outgoing edge, any default transition graph is a directed pseudo-forest, that is, every weakly connected component contains at most one directed cycle. A cycle in the DTG is referred to as a default cycle in the D FA. We prove the following property.
Lemma 1. All default cycles in a minimum has length at least 3.
Proof. Let be a minimum . Assume for the sake of contradiction that has a default cycle of length one . It follows from the default cycle property that has an outgoing transition for every character in . Hence, removing the self-loop does not change the transition function and thus is not minimum. Assume now that has a default cycle of length two consisting of the default transitions and . Let be a character for which does not have a transition. By the default cycle property has a transition . We add the transition and delete the transition . We do this for every such character . We then delete the default transition . This produces an equivalent with one fewer edge. Thus is not minimum.
4 NP-Hardness of the D FA Compression Problem
In this section, we prove Theorem 1. That is, we prove that the D²FA compression problem is NP-hard by a reduction from the set cover problem. An instance of the set cover problem consists of a tuple , where is a universe of elements, is a collection of subsets of , and is a threshold. The problem is to determine whether there exists a subset of size at most that covers the universe (i.e., ).
4.1 Construction of
Given an instance of set cover , we construct a DFA such that solving the D²FA compression problem on allows us to determine if a set cover of size at most exists. The DFA for an instance of set cover with is visualized in Figure 2.
The alphabet of . The alphabet is defined as , where is a set of control characters defined as follows. For each , we define the character sets
The set of control characters is
C=\{\}\\}\cup\left(\bigcup_{j=1}^{m}C_{j}^{\mathrm{i n}}\right)\cup\left(\bigcup_{j=1}^{m}C_{j}^{\mathrm{o u t}}\right),where |\Sigma|=u+1+2m+2\sum_{j=1}^{m}|S_j|$.
The states of . The DFA contains one central sink state , along with identical structures we call gadgets, denoted for . Each gadget contains states, labeled for . The states are the set-states and the states and are the boundary-states. We ignore which states are start and accepting states, as these do not influence the reductions.
The transitions of . The transitions of are categorized into four types, denoted by the colors blue, red, pink, and gray. Let and . For each gadget , the transitions of are defined as follows.
Blue transitions: For each , we add a blue transition from to the sink state for every character in .
Red transitions: We have red transitions inside each gadget (internal) and between gadgets (external). These transitions are:
-
Internal: For each , we add a red transition from to for every character in , and a red transition from to for every character in .
-
External: Add a red transition to the next gadget, from state to state with label \(withconnecting back to).$
Pink transitions: For every red transition , add a pink self-loop .
Gray transitions: To ensure is a complete DFA, we add the following remaining transitions:
- For every state , we add a gray self-loop at v for any character in that does not already have a transition from v.
• For every character in U, we add a gray transition from t to .
• For every character in C, we add a gray self-loop at t.
Note that there is a blue transition from and to t for every character in U, since . Also note that only has incoming red transitions from distinct states.
Since is completely specified with states, it has transitions.
4.2 Properties of and an Equivalent
We say that two states in a DFA (or similarly for a ) agree on a character if , i.e., their transitions with label have the same target state. If a state has an outgoing default transition but no outgoing transition with label , we say that the transition for at is replaced by the default transition.
The following describes how adding default transitions to can (or cannot) replace transitions.

Figure 2: An illustration of the states and transitions in . The characters (or sets of characters) corresponding to each (non-gray) transition is visible in the zoomed view on the right. The remaining characters outgoing from each state corresponds to gray edges. We use the notation .
Lemma 2. In a equivalent to , a default transition entering or leaving the sink state t replaces no transitions.
Proof. To show that a default transition with as an endpoint cannot replace any transitions, we must prove that does not agree with any other state on any character. We analyze this in two parts based on the alphabet partition :
Agreement on : Every outgoing transition from labeled with a character has target state . However, has a blue transition to for every character in . Also, no other state has transitions labeled by with target state . Therefore, the sink state has unique transitions for every character in .
Agreement on : Every outgoing transition from labeled with a character is a self-loop. Because only has incoming transitions from other states labeled with characters from the universe , no other state can agree with on a character in .
Consequently, t does not agree with any other state on any character.
Corollary 2.1. A minimum equivalent to contains no default transitions incident to the sink state t.
Lemma 3. In a equivalent to , no gray transition can be replaced by a default transition.
Proof. By Lemma 2, any default transition incident to the sink state replaces no transitions; hence, it suffices to consider default transitions between non-sink-states. Assume for the sake of contradiction that a gray transition from a non-sink-state with label is replaced by a default transition to another non-sink-state .
All gray transitions from non-sink-states form self-loops. Thus for the default transition to replace the gray transition, must have . All transitions between distinct non-sink-states are red transitions, so the transition is red. Furthermore, the target state of every red transition has a pink self-loop with matching label. Thus, has a pink self-loop with label c, contradicting the assumption that the transition from with label c is gray.
Lemma 4. Two distinct states in agree on exactly characters if there exists a red transition between them. Otherwise, they agree on at most u characters.
Proof. By Lemma 2, we can restrict our focus to pairs of distinct non-sink-states. Let and be two distinct non-sink-states. By Lemma 3, two states can only agree on characters where the corresponding two transitions (one from each state) are colored blue, red, or pink. We analyze each of the six possible color combinations of the two transitions. We first prove that for four of these combinations the two states cannot agree on any character.
Red-Red: Only the out-boundary-state of each gadget receives incoming red transitions from multiple states. Thus, two distinct states and can only have the same target state via red transitions if they belong to the same gadget ( ) with distinct set indices . However, this implies that their red transitions are labeled by the distinct sets and .
Pink-Pink: Pink transitions are self-loops, so for any character .
Blue-Red and Blue-Pink: All blue transitions have t as target state, whereas no red or pink transitions have the t as target state.
This leaves only blue-blue and red-pink combinations.
Blue-Blue: All blue transitions have target state . The number of characters on which and agree from blue transitions is given by .
Red-Pink: There are two cases based on the presence of a red transition between the two states:
Case 1: A red transition exists between and . By construction, pink transitions ensure that and agree on all characters used to label red transitions between them. Red transitions only occur in three configurations: (i) from to a set-state with labels ; (ii) from a set-state to with labels ; and (iii) from to with label \. The sizes of these sets are , , and 1, respectively. This is equal to characters in all cases as either or (or both) are boundary states with .
Case 2: No red transition exists between and . Because pink transitions are always self-loops, the red transitions cannot have the same target state as the pink transitions. So in this case, and do not agree on any characters from red and pink transitions.
Therefore, if a red transition connects the two states, they agree on exactly characters. Conversely, if no red transition connects them, their agreement is based only on the blue-blue combination, which is at most characters.
4.3 Correctness of the Reduction
We now prove the following lemma from which the correctness of the reduction from set cover follows:
Lemma 5. The set cover instance has a set cover of size at most if and only if there exists a equivalent to of size at most .
Proof ( direction). Suppose that is a yes-instance of the set cover problem. Then there exists an index sequence such that the subcollection covers . We construct a from by adding a set of default transitions and removing all transitions that can be replaced by . Specifically, for each gadget , we modify the transitions as follows:
(i) Boundary-to-set: Add a default transition and remove the transitions labeled by characters from or from .
(ii) Set-to-boundary: For each , add a default transition and remove the transitions labeled by characters from or from .
(iii) Inter-gadget: Add a default transition to the next gadget and remove the transitions labeled by characters from U or .
Note that only the boundary-to-set default transitions depend on the index sequence Z. Furthermore, while set-to-boundary default transitions replace all blue transitions from every set-state, each retains its blue transitions labeled by .
For each of the gadgets, we have one boundary-to-set, set-to-boundary, and one inter-gadget default transitions for a total of default transitions. We add default transitions only between states that have a red transition between them, allowing each default transition to replace transitions (Lemma 4). Thus, the number of replaced transitions is . Accounting for the addition of the default transitions, the total size of is
which matches the desired size.
Next, we show that is well-defined (uniquely determines a state on every input) and that . Since has a well-defined transition function, and we only remove transitions that can be replaced by F, it suffices to show that satisfies the default cycle property. By construction, contains exactly one default cycle , traversing the states
See Figure 3 for an illustration.
Assume for the sake of contradiction that there exists some character such that the transitions labeled have been replaced at every state along . Consequently, all states in must agree on (have the same target state). The shared target state must be the sink-state , as this is the only state with incoming transitions from every gadget. Because all transitions with target state are labeled by characters from , it follows that .
While all boundary-states have a transition to for every character in , each set-state has transitions to only for characters in . Since every state in agrees on , we must have for all . This implies that for all , contradicting the assumption that covers . Therefore, no such character exists.
Hence, is a valid D²FA equivalent to with a size reduction of .
Proof ( direction). Suppose has an equivalent with a size reduction of at least . By Lemma 4, each default transition replaces at most transitions, giving a reduction of at most . Achieving a reduction of thus requires at least default transitions.
Because has no incident default transitions (Corollary 2.1), each of the non-sink-states must have exactly one outgoing default transition in , each replacing transitions. It follows from Lemma 4 that each such default transition connects states that have a red transition between them.
Since we have default transitions between states (and an out-degree of 1), contains at least one default cycle . By Lemma 1, has length at least 3. Because the default transitions follow red transitions, and any path composed solely of boundary-states has length at most 2, must contain at least one set-state. Let be the index sequence such that contains the sequence of set-states . We collect these indices into the subcollection . We claim that is a valid set cover for of size at most .
First, to see that , recall that default transitions achieving maximal savings are between states that have a red transition between them (between a set-state and a boundary-state within the same gadget, or between boundary-states of adjacent gadgets ). Consequently, if contains two set-states from the same gadget, it must form a 4-cycle confined entirely to that gadget, in which case (since ). Otherwise, visits at most one set-state per gadget, so .
Second, we show that covers . Assume for contradiction that some element is not covered by . Then for all set-states , where .

Figure 3: The D²FA (equivalent to the DFA from Figure 2). The black, bold transitions represent the added default transitions. The default transitions from the states specify the corresponding solution to the set cover instance.
Consequently, every set-state has a transition to with label . Because every boundary-state in also has a transition to with label , the transition for has been replaced for all states in . Consequently, does not possess the default cycle property, contradicting its validity.
Hence, covers , and is a yes-instance of set cover.
The proof of Theorem 1 follows from Lemma 5.
5 Approximation Ratio of the MSF Compression
In this section, we establish Theorem 2. That is, we prove that using the MSF compression for the D FA compression problem has an approximation ratio of 3/2. We also show that this is tight.
Upper bound on the approximation ratio The key idea is to transform an optimal solution into a forest-restricted D²FA, allowing us to compare this intermediate D²FA against both the MSF compression and the optimum.
Specifically, let be an input DFA with alphabet of size that maximizes the approximation ratio . Here, is the MSF compression and is an optimal D²FA, both equivalent to .
From , we construct an acyclic , denoted , as follows. For each cycle in the default transition graph (DTG) of , we remove the default transition that replaces the fewest transitions, and insert the transitions it replaced.
We decompose and into subgraphs based on the weakly connected components in the DTG of . Specifically, let be the states of the ith weakly connected component in the DTG of . The subgraph includes all transitions and default transitions in outgoing from states in and the endstates of these transitions. Correspondingly, the subgraph includes all transitions and default transitions in outgoing from states in and the endstates of these transitions. Note that every transition and default transition of and is in exactly one component.
Let and be the component pair maximizing the ratio , referred to as the worst-case component ratio , such that
Since and , and for all , we have
Thus, the worst-case component ratio is an upper bound to the approximation ratio of . In order to bound , the following lemma establishes the structure of when is maximized.
Lemma 6. Let and be a component pair achieving the component ratio . If is maximized over all valid input DFAs, then has at least transitions, and its default transitions form a simple cycle.
Proof. If the DTG of contained no cycles, then and , which is not maximal. Therefore, the DTG of contains a cycle. Furthermore, since the DTG is a pseudo-forest, it contains exactly one cycle.
Any default transition not part of the default cycle in is also present in . Thus, removing the states of (and their outgoing transitions) that are not part of the default cycle in the DTG of , subtracts an equal amount from and . This increases the component ratio, contradicting the maximality of . Consequently, all default transitions in are part the default cycle, implying that its DTG is a simple cycle.
We now show that has at least transitions. Suppose for contradiction contains fewer than transitions. By the pigeonhole principle and the default cycle property, at least one character appears as the label of a transition exactly once in . Consequently, all states in must agree on character , which implies that also contains only one transition labeled . Removing this label from and corresponding transition yields a component with ratio , contradicting the maximality of . Hence, contains at least outgoing transitions.
We now derive the upper bound on the worst-case component ratio .
Lemma 7. The worst-case component ratio is upper bounded by
where is the number of states in .
Proof. By Lemma 6, has at least transitions out of the transitions in . Its default transitions therefore replace at most transitions in total.
Let be the minimum number of transitions replaced by any default transition in . It follows that . The minimum is no larger than the average, yielding:
Since (Lemma 6), substituting in the component ratio yields
Finally, using the upper bound on , we bound the approximation ratio of the MSF compression.
Lemma 8. The approximation ratio of the MSF compression is 3/2.
Proof. Because is acyclic and the MSF compression is optimal over all acyclic [13], we have
where the last inequality comes from Equation (1). Using Lemma 7 we get
Lower bound on the approximation ratio We establish a matching lower bound on the approximation ratio of the MSF compression. We first introduce a family of DFAs for which an optimal is known, and then show that this family can be used to obtain an approximation ratio arbitrarily close to 3/2.
Lemma 9. For each and , there is a DFA with states and an alphabet of size , where the MSF compression is larger than the minimum equivalent by a factor of

Figure 4: An example of our lower bound construction for and the corresponding minimum equivalent DFA. The sets of characters have their corresponding transitions labeled by 1, 2, 3, and are colored blue, yellow, and red, respectively. The remaining transitions are gray and dashed.
Proof. Let be a DFA with states and an alphabet of size . Partition the alphabet into sets of characters, , each of size . For each , transitions labeled by the characters from go to state (with index modulo ) from every state except , where the transitions are self-loops.
The size of the DFA is . Note that any two states and agree on exactly characters, namely all characters except those in the sets or .
We construct an optimal by adding a default transition from each to (where has a default transition to ). The DFA and the optimal is visualized in Figure 4. Each default transition replaces transitions so the total size of the is . As there are no characters that all states agree on, this possesses the default cycle property.
Now consider the MSF compression, . As the default transitions of this do not create cycles, it has at most, and thus exactly, default transitions, each replacing transitions. The size of this is
Taking the ratio of their sizes gives the desired bound:
We now show that the family of DFAs from Lemma 9 contains DFAs for which the MSF compression has an approximation ratio arbitrarily close to 3/2.
Lemma 10. For each , there exists an instance of the compression problem where the MSF compression has an approximation ratio of at least .
Proof. Consider the DFA from Lemma 9 with states and an alphabet of size . The MSF compression of this DFA is larger than the optimal by a factor of
For any given , we choose and sufficiently large so that , completing the proof.
Lemma 8 together with Lemma 10 proves Theorem 2.
Disclosure of AI Usage Generative AI tools (specifically, free versions of ChatGPT/Gemini) were used during the preparation of this paper solely to edit language, fix grammar, and improve readability. A GPT-5.6 sol model was used to help find the example used in Figure 1. All ideas, proofs, and technical results were developed entirely by the authors. The authors have checked and verified all text and take full responsibility for the contents of this paper.
References
[1] R. Antonello, S. Fernandes, D. Sadok, J. Kelner, and G. Szabo. Deterministic finite automaton for scalable traffic identification: The power of compressing by range. In Proc. NOMS'12, pages 155–162, 2012.
[2] R. Antonello, S. Fernandes, D. Sadok, J. Kelner, and G. Szabó. Design and optimizations for efficient regular expression matching in DPI systems. Comput. Commun., 61:103–120, 2015.
[3] M. Becchi and S. Cadambi. Memory-efficient regular expression search using state merging. In Proc. IEEE INFOCOM'07, pages 1064–1072, 2007.
[4] M. Becchi and P. Crowley. An improved algorithm to accelerate regular expression evaluation. In Proc. ANCS'07, pages 145–154, 2007.
[5] M. Becchi and P. Crowley. Efficient regular expression evaluation: theory to practice. In Proc. ANCS'08, ANCS '08, page 50–59, New York, NY, USA, 2008. Association for Computing Machinery.
[6] M. Becchi and P. Crowley. A-DFA: A time- and space-efficient DFA compression algorithm for fast regular expression evaluation. ACM Trans. Archit. Code Optim., 10(1):4, 2013.
[7] P. Bille, I. L. Gørtz, and M. R. Pedersen. Fast practical compression of deterministic finite automata. Lecture Notes in Comput. Sci., 15538:136–150, 2025.
[8] B. Brodie, D. Taylor, and R. Cytron. A scalable architecture for high-throughput regular-expression pattern matching. In Proc. ISCA'06, pages 191–202, 2006.
[9] D. Ficara, A. Di Pietro, S. Giordano, G. Procissi, F. Vitucci, and G. Antichi. Differential encoding of DFAs for fast regular expression matching. IEEE/ACM Trans. Netw., 19(3):683–694, 2011.
[10] D. Ficara, S. Giordano, G. Procissi, F. Vitucci, G. Antichi, and A. Di Pietro. An improved DFA for fast regular expression matching. Comput. Commun. Rev., 38(5):29–40, Sept. 2008.
[11] L. Gong, C. Wang, H. Xia, X. Chen, X. Li, and X. Zhou. Enabling fast and memory-efficient acceleration for pattern matching workloads: The lightweight automata processing engine. IEEE Trans. Comput., 72(4):1011–1025, 2023.
[12] S. Kong, R. Smith, and C. Estan. Efficient signature matching with multiple alphabet compression tables. In Proc. 4th SecureComm, SecureComm '08, New York, NY, USA, 2008. Association for Computing Machinery.
[13] S. Kumar, S. Dharmapurikar, F. Yu, P. Crowley, and J. Turner. Algorithms to accelerate multiple regular expressions matching for deep packet inspection. ACM SIGCOMM Comput. Commun. Rev., 36(4):339–350, 2006.
[14] S. Kumar, J. Turner, and J. Williams. Advanced algorithms for fast and scalable deep packet inspection. In Proc. ANCS'06, pages 81–92, 2006.
[15] A. X. Liu and E. Torng. An overlay automata approach to regular expression matching. In Proc. IEEE INFOCOM'14, pages 952–960, 2014.
[16] S. Liu, S. Su, D. Liu, Z. Huang, and M. Xiao. Efficient compression algorithm for ternary content addressable memory-based regular expression matching. Electron. Lett., 53(3):152–154, 2017.
[17] D. Matoušek, J. Kubiš, J. Matoušek, and J. Kořenek. Regular expression matching with pipelined delayed input DFAs for high-speed networks. In Proc. ANCS'18, pages 104–110, 2018.
[18] D. Matoušek, J. Matoušek, and J. Kořenek. High-speed regular expression matching with pipelined memory-based automata. In Proc. 26th FCCM, pages 214–214, 2018.
[19] C. R. Meiners, J. Patel, E. Norige, E. Torng, and A. X. Liu. Fast regular expression matching using small TCAMs for network intrusion detection and prevention systems. In Proc. 19th USENIX Security, pages 111–126, 2010.
[20] J. Patel, A. X. Liu, and E. Torng. Bypassing space explosion in high-speed regular expression matching. IEEE/ACM Trans. Netw., 22(6):1701–1714, 2014.
[21] V. Paxson. Bro: A system for detecting network intruders in real-time. Comput. Networks, 31(23):2435–2463, 1999.
[22] Y. Qi, K. Wang, J. Fong, Y. Xue, J. Li, W. Jiang, and V. Prasanna. FEACAN: Front-end acceleration for content-aware network processing. In Proc. IEEE INFOCOM'11, pages 2114–2122, 2011.
[23] M. Roesch. Snort - lightweight intrusion detection for networks. In Proc. 13th LISA, pages 229–238, 1999.
[24] Suricata. Suricata. https://suricata.io/. Accessed: 2026-09-23.
[25] N. Tuck, T. Sherwood, B. Calder, and G. Varghese. Deterministic memory-efficient string matching algorithms for intrusion detection. In Proc. IEEE INFOCOM'04, volume 4, pages 2628–2639 vol.4, 2004.