Manuscript Offprint
arXiv:2610.40575Minimum Label -Cut on Planar Graphs: Complexity and Color Structure
Abstract
Minimum Label k-Cut asks for a minimum-size set of colors such that deleting all edges of these colors leaves at least k connected components. We study how the structure of the underlying graph and its color classes affects the complexity of this problem. Regarding fixed-parameter tractability with respect to k on simple planar graphs, we prove that the problem is W[1]-hard, even when the underlying graph is a cactus graph and each color appears at most twice. Furthermore, for cactus graphs in which every color class is connected, we establish a complexity boundary in terms of the maximum monochromatic degree: when this degree is at most two, an optimal solution can be found in time, where N is the input size, with no restriction on color frequency or the number of blocks spanned by a color; allowing the maximum monochromatic degree to increase to three already makes the decision version NP-complete. Finally, we prove that the problem remains W[1]-hard parameterized by k on fan graphs, even when every color class is an induced path. These results show that bounding color frequency does not suffice to eliminate parameterized hardness. They also establish a monochromatic-degree boundary for connected colors on cactus graphs and identify complexity barriers to extending this tractable case to outerplanar graphs.
Keywords. Minimum label cut; planar graphs; parameterized complexity; cactus graphs; connected colors.
1 Introduction
In various applications, edges sharing the same label must be handled as a group. In communication networks, edges subject to a shared failure risk can be represented by the same color [1]. Wang and Desmedt [2] used edge-colored graphs to model homogeneous faults: links employing the same hardware or software technology may fail simultaneously. Hou et al. [3] used this model to design fault-tolerant heterogeneous networks and discussed its application to router interconnection design in networks-on-chip. Related directed label s-t cut models also arise in security analysis using attack graphs [4] and in sensor selection for supervisory control [5].
We study Minimum Label k-Cut on simple undirected edge-colored graphs. Each edge has exactly one color, and edges of the same color need not form a connected subgraph. The objective is to select as few colors as possible so that deleting all edges of these colors leaves at least k connected components. All vertices are retained when edges are deleted.
*Corresponding author. Email address: wang_weiw@163.com
For a variable target number of components , Fomin et al. [9] gave a randomized algorithm with running time , where is the budget on the number of deleted colors, is the number of vertices, and is the number of colors. For every fixed , this algorithm is FPT parameterized by . However, the exponent of the input size still depends on , so even an upper bound on the color budget does not yield an FPT algorithm parameterized by . The -cut problem on general hypergraphs is W[1]-hard parameterized by [10], but this result does not directly apply to simple planar graphs. The algorithms for bounded color span in [11, 12] also have input-size exponents that depend on , where the span of a color is the number of connected components of the subgraph formed by its edges. Fomin et al. [9] further asked whether Minimum Label -Cut on simple planar graphs is fixed-parameter tractable parameterized by the target number of components .
1.2 Main Results
Addressing this question, we prove that the problem is W[1]-hard parameterized by k, even when the underlying graph is a cactus graph and each color appears at most twice. For cactus graphs in which every color class is connected, if the maximum monochromatic degree is at most two, an optimal solution can be found in time, where N is the input size. The algorithm places no restriction on color frequency and allows a color to span arbitrarily many blocks. If the maximum monochromatic degree is allowed to increase to three, the decision version is already NP-complete, even when every color class is a single edge or a three-edge star.
If the underlying graph class is enlarged to outerplanar graphs, the problem remains W[1]-hard parameterized by k even when every color class is a path; this hardness already holds on fan graphs. Both parameterized hardness results also hold for the color budget and the combined parameter .
2 Preliminaries
Let be a simple undirected graph, and let be an edge-coloring map. We assume that every color in appears on some edge. For each color , let be its color class and its frequency. For a set of colors , write . Deleting the color set means deleting all edges in while retaining all vertices.
Let denote the number of connected components of a graph . Given a target number of components , Minimum Label -Cut asks to minimize subject to ; its optimum value is denoted by OPT. The decision version additionally specifies a color budget and asks whether there exists a color set satisfying this condition and .
Let be the input size and the initial number of connected components. Let denote the number of additional components required, and let denote the increase in the number of components caused by deleting the color set . Thus, the graph has at least connected components after deletion if and only if .
If , no edge deletion is needed and the optimum value is zero; if , no feasible solution exists. Henceforth, we consider only , that is, .
For each color , let be the subgraph consisting of its color class and the vertices incident with these edges. We call color connected if is connected. The maximum monochromatic degree of the graph is defined as
that is, the maximum number of edges of the same color incident with a vertex; if all vertices of the graph are isolated, we define .
Definition 2.1 (Cactus Graph). If every block containing an edge in a simple undirected graph G is either a single-edge graph or a simple cycle, then G is called a cactus graph. We allow cactus graphs to be disconnected and to contain isolated vertices.
For a cactus graph , let be its set of cycle blocks. For each , let denote the set of colors appearing on the cycle block . A parameterized problem is fixed-parameter tractable (FPT) if it can be solved in time, where is the parameter, is a computable function, and the exponent of the input size is independent of . We consider three parameterizations: the target number of components , the color budget , and their sum . Both of our parameterized hardness proofs are reductions from CLIQUE parameterized by the clique size . This problem is given a simple graph and an integer and asks whether contains a -clique. In both reductions, the output parameters and are bounded by functions of .
Using the notation above, the following two lemmas give, respectively, a formula for the increase in the number of components after edge deletion in a cactus graph and an upper bound on the optimal number of colors.
Lemma 2.2. If G is a cactus graph, then for every edge set ,
Proof. For any undirected graph J, its cycle rank is
Every simple cycle of a cactus graph is a cycle block, and distinct cycle blocks have pairwise disjoint edge sets. Deleting one edge from each cycle block produces a forest with the same number of connected components as . The edge-count formula for forests gives . Let , the number of cycle blocks from which at least one edge is deleted. Edge deletion creates no new cycles, and an original cycle block remains a cycle after deletion if and only if . Therefore, is still a cactus graph and has exactly cycle blocks. Hence .
On the other hand, since all vertices are retained when edges are deleted, the cycle-rank formula gives
Combining this with , we obtain
3
☐
A graph G is d-degenerate if every nonempty subgraph of G contains a vertex of degree at most d.
Lemma 2.3. Let be a -degenerate graph. If , then , where and .
Proof. Starting from G, delete edges iteratively until the number of connected components is at least k. Let be the current graph. Since edge deletion preserves d-degeneracy, is still d-degenerate.
If , then implies that has a connected component containing at least two vertices. By -degeneracy, contains a vertex of degree at most . Since is connected and has at least two vertices, . Deleting all edges incident with isolates , and is nonempty, so the number of connected components increases by at least one.
Each step deletes at most edges, and at most steps suffice to reach the target. Let be the set of edges deleted in this process. Then and . Let be the set of colors used by these edges. Since and , we have . Thus, is a feasible solution containing at most colors, and hence .
Cactus graphs are 2-degenerate, so whenever . Therefore, the dynamic program only needs to consider color budgets .
3 Parameterized Hardness on Simple Planar Graphs
The following construction is related to the selection principle in the Minimum p-Union problem [13]. This problem asks for exactly p sets from a given family whose union has minimum cardinality. Regard each edge of a simple graph H as the set consisting of its two endpoints, and set . Then there exist p sets whose union has cardinality at most t if and only if H contains a t-clique. We realize this selection principle below by assigning colors to different cycle blocks.
3.1 Reduction Construction
Consider a CLIQUE instance , where is a simple undirected graph with vertices , and assume that . Let . If or , then cannot contain a -clique. In this case, output a fixed no-instance: let be a single-edge graph, assign one color to its unique edge, and set and . In what follows, assume that and , and construct a Minimum Label -Cut instance .
For each source vertex , create a cycle of length , denoted by , with all cycles pairwise vertex-disjoint. For each source edge , introduce a color and assign it to one as-yet uncolored edge in each of and . Thus, each source-edge color appears exactly twice. Assign a new private color to each remaining cycle edge. Order the cycles arbitrarily and join consecutive cycles by bridges, each assigned a new private color. For each internal cycle, choose the two endpoints of a cycle edge as the attachment vertices of the bridges to the preceding and succeeding cycles, respectively. Set
The private colors on the padding edges and bridges are collectively called auxiliary colors; each auxiliary color appears only once.
3.2 Structural Properties and Correctness of the Reduction
Lemma 3.1. The graph G obtained by the above construction is a connected simple cactus graph with maximum degree at most three and pathwidth at most two. Its edge-coloring is proper, and each color appears at most twice. The construction has size and can be carried out in polynomial time.
Proof. The cycles are pairwise vertex-disjoint and are joined only by a chain of bridges, so the resulting graph is a connected simple cactus graph. Each cycle vertex is incident with two cycle edges and at most one bridge, so the maximum degree is at most three. All colors within each cycle are distinct, and all bridge colors are new. The two occurrences of any source-edge color lie on different cycles, so the resulting edge-coloring is proper.
To give a path decomposition of width two, write the vertices of a cycle as , with the incoming bridge attached at and the outgoing bridge attached at . Use the bags in this order, followed by a bag of size two covering the bridge to the next cycle. Use the same bag sequence for the first and last cycles. The first cycle is joined to the next cycle only by the bridge at , and the last cycle is joined to the preceding cycle only by the bridge at . Every cycle edge is covered by a bag for its cycle, and every bridge is covered by its corresponding bridge bag. For each cycle, appears continuously from the incoming bridge bag to the last bag for the cycle, appears in the last bag for the cycle and the outgoing bridge bag, and every other vertex appears only in consecutive bags for that cycle. Hence, every vertex satisfies the consecutive-occurrence property. Each bag contains at most three vertices, so the pathwidth is at most two.
Since , the total length of all cycles is at most , with another bridges between the cycles. The number of colors does not exceed the number of edges, so the output size is . All the above steps can be carried out in polynomial time.
Lemma 3.2. The graph H contains a t-clique if and only if the instance constructed above has a color set L satisfying and .
Proof. For the forward direction, given a t-clique, select the colors corresponding to its M edges. Exactly 2M cycle edges are deleted, and exactly t cycle blocks lose at least one edge. Since G is connected, equation (1) implies that the remaining graph has connected components. The number of selected colors is , so this is a feasible solution.
For the reverse direction, suppose that a feasible color set L contains a source-edge colors and b auxiliary colors. Let v be the number of cycle blocks from which at least one edge is deleted. Each source-edge color appears exactly twice, and each auxiliary color appears exactly once, so the number of deleted edges is . By equation (1) and the budget constraint,
Let the deficit of the number of selected source-edge colors from be . The above inequalities give
Each selected source-edge color causes both of its corresponding cycle blocks to lose an edge. Thus, the selected source edges involve at most source vertices. Since is simple, . Suppose that . Since ,
However, for and ,
This is a contradiction. Therefore, , and hence , , and . Moreover, implies that , and all possible edges among these vertices have been selected. Thus, they form a -clique. The above argument also shows that no feasible color set contains an auxiliary color.
3.3 Complexity Consequences
Theorem 3.3. Minimum Label k-Cut, parameterized by k, , or , is W[1]-hard even on connected simple cactus graphs with maximum degree at most three and pathwidth at most two, under a proper edge-coloring in which each color appears at most twice.
Proof. CLIQUE parameterized by the clique size is -complete. Since the cases can be solved directly in polynomial time, restricting the source problem to does not affect its parameterized hardness.
The above preprocessing and construction can be performed in polynomial time. By Lemmas 3.1 and 3.2, the output instance satisfies all the structural restrictions in the theorem and is equivalent to the source instance. Every output instance satisfies and . Thus, the above reduction is an FPT reduction for each of the parameters , , and , proving the result.
Corollary 3.4. Unless FPT = W[1], the problem on simple planar graphs admits no exact algorithm running in time. When colors are allowed to be disconnected, the hardness persists even if both treewidth and pathwidth are at most two, the graph has maximum degree at most three, the color frequency is at most two, and the maximum monochromatic degree is at most one.
4 Complexity Boundaries for Connected Colors on Cactus Graphs
This section studies the relationship between maximum monochromatic degree and computational complexity on cactus graphs with connected color classes. When the maximum monochromatic degree is at most two, each color class is a path or a cycle. At any cutvertex, a color can be adjacent along a cycle to at most two other colors, so the graph describing these local relationships consists only of paths, cycles, and isolated vertices. Combining this observation with the block structure of cactus graphs, we prove that the color-cycle-block incidence graph has treewidth at most three, and use this to obtain an exact algorithm with running time .
When the maximum monochromatic degree is allowed to reach three, color classes may branch at cutvertices. We construct a cactus graph in which all triangles share one vertex, so that the relationships between different colors forming three-edge stars realize the adjacency relationships of the source 3-regular graph, and transform the number of internal edges in the source graph into the increase in the number of components after deleting colors. This proves that the decision problem is already NP-complete even when each color class is only a single edge or a three-edge star.
Theorem 4.1. If every color class of a cactus graph is connected and , then, for , the optimum value and an optimal color set for Minimum Label k-Cut can be found in time.
4.1 Incidence Structure Between Colors and Cycle Blocks
By (1), the contribution of the number of edges of each color can be computed separately, whereas the deduction for a cycle block depends on whether any color on it is selected. To describe these relationships, we define the color-cycle-block incidence graph , which is a bipartite graph whose two vertex sets correspond to the color set and the set of cycle blocks. An edge is added between and if and only if color appears on cycle block . If the same color appears more than once on a cycle, only one incidence edge is added. Since , the size of is .
For a color set , its neighbor set in consists precisely of all cycle blocks containing edges of selected colors. By Lemma 2.2,
Lemma 4.2. If every color class of a cactus graph G is connected and , then a tree decomposition of I of width at most three with bags can be constructed in time.
Proof. To construct a tree decomposition of , we need to cover the incidence edges between colors and cycle blocks and ensure that the bags containing the same color form a connected set. The block-cutvertex forest of a cactus graph records how its blocks are connected. We use this forest to organize the connections between bags, placing the corresponding color vertices and cycle-block vertices in each bag. Consider the block-cutvertex forest of . Its nodes are of two types, corresponding to the blocks of that contain edges and to its cutvertices; when a cutvertex belongs to a block , an edge is added between the corresponding nodes. For a cycle-block node , set ; for a bridge node , set ; for a cutvertex node , set . We next construct a local graph within each bag, give a tree decomposition of width at most three for each local graph, and then connect these decompositions along the block-cutvertex forest.
Since every color class is connected, the block nodes and cutvertex nodes containing that color form a subtree of the block-cutvertex forest. Each connected component outside a block is adjacent to at most one vertex of that block, so a simple path cannot leave the block and then return. This shows that each color is also connected within every block in which it appears.
Let a cutvertex belong to a cycle block , and let be the two edges of incident to . By the definitions of the bags, the colors of both edges belong to . Conversely, if , connectivity of the color class implies that there is a simple path of color from to another vertex in . This path lies entirely in , so at least one of has color . Thus , and this intersection contains at most two colors. For a bridge node and an adjacent cutvertex node , we have .
For each bag X, construct a local graph on vertex set X, starting with the induced subgraph . For each edge of the block-cutvertex forest, let X, Y be the bags corresponding to its endpoints. If , add the edge cd to both local graphs. Since the intersection of adjacent bags contains at most two vertices, after these edges are added, each intersection forms a clique in both local graphs.
Let denote the local graph corresponding to a cutvertex . Each edge of this graph comes from a cycle block whose two edges at have colors , respectively. Each edge of color incident to creates at most one neighbor of in . Hence . Therefore, every connected component of is a path, a cycle, or an isolated vertex, and a tree decomposition of of width at most two can be constructed in linear time.
Next consider the local graph corresponding to a cycle block Q. Since the edges of each color on Q are connected, they form a path on Q or cover the entire cycle. Denote these colors by in their order around the cycle. In the local graph, Q is adjacent to all these colors, and the added edges between colors join only pairs consecutive in the cyclic order. When , the bags , , taken in this order, cover all local edges, and each vertex occurs in consecutive bags; this decomposition has width at most three. When , take as the only bag.
For a bridge node e, its local graph consists only of the color vertex , so take as the only bag.
For every pair of adjacent nodes in the block–cutvertex forest, the intersection of their bags contains at most two vertices; if it contains two, these vertices are already joined in both local graphs. By the vertex and edge coverage requirements of a tree decomposition, each of the two local decompositions has a bag containing the entire intersection. Connect these two bags. Since the local decompositions are connected according to the structure of the block–cutvertex forest, the resulting structure is still a forest.
The construction covers all vertices of I, and every edge cQ is covered by the local decomposition for cycle block Q. For a color c, the nodes corresponding to the original bags containing c form a subtree of the block-cutvertex forest. Within each local decomposition, the bags containing c form a connected set; when local decompositions are connected along this subtree, both bags chosen for each connection also contain c. Thus, all bags containing c remain connected after the decompositions are joined. A cycle-block vertex Q appears only in its own local decomposition, where its bags are likewise connected. Finally, add an empty bag and connect it to one bag in each decomposition tree to obtain a tree decomposition of I.
The total number of incidences between blocks and colors is at most , and the total number of incidences between cutvertices and colors is at most . The number of added local edges is also . Hence the total size of all local graphs and their tree decompositions is . While constructing each local tree decomposition, also record the bags used for joining it to the others. Each edge of the block-cutvertex forest corresponds to one joining operation. The entire joining process takes time, so all connections can be completed in linear time.
4.2 An Exact Algorithm for Maximum Monochromatic Degree at Most Two
By Lemma 2.3, an optimal solution selects at most 2h colors. Let . For , write
Introduce a binary variable for each color and a binary variable for each cycle block. By (2),
Here, means that color is selected. If a selected color occurs on cycle , the constraints force ; otherwise, setting to zero improves the objective value. Thus, in an optimal solution, indicates precisely whether any edge of cycle is deleted.
Proof of Theorem 4.1. By Lemma 4.2, construct a tree decomposition of I of width at most three with bags, choose any bag as the root bag, and determine the parent and child bags accordingly. Assign each variable to the bag closest to the root that contains its corresponding vertex, and count its objective contribution and the corresponding color budget only at that bag. For each constraint , choose any bag containing both and , and check the constraint only at that bag.
For a bag X, let be its intersection with its parent bag; if X is the root bag, set . By the properties of a tree decomposition, if a variable occurs both in the subtree rooted at X and outside that subtree, it must belong to . Thus, when combining the subtree with the rest of the decomposition, it suffices to ensure consistency of the values on and to add the numbers of colors counted in the different parts. Feasible solutions with the same boundary assignment and color count have the same conditions for compatibility with the rest of the decomposition, so only the one with the largest contribution needs to be retained. Define the state to be the maximum total contribution of all variables assigned to bags in this subtree, subject to the boundary variables taking the values specified by , all constraints assigned to the subtree being satisfied, and exactly j selected colors being counted. Here, is a binary assignment to ; a color variable contributes , and a cycle-block variable contributes .
To compute , enumerate the values of the variables in and combine them with the boundary assignment to obtain an assignment to bag . Thus, . If violates any constraint assigned to bag , discard this assignment. This bag counts only the color budget and objective contribution of variables in . Denote these quantities by
and
Let be the set of child bags of . For each child bag , the values on its boundary are determined by , so we use the child state . Here, denotes the restriction of to , and is the color count of this child state. The sum of the color counts contributed by this bag and the child subtrees must equal , and their objective contributions can be added. This gives the recurrence
If is a leaf bag, there are no child states, and it suffices to maximize over feasible assignments satisfying . If no assignment satisfies the conditions, set ; otherwise, is the maximum contribution attainable by a feasible assignment, which may be negative.
The connectedness condition of the tree decomposition ensures that variables shared by different child subtrees occur in the current bag, so their values are consistently determined by . The weight and color budget of each variable are counted only once, at the bag to which it is assigned, and each constraint is checked exactly once. Induction from the leaves toward the root of the tree decomposition then establishes the correctness of the states and recurrence. At the root bag , we have .
The dynamic program needs to consider only color counts . Each bag contains at most four variables, so at most binary assignments need to be enumerated. For each assignment satisfying the constraints of the bag, first count the colors and weights associated with the variables assigned to this bag, and then merge the dynamic programming tables of its child bags one at a time.
Each merge only needs to enumerate the color counts of the part already merged and the current child bag; both counts are at most , so the merge takes time. The tree decomposition has bags, and each decomposition edge participates in only a constant number of merges. The total running time is therefore . After obtaining the values at the root bag, return the smallest satisfying , and recover the corresponding color set using the assignments and allocations of color counts stored in the transitions. For the decision version with budget , it suffices to further truncate the range of color counts to .
4.3 NP-Completeness for Maximum Monochromatic Degree at Most Three
We now retain color connectivity and allow the maximum monochromatic degree to reach three. We first give a construction in which deleting the colors corresponding to a set of source vertices increases the number of connected components by exactly the number of edges induced by those vertices in the source graph.
Given a connected simple graph with at least two vertices, create a common vertex . For each source edge , introduce two new vertices and construct a triangle . Each source vertex corresponds to a color , and the edges of the triangle are colored as follows:
where is a private color that occurs only once. Denote the resulting graph by G. It is a connected simple cactus graph whose triangles share only the vertex o. Each color class forms a star centered at o with edges.
Lemma 4.3. The construction satisfies the following equality for every integer :
Proof. For any color set L, write
Then .
For the triangle corresponding to a source edge , if its private color is not selected, it increases the number of components by one only when both are selected. If is selected, the increase contributed by this triangle equals the number of selected colors among . Applying (1) to each triangle gives
Take any color set satisfying . By (6), . If and , connectivity of implies that some vertex outside is adjacent to a vertex in . Adding it to creates at least one additional internal edge. Repeating this operation extends to a set of size exactly satisfying . If , simply take . If , then (6) gives , and any vertex set of size satisfies the required inequality. Therefore,
Conversely, take any vertex set satisfying , and let . Then , and (6) gives . Hence
Combining the two directions proves (5).
Theorem 4.4. The decision version of Minimum Label k-Cut is NP-complete when the input is a connected simple cactus graph whose triangles share only one common vertex, every color class is connected, and the maximum monochromatic degree is at most three.
Proof. We reduce from MINIMUM BISECTION on connected simple 3-regular graphs. Given a connected simple 3-regular graph H with 2t vertices and a nonnegative integer b, this problem asks whether there is a set S of size t with at most b edges between S and its complement. NP-completeness under this restriction can be found in [14].
Since , the source instance is necessarily a yes-instance when . In this case, output a triangle whose three edges have distinct colors, and set , . Deleting any two colors leaves exactly two connected components, so the output instance is also a yes-instance and satisfies the required graph and coloring restrictions. Henceforth, consider .
Apply the triangle construction above to , and set . Since is connected, the required increase in the number of components is . Let be the set of source edges with exactly one endpoint in . For any set with , 3-regularity gives . Thus,
By Lemma 4.3, there is a vertex set S of size t satisfying the inequality on the right if and only if there are at most t colors whose deletion leaves G with at least k connected components. This proves the equivalence of the reduction.
The triangles intersect only at vertex , so is a connected simple cactus graph. Since is 3-regular, the subgraph of each color is a , whereas each private color occurs only once. Thus every color class is connected and the maximum monochromatic degree is three. The construction has size and can be completed in polynomial time.
Finally, given a color set, its size and the number of connected components after deleting the corresponding edges can be checked in polynomial time, so the decision problem belongs to NP. ☐
Theorems 4.1 and 4.4 establish the monochromatic-degree boundary on cactus graphs with connected color classes: the problem is polynomial-time solvable when the maximum monochromatic degree is at most two; when the maximum monochromatic degree is allowed to reach three, the decision problem is already NP-complete even if each color occurs at most three times.
5 Parameterized Hardness on Outerplanar Graphs with Path Color Classes
Theorem 4.1 shows that Minimum Label k-Cut can be solved in polynomial time when the underlying graph is a cactus and every color class is a path or a cycle. In this section, we retain the restriction that every color class is a path and investigate whether this tractability extends to outerplanar graphs. We prove that the problem remains W[1]-hard parameterized by k even when the underlying graph is a fan graph. Thus, unless FPT = W[1], the preceding polynomial-time algorithm cannot be extended to all outerplanar graphs even under the restriction to path color classes.
For an integer , take a path on vertices, add a new vertex , and join it to every vertex of the path. The resulting graph is called a fan graph, where is called the center vertex and the rim path.
Theorem 5.1. The decision version of Minimum Label k-Cut is W[1]-hard parameterized by k, , and , respectively, even when the input is a simple fan graph and the edges of each color form an induced path in the underlying graph.
5.1 The Reduction Construction on Fan Graphs
We reduce from CLIQUE parameterized by the clique size , with a simple source graph . If , we output a triangle whose three edges have distinct colors and set and ; this is a fixed no-instance satisfying the input restrictions. In what follows, assume that and set
For each , order its incident source edges arbitrarily as . Create vertices and guard vertices , and join them into a path in the following order:
The paths are pairwise vertex-disjoint. Since , the first and last vertices of each are guard vertices; even if is isolated in the source graph, still contains at least one edge. Order the source vertices arbitrarily and, between each pair of consecutive paths, add an edge joining the last vertex of the former to the first vertex of the latter, obtaining a path . Then add a vertex and join it to every vertex of ; denote the resulting graph by .
For each source edge , introduce a color and color both and with . For each source vertex , introduce a new color and color every edge of the path with . Assign a distinct new private color to each remaining edge; these private colors are collectively called auxiliary colors.
Lemma 5.2 (Properties of the construction). The graph G is a simple fan graph of pathwidth at most two, and the edges of each color form an induced path in G. The size of the construction is , and both output parameters k and depend only on t.
Proof. By construction, is a simple fan graph. Denote the vertices of in order by . The bag sequence gives a path decomposition of width two.
For each source edge , the edges of color form the path . Since the first and last vertices of both and are guard vertices, the subgraph of induced by the vertex set is exactly the path . The edges of color form the path . Since is a contiguous subpath of and does not contain , the subgraph of induced by its vertices is exactly . Each auxiliary color occurs on only one edge, which also forms an induced path. Thus, all color classes satisfy the required condition.
The number of vertices of the path is . The graph has vertices and edges, and the number of colors does not exceed the number of edges. Since , the size of the construction is . Together with , this shows that the entire construction can be carried out in polynomial time. Finally, (7) shows that both and depend only on .
5.2 Upper Bounds on the Component Increase
Let be any color set satisfying . Define
and write and , with denoting the number of selected auxiliary colors. Thus, .
To facilitate counting components, delete from the edges joining distinct subpaths , obtaining an auxiliary graph . The paths are then connected to one another only through the vertex , and has the same vertex set as and remains connected. For any color set , additionally deleting these connecting edges from cannot decrease the number of connected components, so
Lemma 5.3. For any color set satisfying , the component increase after deleting these colors satisfies
Proof. Let denote the number of edges in incident with , and let be the number of edges such that and .
If , then , so every edge of the subpath is retained. The edges have pairwise distinct private colors, and . Hence, when at most colors are selected, at least one of these edges is retained. Therefore, all vertices of remain connected to .
If , then every edge of is deleted. Since the edges joining distinct subpaths have already been removed from , each vertex of can remain in the component containing the center only through its edge to ; if this edge is deleted, the vertex becomes isolated. For a vertex , the edge is deleted if and only if , so there are isolated vertices of this type. Summing over all and including the isolated vertices created by deleting edges accounts for all new components. All remaining vertices lie in a single connected component containing , and hence
Each edge in has at most two endpoints in , so . On the other hand, counting each edge with at least one endpoint in once, and then counting each edge with both endpoints in one additional time, gives
The last inequality uses the simplicity of and . Since the edges counted by have pairwise distinct auxiliary colors, we have . Combining (8) and (10) yields (9).
5.3 Correctness of the Reduction
Proof of Theorem 5.1. If induces a t-clique, let
Then . For each , both edges and are deleted, as are all edges of the subpaths and . Since and are internal vertices of their respective subpaths, the edges joining distinct subpaths are not incident with them, so both vertices become isolated. This yields 2M isolated vertices. All other edges incident with o are retained, so the remaining vertices belong to the same connected component containing o. Hence, has exactly connected components.
Conversely, suppose that and . The first inequality in (9) and give
Since , we obtain . Suppose that . Then the second inequality in (9) gives
However, since ,
a contradiction. Therefore, b = t.
Substituting into (11) yields . The budget constraint now gives , while and give , so . Combining (8) and (10), we have
Thus, all the inequalities above hold with equality. Each edge in contributes at most two to the sum, so equality requires both of its endpoints to belong to . Hence, there are distinct source edges among the vertices of . Since is simple, induces a -clique.
Together with Lemma 5.2, the construction gives FPT reductions for the parameters , , and , respectively, proving the theorem.
6 Conclusion
We have proved that Minimum Label k-Cut on simple planar graphs is W[1]-hard parameterized by k, thereby resolving the fixed-parameter tractability question posed by Fomin et al. under the assumption that FPT W[1]. This hardness persists on cactus graphs of maximum degree at most three and pathwidth at most two, with each color occurring at most twice. Thus, sparsity of the underlying graph and low color frequency are both insufficient to guarantee fixed-parameter tractability with respect to the target number of components.
For cactus graphs with connected color classes, we have established a boundary for polynomial-time solvability between maximum monochromatic degrees two and three. When the maximum monochromatic degree is at most two, an optimal solution can be found in time, and the algorithm allows color classes to contain arbitrarily many edges and span arbitrarily many blocks. When the maximum monochromatic degree is allowed to reach three, the decision problem is already NP-complete even if every color class is a single edge or a three-edge star. Together, these two results show that, within this graph class, allowing connected color classes to branch changes the polynomial-time solvability of the problem.
The reduction on fan graphs further preserves color connectivity and the bound of two on the maximum monochromatic degree, yet still yields W[1]-hardness parameterized by k. Thus, the block structure of cactus graphs is an important condition for the positive result above; once the class of underlying graphs is enlarged to outerplanar graphs, requiring color classes to be paths is no longer sufficient to obtain a corresponding algorithm. Both parameterized hardness results in this paper also apply to the color budget and the combined parameter , respectively.
References
[1] D. Coudert, S. Pérennes, H. Rivano, and M.-E. Voge. Combinatorial optimization in networks with Shared Risk Link Groups. Discrete Mathematics & Theoretical Computer Science 18(3), Article 8, 2016. https://doi.org/10.46298/dmtcs.1297.
[2] Y. Wang and Y. Desmedt. Edge-colored graphs with applications to homogeneous faults. Information Processing Letters 111(13):634–641, 2011. https://doi.org/10.1016/j.ipl.2011.03.017.
[3] R. Hou, J.-G. Wu, Y. Chen, H. Zhang, and X.-F. Sui. Constructing Edge-Colored Graph for Heterogeneous Networks. Journal of Computer Science and Technology 30(5):1154–1160, 2015. https://doi.org/10.1007/s11390-015-1551-0.
[4] S. Jha, O. Sheyner, and J. M. Wing. Two Formal Analyses of Attack Graphs. In Proceedings of the 15th IEEE Computer Security Foundations Workshop, pp. 49–63, 2002. https://doi.org/10.1109/CSFW.2002.1021806.
[5] K. R. Rohloff, S. Khuller, and G. Kortsarz. Approximating the Minimal Sensor Selection for Supervisory Control. Discrete Event Dynamic Systems 16(1):143–170, 2006. https://doi.org/10.1007/s10626-006-6187-3.
[6] P. Zhang. Efficient Algorithms for the Label Cut Problems. In TAMC 2014, pp. 259–270, 2014. https://doi.org/10.1007/978-3-319-06089-7_18.
[7] V. J. de Sousa Koehler, T. Gouveia, G. F. de Sousa Filho, L. S. Ochi, P. Michelon, S. Gueye, and L. A. F. Cabral. Solving the minimum labeling global cut problem by mathematical programming. International Transactions in Operational Research 33(3):1678–1704, 2026 (published online 2024). https://doi.org/10.1111/itor.13571.
[8] L. Jaffke, P. T. de Lima, T. Masařík, M. Pilipczuk, and U. S. Souza. A Tight Quasi-Polynomial Bound for Global Label Min-Cut. ACM Transactions on Algorithms 22(2), Article 23, 2026. https://doi.org/10.1145/3796220.
[9] F. V. Fomin, P. A. Golovach, T. Korhonen, D. Lokshtanov, and S. Saurabh. Fixed-Parameter Tractability of Hedge Cut. In SODA 2025, pp. 1402–1411, 2025. https://doi.org/10.1137/1.9781611978322.43.
[10] K. Chandrasekaran and C. Chekuri. Hypergraph k-Cut for Fixed k in Deterministic Polynomial Time. Mathematics of Operations Research 47(4):3380–3399, 2022. https://doi.org/10.1287/moor.2021.1250.
[11] K. Chandrasekaran, C. Xu, and X. Yu. Hypergraph k-cut in randomized polynomial time. Mathematical Programming 186:85–113, 2021. https://doi.org/10.1007/s10107-019-01443-7.
[12] K. Fox, D. Panigrahi, and F. Zhang. Minimum Cut and Minimum k-Cut in Hypergraphs via Branching Contractions. ACM Transactions on Algorithms 19(2), Article 13, 2023. https://doi.org/10.1145/3570162.
[13] E. Chlamtáč, M. Dinitz, and Y. Makarychev. Minimizing the Union: Tight Approximations for Small Set Bipartite Vertex Expansion. In SODA 2017, pp. 881–899, 2017. https://doi.org/10.1137/1.9781611974782.56.
[14] V. Jelínek, E. Jelínková, and J. Kratochvíl. On the Hardness of Switching to a Small Number of Edges. Journal of Graph Theory 113(2):237–251, 2026. https://doi.org/10.1002/jgt.70063.