Tight Bounds for Feedback Vertex Set Parameterized by Clique-Width
Abstract
We introduce a new form of acyclicity representation in labeled graphs, and present three applications thereof. Our main result is an algorithm that, given a graph and a -clique expression of , in time counts modulo the number of feedback vertex sets of of each size. We achieve this through dynamic programming on the clique expression with an involved subroutine for merging partial solutions at union nodes in the expression. In the usual way this results in a one-sided error Monte-Carlo algorithm for solving the decision problem in the same time. We complement these by a matching lower bound under the Strong Exponential-Time Hypothesis (SETH). This closes an open question that appeared multiple times in the literature [ESA 23, ICALP 24, IPEC 25], and significantly improves the dependence on compared to the time algorithm due to Bergougnoux and Kanté [TCS 2019] at the cost of being randomized.
We also present an algorithm that, given a graph and a tree decomposition of width of , in time counts modulo the number of feedback vertex sets of of each size. This matches the known SETH-tight bound for the decision version, which was obtained using the celebrated cut-and-count technique [FOCS 11, TALG 22]. Unlike other applications of cut-and-count, which use the isolation lemma to reduce a decision problem to counting solutions modulo , this bound was obtained via counting other objects, leaving open the complexity of counting solutions modulo .
Finally, we present a one-sided error Monte-Carlo algorithm that, given a graph and a -clique expression of , in time decides the existence of a connected feedback vertex set of size in . We provide a matching lower bound under SETH.
Keywords and phrases:
Feedback Vertex Set, Treewidth, Clique-width, SETHCategory:
Track A: Algorithms, Complexity and GamesCopyright and License:
2012 ACM Subject Classification:
Theory of computation Parameterized complexity and exact algorithmsEditors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele PuppisSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Given a graph and an integer , the Feedback Vertex Set problem asks whether there is a set of at most vertices that intersects all cycles in . This well-known NP-hard problem has been studied intensely in a variety of algorithmic paradigms. In particular, it is an important benchmark problem in the study of optimal (dynamic programming) algorithms on graph decompositions. Continuing this line of work, we study the parameterized complexity of Feedback Vertex Set, and its connected variant, where we require the solution set to induce a connected subgraph, relative to the treewidth and clique-width of the graph.
Parameterized complexity extends classical complexity by allowing complexity bounds to depend not only on the input size but also on one or more parameters, which may quantify various input properties. In particular, one aims to find so-called fixed-parameter tractable algorithms whose running time is polynomial in the input size but (usually) exponential in the parameter value, i.e., time for size and parameter . In recent years, there has been much success in obtaining fine-grained bounds for the dependency on the parameter that is possible for such algorithms, which includes (almost) matching lower bounds conditioned on the (Strong) Exponential-Time Hypothesis (ETH resp. SETH).111ETH posits that there is such that no algorithm solves -SAT in time where is the number of variables. SETH posits that for each there is a clause size such that no algorithm solves -SAT in time .
For graph problems, the most studied parameter is the treewidth of the input graph: Intuitively, it is equal to the smallest value such that the graph can be completely decomposed along non-crossing separators of size at most . A similar parameter, aimed at dense graphs, is clique-width: Roughly, it is the smallest number of labels, such that the graph can be recursively constructed using creation of a single labeled vertex, relabeling, adding edges between label classes, and disjoint union. This type of parameters is called structural parameters. Parameterized algorithms relative to structural parameters usually follow dynamic programming schemes over a corresponding low-width decomposition of the input graph, where it is typical to assume that the decomposition is provided with input. This allows leveraging a type of structure independent of the complexity of finding it, as the challenge of finding an (optimal) decomposition is of independent interest and follows its own long line of research. For example, parameterized approximations, heuristics, and constant-width decompositions for specific graph classes have been studied.
For many fundamental problems, the complexity relative to treewidth is quite well understood. This was initiated by Lokshtanov et al. [23, 24], who showed for many well-studied problems, such as Independent Set, Dominating Set, and Maximum Cut parameterized by treewidth that known dynamic programming (DP) algorithms with time are optimal under SETH, for problem-specific . For many other problems, however, including connectivity problems like Connected Vertex Cover and Feedback Vertex Set, it remained open whether the known algorithms with time were optimal (by showing matching lower bounds), or whether they could be significantly improved upon. The crux was that the natural approaches for DP would have to maintain connectivity patterns of partial solutions, which leads to a factor in number of solutions and (hence) time. This was resolved by Cygan et al. [13, 14] by establishing time algorithms and matching lower bounds modulo SETH for most of these problems. Their Cut&Count technique has two key ingredients: (1) The isolation lemma probabilistically reduces to the special case where we have a unique weighted solution of minimum weight (if one exists), so that we can count (weighted) solutions modulo to decide existence. (2) The main insight is that to count modulo the connected solutions, one can instead count modulo the number of ways that relaxed (possibly disconnected) solutions can be cut, because all disconnected solutions will cancel out modulo . Notably, for Feedback Vertex Set this idea does not seem to apply directly, so they instead count the number of solutions for each specified number of vertices, edges, and connected components. This suffices to decide existence of a solution but does not include an algorithm for counting solutions modulo .
After these two pioneering works, there was much activity for establishing SETH-tight bounds for a variety of problems under different parameters such as cutwidth [5, 16, 21, 26], pathwidth [6, 11, 12], and modular treewidth [19]. The first to study connectivity problems parameterized by clique-width were Bergougnoux and Kanté [2]. They provided deterministic single-exponential time algorithms for many connectivity problems including the Feedback Vertex Set problem. Since they use the rank-based approach of Bodlaender et al. [4], they do not obtain SETH-tight bounds. Instead, there is an additional factor of , the matrix multiplication exponent, in the exponent of the running times, which leaves a gap even if , e.g., time for Feedback Vertex Set. The first SETH-tight algorithms for connectivity problems parameterized by clique-width were introduced by Hegerfeld and Kratsch [19], who provided tight bounds for both the Connected Vertex Cover and the Connected Dominating Set problems using the Cut&Count technique. They left open to get such tight bounds also for Steiner Tree, Connected Odd Cycle Transversal, and Feedback Vertex Set, but pointed out obstructions with doing so via Cut&Count: For the first two, there remained a gap between a Cut&Count-based algorithm and the seemingly best possible lower bound. For the latter, already Bergougnoux and Kanté had pointed out that the approach of counting solutions separately for each number of vertices, edges, and connected components would incur a factor of when working with clique-width. Two recent works of Bojikian and Kratsch [8, 7] closed the gap for Steiner Tree and Connected Dominating Set by finding faster algorithms based on a new approach via connectivity patterns called “isolating a representative” and avoiding Cut&Count. Only Feedback Vertex Set parameterized by clique-width remained open.
Our contribution.
We present a dynamic programming algorithm that counts (modulo ) the number of feedback vertex sets of a fixed size in a graph in time , given that this graph is provided together with a -clique expression. We achieve this running time by introducing a new form of acyclicity representation in graphs, which enables us to avoid counting edges induced by a partial solution. We prove the following theorem:
Theorem 1.
There exists an algorithm that given a graph together with a -clique expression of for some integer value and a positive integer , counts (modulo ) the number of feedback vertex sets of size in in time .
Our algorithm actually counts weighted feedback vertex sets, for any polynomially bounded vertex-weight function. This allows us to use the isolation lemma to reduce the decision version of the problem to the counting modulo version with high probability. As a result we get the following:
Theorem 2.
There exists a one-sided error Monte-Carlo algorithm that given a graph together with a -clique expression of for some value , and a positive integer , decides whether contains a feedback vertex set of size in time . Errors are limited to false negatives, and the correct answer is output with probability at least .
We also provide a lower bound that excludes algorithms with running time for Feedback Vertex Set assuming SETH. As is the case for similar lower bounds for other problems parameterized by clique-width and treewidth (with its linear variant pathwidth), our lower bound holds even when parameterized by the linear clique-width [1, 17, 20]; where each union operation requires that one of its operands is a single vertex.
Theorem 3.
Assuming SETH, the Feedback Vertex Set problem cannot be solved in time for any , even when the input graph is provided with a linear -expression of .
We show that our new representation also yields an independent treewidth-based algorithm: by restricting the indices of the dynamic programming tables to the states possible in a tree decomposition, one obtains an algorithm that runs in time on a graph of treewidth , and counts (modulo ) the number of feedback vertex sets of size in . Again this is SETH-tight, since an algorithm with running time would imply – using the isolation lemma – an algorithm for the decision version with the same running time, which contradicts SETH [14].
Theorem 4.
There exists an algorithm that given a graph together with a tree decomposition of of width and a positive integer , counts (modulo ) the number of feedback vertex sets of size in in time .
We note that, to the best of our knowledge, these are the first SETH-tight algorithms that correctly count (modulo ) the number of feedback vertex sets when parameterized by a structural parameter, as other known methods either count different objects (Cut&Count [14]), or are based on the “rank-based” approach or on the “squared determinant” technique, and hence, are not tight under SETH [2, 4].
As an additional application, we show that our acyclicity representation can be combined with the “isolating a representative” technique of Bojikian and Kratsch [8] resulting in an algorithm for the Connected Feedback Vertex Set problem with running time proving the following theorem:222We remark that the resulting algorithm does not count connected feedback vertex sets modulo , as the “isolating a representative” technique includes a step of existential (but not parity) representation.
Theorem 5.
There exists a one-sided error Monte-Carlo algorithm that given a graph together with a -clique expression of for some value , and a positive integer , decides whether contains a connected feedback vertex set of size in time . Errors are limited to false negatives, and the correct answer is output with probability at least .
We also prove the tightness of our running time, by ruling out algorithms with running time under SETH, for all , where denotes the linear clique-width of the graph. To the best of our knowledge, this is the largest known single-exponential lower bound for a natural (non-generalized) problem parameterized by a structural parameter. This poses a challenge in the construction of the lower bound.
Theorem 6.
Assuming SETH, the Connected Feedback Vertex Set problem cannot be solved in time for any , even when the input graph is provided with a linear -expression of .
Overall, we obtain SETH-tight bounds for two additional connectivity problems relative to clique-width. This leaves only one problem unresolved among those whose tight complexity relative to treewidth was determined in the original work of Cygan et al. [14], which introduced the Cut&Count technique, namely the Exact -Leaf Spanning Tree problem. However, this problem is at least -hard when parameterized by clique-width, since it generalizes the Hamiltonian Path problem by setting [15].
In the following, we give a technical overview of our algorithms and lower bounds. We refer to the full version of this paper [9] for the full details of the algorithms and lower bounds, as well as for the proofs of the theorems stated above.
2 Technical overview
2.1 Upper bounds
As is typical with structural parameters, we assume that the input graph is provided together with a -clique expression of . The recursive definition of clique-expressions induces a syntax tree of in a natural way, where each subtree rooted at a node of corresponds to a subexpression of . Since each subexpression defines a subgraph of , we build our algorithms as bottom-up dynamic programming schemes over , where for each node , we keep tables that count (modulo ) some notion of partial solutions in the graph .
Similar to other algorithms for Feedback Vertex Set [2, 4, 14], our algorithms count induced forests – the acyclic graph that results from removing a feedback vertex set – which are in one-to-one correspondence with the feedback vertex sets of the graph. In order to achieve this, we show that a labeled forest can be represented as a multiset of vectors, where we add a vector for each connected component of the forest that counts the number of times each label appears in this component, i.e. is the number of vertices labeled in . We call these multisets patterns. This representation carries enough information to correctly extend the labeled forests along a clique expression (or a decomposition tree) but it would be too expensive to use directly.
Indeed, the total number of different patterns is super-exponential in , and hence it is too large to be used in our dynamic programming algorithm. Therefore, we aim to reduce the family of patterns into a more compact representation thereof, introducing the notion of acyclicity representation. First, we add an isolated vertex of a new label to the graph. This vertex will allow for a cleaner “reduced” representation of patterns. Intuitively, while the vertex is isolated in the original graph, we will use some “rerouting technique” in the representation, creating partial solutions where is connected to other vertices. More specifically, each representation consists of a single “big” component, and some isolated vertices, where this big component accumulates vertices from the other connected components of the original forest. Hence, we use the vertex to uniquely identify this big component.
We call labeled graphs with this added vertex extended labeled graphs. Since the vertex is the only vertex having label , we assume that each pattern contains a unique vector with and for all other vectors in the pattern. We call the zero vector of the pattern.
Crucially, in the first step, we show that in order to represent acyclicity in a labeled graph, it suffices to upper bound the multiplicity of each label by , both in each connected component and potentially in the whole graph. This can be achieved by removing vertices whose labels appear more than twice in the same connected component, keeping two copies only, or by removing whole connected components if there exist at least two other components with identical multisets of labels. In a later stage, we also remove isolated vertices whose labels appear more than twice in the graph. We prove the correctness of these rules by showing that by removing the aforementioned vertices (and components) from an extended labeled forest , we get a forest equivalent to , in the sense that is extendable to a valid solution in the whole graph if and only if is extendable to a valid solution as well. We refer to Figure 1 for a graphical depiction of some of the different ways how a cycle can be formed in an extension of a labeled forest. Intuitively, the existence of a more “complex” cycle in the extension implies the existence of a “simpler” cycle – mostly a cycle among the ones depicted in Figure 1.
Accordingly, our definition of patterns is the following: A pattern is a multiset of vectors with entries upper bounded by , where each vector has multiplicity at most 2 in the pattern. In Figure 2 we depict an extended labeled forest and its corresponding pattern.
In the second step, we present a compact family of patterns of size . We call them the connectivity-states patterns, or -patterns for short. We show that any family of patterns can be replaced with a set of -patterns preserving the following property: Each extension to a solution in the whole graph is compatible with an odd number of patterns in if and only if it is compatible with an odd number of patterns in . Although this yields a weaker notion of equivalence – preserving only the parity of the number of extendable partial solutions – this notion of equivalence suffices for our modulo- counting algorithm. We call this notion of equivalence representation.
Concretely, the family consists of all patterns such that all vectors of different from its zero vector are unit vectors, and such that each label appears at most two times in total in the pattern. The size of the family follows then, since for each label we can assign one of the six states: if it does not appear in the pattern, if it appears only once in a unit vector, if it appears twice in unit vectors, if it appears only once in the zero vector, if it appears once in a unit vector and once in the zero vector, and if it appears twice in the zero vector. This builds a bijection between the patterns in and the set of mappings that assign to each label in one of these six states.
In order to represent each family of patterns with a subset of , we introduce a parity-preserving replacement rule: We show for a pattern and three vectors , such that and are both vectors of , and for , that the three patterns , , and together represent . This results in the following reduction rule: Given a pattern that is not in , we choose to be the zero vector of , and to be any non-unit vector different from in . Then we can represent by the three patterns defined above, where we upper bound the entries of each vector and the multiplicity of each vector by in each pattern. At this point, we also remove unit vectors whose labels appear at least two more times in the pattern. We refer to Figure 3 for an example of this rule.
This reduction rule results in three patterns, each having a smaller total sum of non-unit vectors different from the zero vector than the same sum in . Therefore, by applying this rule a finite number of times we get a family of patterns that represents , such that for each pattern , each vector different from the zero vector of is a unit vector, and each label appears at most twice in . This implies that .
This parity-preserving replacement argument allows us to restrict the dynamic programming tables to the family only, preserving the parity of extensions of partial solutions in to solutions in the whole graph . However, a bottleneck of this approach is to process union nodes in the clique expression efficiently, combining all pairs of partial solutions in the unified graphs. While this can be trivially done in time , we show that this can be done in (optimal) time by an involved convolution operation.
In general, fast convolution techniques have proven essential to process a join node in a tree decomposition or a union node in a clique expression efficiently. Among others, covering product, fast subset convolution, fast lattice convolution over power lattices, and multidimensional fast fourier transformation have been used to process such nodes more efficiently. Van Rooij [27] combined some of these techniques to develop a novel convolution for the -Dominating Set problems, introducing the “Count and Filter” technique, inspired by the infamous fast subset convolution of Björklund et al. [3]. The author states that combinations of these convolution techniques cover a vast spectrum of convolution requirements. However, essential for their proof was the fact, that their case only spanned a convolution of depth two, where the filter was only applied in the later phase. Hence, by reverting the second step, one gets a closed form transformation (Zeta) that can be directly inverted. In this paper, however, we encounter a more complicated -level convolution (and -level for the connected variant) with two different filters. As one can see in the proof, reverting the last step does not yield a closed form transformation. Therefore, a more involved reversing process is needed. We show, somewhat surprisingly, that reversing the convolution steps after applying the product still yields the right answer. We believe that this convolution technique can be generalized to an arbitrary depth, and hence, can be of independent interest.
We note that our convolution is tight, and it improves on a trivial convolution with time , and, to the best of our knowledge, on the best known algorithm for general convolutions [10] with running time , where is the matrix multiplication exponent, even for .
Back to our algorithm, this results in an algorithm that correctly counts (modulo ) the number of feedback vertex sets of a fixed weight in time , when the weights are bounded polynomially in . Using the isolation lemma [25], we show that by choosing the weights large enough, independently and uniformly at random, this results in an algorithm that solves the decision version with high probability.
Connected feedback vertex set.
In order to solve the Connected Feedback Vertex Set problem parameterized by clique-width, we need to ensure the connectivity of the solution set in addition to the acyclicity of the remaining graph. We obtain an SETH-tight algorithm with running time by combining our acyclicity representation with a connectivity representation technique that was introduced recently by Bojikian and Kratsch [8], called “isolating a representative”. Each partial solution is first represented by its connectivity pattern, defined as a set of subsets of labels, where we add a set for each connected component of that contains the labels of all vertices of . In contrast to acyclicity representation, where we needed to distinguish whether a label appears once or at least twice in a connected component, and whether copies of different components exist once or at least twice, to represent connectivity it suffices to track existence, and hence, simple sets of labels suffice to represent connectivity.
However, a parity-preserving replacement argument, similar to the one used for Feedback Vertex Set, would only reduce the size of the family to (where each label has a state , , , or ). Instead, following the approach of [8] we first use an “existential representation” step, where the representing family does not preserve the parity of the number of compatible partial solutions, but only preserves the existence of a compatible partial solution: We define local operations, called actions over the nodes of that decide for a given label (with state ) whether it will be used in the future to connect different components of a partial solution (and hence, it can be added as a singleton safely, turning its state to ), or will not be used anymore (and hence, it can be safely removed from all sets, turning its state to ). The resulting family can then be reduced to size by a parity-preserving reduction argument similar to the one above.
A priori, we cannot usefully combine existential and parity representation. Even after the usual isolation of a solution, we have no control over the parity of the number of representations, so working modulo two makes no sense. The key idea of [8] is that after isolating (with high probability) a unique minimum weight solution by giving random weights to vertices, we can furthermore isolate (w.h.p.) a unique representation by giving random weights to the possible actions at each node. More formally, what we isolate is a minimum weight action sequence – the mapping that decides which actions are taken to produce a single representation of a unique minimum weight solution by assigning an integer in to each node. In this way, the remaining parity-based arguments work correctly.
Accordingly, our partial solutions are pairs of a vertex set and an action sequence , where we index the dynamic programming tables by the acyclicity-pattern of and by the connectivity-pattern of the representative created by from the partial solution . This results in states per label. Again, we need to efficiently process union nodes in the clique expression. We build upon the convolution technique introduced above, extending it to a -level convolution, where we start by processing the connectivity part of the pattern. We show that this can be done in time , resulting in the claimed running time.
Treewidth algorithm.
Finally, in order to count modulo two the number of feedback vertex sets of a specific size when parameterized by treewidth, we make use of the same acyclicity representation technique. Essentially, in a tree decomposition, each vertex appears in a bag at most once, compared to labels in a labeled graph, while the size of the bags is bounded by the parameter. We start by defining a mapping that assigns to each vertex in the graph a label such that the restriction of to each bag is injective. Using these labels, we can restrict the family of all patterns to patterns where each label appears at most once. This allows us to replace vectors that count the multiplicity of each label in each connected component by the sets of labels that appear in each connected component, and to replace the multisets of vectors by simple sets, since we cannot have two components containing the same labels. This simplifies the definition of patterns to sets of disjoint subsets of – each corresponding to a different connected component. Essentially, it reduces the six states defined above into the “single” states , , and resulting in the family of nice treewidth patterns of size . We use this family to index the dynamic programming tables.
Similar to the algorithm when parameterized by clique-width, join nodes form a bottleneck in this dynamic programming routine, where we need to efficiently combine all pairs of partial solutions in the two children bags. We show that this can be done in time by introducing an ordering over these states, and showing that the required convolution corresponds to the join product of the th power of the corresponding lattice. We refer to the full version [9] for details. The running time then follows from a result by Hegerfeld and Kratsch [18] that shows how to compute such convolutions efficiently.
2.2 Lower bounds
Feedback Vertex Set.
In our lower bounds, we follow the general framework of SETH based reductions for structural parameters debuted by Lokshtanov et al. [24]. However, instead of reducing from the -SAT problem, we follow the approach of Lampis [22] reducing from the -CSP- problem defined as follows: Given is a set of variables and a set of constraints for some integer values and , where each constraint is defined over variables and specifies which assignments of values from the set to these variables are allowed. The goal is to decide whether there exists an assignment of values from to all variables such that all constraints are satisfied.
The lower bound is then based on a result from [22], which informally states that for each fixed integer and for each value , there exists an integer , such that the -CSP- problem cannot be solved in time , unless SETH fails. Therefore, for our lower bound for Feedback Vertex Set, we choose , and provide a reduction for each value of from the -CSP- problem to Feedback Vertex Set.
Intuitively, we translate each variable into a gadget of constant size, called path gadget. We make use of the six states , , , , , and defined above and translate the intersection of a solution with this gadget into one of these states. We also fix a bijective mapping from these states to the different assignments of a value from the set to the corresponding variable. We also define a so called constraint gadget corresponding to each constraint . We define the adjacencies between a constraint gadget and the path gadgets in a way that ensures that the states defined in the path gadgets by a solution correspond to an assignment that satisfies the constraint .
In order to find an assignment that satisfies all constraints, we will add copies of a path gadget for each variable , each corresponding to a different constraint, where consecutive copies are connected by bicliques of size , spanning two “exit vertices” of each gadget, and two “entry vertices” of the following gadget, resulting in a path sequence corresponding to each variable . This results in a grid structure, where each row is a sequence of path gadgets corresponding to a variable , and each column corresponds to a constraint . We attach a corresponding constraint gadget to each column. See Figure 4 for a graphical depiction of the reduction.
The symmetric “biclique” cuts between consecutive path gadgets ensure that we can build all these sequences by “spending” a single label (unit of clique-width) for each path sequence, and a constant number of labels for the rest of the graph, building the whole graph column by column, which bounds the clique-width of the resulting graph. We show that these cuts are exactly enough to transition these six states.
However, these transitions have one final shortcoming: Instead of enforcing identical states in consecutive path gadgets, they only guarantee a monotone behavior, implicitly inducing a partial ordering over the six states. This behavior is common in SETH-based lower bounds, and a solution was already proposed by Lokshtanov et al. [24]: By adding copies of these sequences of path gadgets corresponding to each variable – turning them into sequences over path gadgets – we ensure that in any solution, there exists at least one copy in which all path gadgets on each sequence are assigned the same state. This holds since between different states at most state-changes can happen under a monotone transition. The state assignment defined by this copy corresponds to an assignment that satisfies all constraints. Building on this, we show that the given instance is satisfiable, if and only if the resulting graph admits a feedback vertex set of a specific size.
Connected Feedback Vertex Set.
For the Connected Feedback Vertex Set problem, we follow the same general schema. However, in order to achieve the base , we combine an acyclicity state with a connectivity state, resulting in states per label, where an acyclicity state defines how a label appears in an induced forest, while a connectivity state defines the connectivity of a label in the solution set itself. However, a challenge arises, since states like are not realizable, while the upper bound realizes them through the existential representation technique mentioned above, and hence, they cannot be trimmed.
In order to overcome this challenge, we make use of the fact, that connectivity representation from [8] is a two-step existential representation, that turns a set of states into required states for connectivity. Hence, we make use of the “fourth” redundant state, and make careful choices of which connectivity states to combine with each acyclicity state. This does not only result in realizable states, but also results in combinations that allow for simpler realization, allowing to realize each state using three “boundary” vertices instead of four in a more straightforward approach.
3 Conclusion
In this work, we presented a one-sided error Monte-Carlo algorithm for the Feedback Vertex Set problem parameterized by clique-width with running time , when parameterized by the clique-width of the graph, based on a new notion of acyclicity representation in labeled graphs, and we provided a matching SETH-based lower bound. Based on this representation, we also presented an algorithm, that counts (modulo ) the number of solutions in time in graphs of treewidth . This matches the SETH-tight running time of the decision version of this problem when parameterized by treewidth.
As an additional consequence of this representation, we presented an algorithm for the Connected Feedback Vertex Set problem parameterized by clique-width. We proved the tightness of our running time by providing a matching SETH-based lower bound. In addition to acyclicity representation, we achieved the claimed running times for both problems by developing an involved fast convolution technique.
As mentioned in the introduction, this leaves the tight complexity of only one problem (relative to clique-width) unresolved among those whose tight complexity relative to treewidth was determined in the original work of Cygan et al. [14], namely the Exact -Leaf Spanning Tree problem. While the problem is -hard, we believe that our technique could be useful in achieving a single-exponential running time for this problem, as the same challenge of counting edges and connected components arises in this problem, when trying to adapt the Cut&Count technique to the clique-width parameterization.
A further intriguing question is whether our convolution technique can be extended to arbitrary depth and any number of filters, yielding a general framework that encompasses all known acyclic convolution techniques for structural parameters.
References
- [1] Isolde Adler and Mamadou Moustapha Kanté. Linear rank-width and linear clique-width of trees. Theor. Comput. Sci., 589:87–98, 2015. doi:10.1016/j.tcs.2015.04.021.
- [2] Benjamin Bergougnoux and Mamadou Moustapha Kanté. Fast exact algorithms for some connectivity problems parameterized by clique-width. Theor. Comput. Sci., 782:30–53, 2019. doi:10.1016/j.tcs.2019.02.030.
- [3] Andreas Björklund, Thore Husfeldt, Petteri Kaski, and Mikko Koivisto. Fourier meets möbius: fast subset convolution. In David S. Johnson and Uriel Feige, editors, Proceedings of the 39th Annual ACM Symposium on Theory of Computing, San Diego, California, USA, June 11-13, 2007, pages 67–74. ACM, 2007. doi:10.1145/1250790.1250801.
- [4] Hans L. Bodlaender, Marek Cygan, Stefan Kratsch, and Jesper Nederlof. Deterministic single exponential time algorithms for connectivity problems parameterized by treewidth. Inf. Comput., 243:86–111, 2015. doi:10.1016/j.ic.2014.12.008.
- [5] Narek Bojikian, Vera Chekan, Falko Hegerfeld, and Stefan Kratsch. Tight bounds for connectivity problems parameterized by cutwidth. In Petra Berenbrink, Patricia Bouyer, Anuj Dawar, and Mamadou Moustapha Kanté, editors, 40th International Symposium on Theoretical Aspects of Computer Science, STACS 2023, March 7-9, 2023, Hamburg, Germany, volume 254 of LIPIcs, pages 14:1–14:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPIcs.STACS.2023.14.
- [6] Narek Bojikian, Alexander Firbas, Robert Ganian, Hung P. Hoang, and Krisztina Szilágyi. Fine-grained complexity of computing degree-constrained spanning trees. CoRR, abs/2503.15226, 2025. doi:10.48550/arXiv.2503.15226.
- [7] Narek Bojikian and Stefan Kratsch. Tight algorithm for connected odd cycle transversal parameterized by clique-width. CoRR, abs/2402.08046, 2024. doi:10.48550/arXiv.2402.08046.
- [8] Narek Bojikian and Stefan Kratsch. A tight monte-carlo algorithm for steiner tree parameterized by clique-width. In Karl Bringmann, Martin Grohe, Gabriele Puppis, and Ola Svensson, editors, 51st International Colloquium on Automata, Languages, and Programming, ICALP 2024, July 8-12, 2024, Tallinn, Estonia, volume 297 of LIPIcs, pages 29:1–29:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.ICALP.2024.29.
- [9] Narek Bojikian and Stefan Kratsch. Tight bounds for feedback vertex set parameterized by clique-width. CoRR, abs/2512.01900, 2025. doi:10.48550/arXiv.2512.01900.
- [10] Cornelius Brand, Radu Curticapean, Baitian Li, and Kevin Pratt. Faster convolutions: Yates and strassen revisited. CoRR, abs/2505.22410, 2025. doi:10.48550/arXiv.2505.22410.
- [11] Radu Curticapean, Nathan Lindzey, and Jesper Nederlof. A tight lower bound for counting hamiltonian cycles via matrix rank. In Artur Czumaj, editor, Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2018, New Orleans, LA, USA, January 7-10, 2018, pages 1080–1099. SIAM, 2018. doi:10.1137/1.9781611975031.70.
- [12] Marek Cygan, Stefan Kratsch, and Jesper Nederlof. Fast hamiltonicity checking via bases of perfect matchings. J. ACM, 65(3):12:1–12:46, 2018. doi:10.1145/3148227.
- [13] Marek Cygan, Jesper Nederlof, Marcin Pilipczuk, Michal Pilipczuk, Johan M. M. van Rooij, and Jakub Onufry Wojtaszczyk. Solving connectivity problems parameterized by treewidth in single exponential time. In Rafail Ostrovsky, editor, IEEE 52nd Annual Symposium on Foundations of Computer Science, FOCS 2011, Palm Springs, CA, USA, October 22-25, 2011, pages 150–159. IEEE Computer Society, 2011. doi:10.1109/FOCS.2011.23.
- [14] Marek Cygan, Jesper Nederlof, Marcin Pilipczuk, Michal Pilipczuk, Johan M. M. van Rooij, and Jakub Onufry Wojtaszczyk. Solving connectivity problems parameterized by treewidth in single exponential time. ACM Trans. Algorithms, 18(2):17:1–17:31, 2022. doi:10.1145/3506707.
- [15] Fedor V. Fomin, Petr A. Golovach, Daniel Lokshtanov, and Saket Saurabh. Intractability of clique-width parameterizations. SIAM J. Comput., 39(5):1941–1956, 2010. doi:10.1137/080742270.
- [16] Carla Groenland, Isja Mannens, Jesper Nederlof, and Krisztina Szilágyi. Tight bounds for counting colorings and connected edge sets parameterized by cutwidth. In Petra Berenbrink and Benjamin Monmege, editors, 39th International Symposium on Theoretical Aspects of Computer Science, STACS 2022, March 15-18, 2022, Marseille, France (Virtual Conference), volume 219 of LIPIcs, pages 36:1–36:20. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPIcs.STACS.2022.36.
- [17] Frank Gurski and Egon Wanke. On the relationship between nlc-width and linear nlc-width. Theor. Comput. Sci., 347(1-2):76–89, 2005. doi:10.1016/j.tcs.2005.05.018.
- [18] Falko Hegerfeld and Stefan Kratsch. Tight algorithms for connectivity problems parameterized by clique-width. In Inge Li Gørtz, Martin Farach-Colton, Simon J. Puglisi, and Grzegorz Herman, editors, 31st Annual European Symposium on Algorithms, ESA 2023, September 4-6, 2023, Amsterdam, The Netherlands, volume 274 of LIPIcs, pages 59:1–59:19. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPIcs.ESA.2023.59.
- [19] Falko Hegerfeld and Stefan Kratsch. Tight algorithms for connectivity problems parameterized by modular-treewidth. In Daniël Paulusma and Bernard Ries, editors, Graph-Theoretic Concepts in Computer Science - 49th International Workshop, WG 2023, Fribourg, Switzerland, June 28-30, 2023, Revised Selected Papers, volume 14093 of Lecture Notes in Computer Science, pages 388–402. Springer, 2023. doi:10.1007/978-3-031-43380-1_28.
- [20] Pinar Heggernes, Daniel Meister, and Charis Papadopoulos. Characterising the linear clique-width of a class of graphs by forbidden induced subgraphs. Discret. Appl. Math., 160(6):888–901, 2012. doi:10.1016/j.dam.2011.03.018.
- [21] Bart M. P. Jansen and Jesper Nederlof. Computing the chromatic number using graph decompositions via matrix rank. Theor. Comput. Sci., 795:520–539, 2019. doi:10.1016/j.tcs.2019.08.006.
- [22] Michael Lampis. Finer tight bounds for coloring on clique-width. SIAM J. Discret. Math., 34(3):1538–1558, 2020. doi:10.1137/19M1280326.
- [23] Daniel Lokshtanov, Dániel Marx, and Saket Saurabh. Known algorithms on graphs on bounded treewidth are probably optimal. In Dana Randall, editor, Proceedings of the Twenty-Second Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2011, San Francisco, California, USA, January 23-25, 2011, pages 777–789. SIAM, 2011. doi:10.1137/1.9781611973082.61.
- [24] Daniel Lokshtanov, Dániel Marx, and Saket Saurabh. Known algorithms on graphs of bounded treewidth are probably optimal. ACM Trans. Algorithms, 14(2):13:1–13:30, 2018. doi:10.1145/3170442.
- [25] Ketan Mulmuley, Umesh V. Vazirani, and Vijay V. Vazirani. Matching is as easy as matrix inversion. Comb., 7(1):105–113, 1987. doi:10.1007/BF02579206.
- [26] Bas A. M. van Geffen, Bart M. P. Jansen, Arnoud A. W. M. de Kroon, and Rolf Morel. Lower bounds for dynamic programming on planar graphs of bounded cutwidth. J. Graph Algorithms Appl., 24(3):461–482, 2020. doi:10.7155/jgaa.00542.
- [27] Johan M. M. van Rooij. Fast algorithms for join operations on tree decompositions. In Fedor V. Fomin, Stefan Kratsch, and Erik Jan van Leeuwen, editors, Treewidth, Kernels, and Algorithms - Essays Dedicated to Hans L. Bodlaender on the Occasion of His 60th Birthday, volume 12160 of Lecture Notes in Computer Science, pages 262–297. Springer, 2020. doi:10.1007/978-3-030-42071-0_18.
