Manuscript Offprint
arXiv:2610.27289Parameterizing Cluster Editing by the Number of Deletions
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
In CLUSTER EDITING, we are given a graph G and an integer k and ask whether at most k edge insertions and deletions turn G into a disjoint union of cliques. Komusiewicz and Niedermeier asked in 2012 at MFCS whether CLUSTER EDITING is fixed-parameter tractable with respect to the number of edge deletions, a parameter based on the solution rather than on the structure of the input graph. We answer this question negatively: CLUSTER EDITING with at most k edits, at most of which are deletions, is W[1]-hard with respect to , even when combined with the pathwidth and the feedback edge set number of the input graph. The hardness extends to editing towards H-free graphs for every graph H that is a clique minus one edge on at least four vertices. On the positive side, we show that the problem becomes fixed-parameter tractable when is combined with the excess of k over the lower bound given by a packing of modification-disjoint induced paths on three vertices, a lower bound that state-of-the-art solvers use. Each of the two parameters alone leads to intractability, but together they admit an -time algorithm and a problem kernel with vertices. Both results extend to packings of stars and the algorithm extends to H-FREE EDITING.
2012 ACM Subject Classification Theory of computation → Parameterized complexity and exact algorithms; Theory of computation → Graph algorithms analysis
Keywords and phrases Cluster Editing, parameterized complexity, solution-based parameters, above-guarantee parameterization, kernelization, W[1]-hardness
Acknowledgements This work was initiated at a research retreat around Rolf Fest held in Jena, Germany, in July 2026. We thank Falk Hüffner for interesting discussions.
Parameterizing Cluster Editing by the Number of Deletions
1 Introduction
In CLUSTER EDITING we are given a graph G and an integer k and want to know whether at most k edges can be toggled (deleted if present, added if not) such that G becomes a cluster graph, a disjoint union of cliques (equivalently, a -free graph). It is one of the proving grounds for parameterized algorithms, serving as touchstone for kernelization [35, 53, 15], subexponential algorithms and matching running time lower bounds [29, 44], fixed-parameter enumeration [19], structural and other alternative parameterizations [44, 1], above-guarantee parameterizations [57, 46], and algorithm engineering [7, 37, 3], including the PACE challenge 2021 [41]. It was subject to a race improving the base of the exponential running-time part from 2.27 [35] via a series of improvements [34, 6, 8] to 1.62 [5], and to a race decreasing the kernel size from vertices [35] via 24k [26] and 4k [36] to 2k vertices [15, 12].
About 15 years ago, another race started for many parameterized problems; the race to prove tractability results for smaller and smaller parameters [51, 25, 43] (see also ref.s [54, 4, 20]). The most salient direction that researchers focused on here was to explore how graph problems behave under different graph-structural parameterizations. This has resulted in an immense range of papers and it is by now fairly well understood which structural graph parameters yield tractability for which classical problems; see, e.g., algorithmic meta-theorems [16, 17, 9], the studies introducing various tructural parameters [27, 31, 45, 30, 21], and systematic studies of individual problems [38, 48]. The initial ideas were much broader, however. For instance, Komusiewicz and Niedermeier [43] proposed studying solution-based parameters: parameterizing by features of the solution, including above- or below-guarantee parameterizations, but also other structural features of the solution. While a number of case studies exist [40, 42, 44, 47, 29, 55, 39, 14, 1, 28, 56, 32], solution-based parameters have been studied far less systematically and are less well understood. We contribute to closing this gap by studying a natural solution-based parameter for CLUSTER EDITING.
In particular, Komusiewicz and Niedermeier asked whether CLUSTER EDITING is fixed-parameter tractable with respect to the number of allowed edge deletions [43, p. 26]: Clearly, and the case is trivial. More generally, there is a trivial -time algorithm. In Section D we show that on a large fraction of PACE Challenge 2021 instances, the median value of is 0.73 times the optimal number of edits, which would make it an interesting replacement for in FPT algorithms. Bounding the modifications locally has been studied: Komusiewicz and Uhlmann [44] bound the number of edits incident to each vertex, and Abu-Khzam [1] separately bounds the numbers of additions and deletions incident to each vertex, showing NP-hardness even when each vertex is incident to at most one deletion and two additions. The global number of deletions, however, has surprisingly not been studied so far; we aim to close this gap. The bad news up front is that CLUSTER EDITING parameterized by is W[1]-hard.
Towards the good news, a second motivation for our research comes from the unreasonable effectiveness of practical implementations for CLUSTER EDITING: The most effective algorithms are based on fixed-parameter algorithms for k [41, 3]. But this parameter is relatively large in practical data (see Section D), yet the algorithms are quite efficient. What explains this? One direction that researchers have explored is that the lower bounds employed by the implemented algorithms [33, 3] are quite close to the optimal solution (see also Section D); in particular they use packings of modification-disjoint or stars, where modification disjointness means that each two packed do not overlap in two vertices. However, parameterizing CLUSTER EDITING by the number of edits beyond the lower bound given by a modification-disjoint packing of results in a para-NP-hard problem [46]. Hence, this is no theoretical explanation of the observed efficiency. While parameterizing above a vertex-disjoint packing of yields fixed-parameter tractability [57], this parameter is still often large in practice (Section D). Towards explaining this discrepancy, we in particular show that CLUSTER EDITING becomes fixed-parameter tractable when parameterizing above a modification-disjoint -packing (which is practically close to zero) together with the number of deletions (which is often significantly smaller than , see Section D). It also allows for a polynomial-size problem kernel wrt. and combined and both these results transfer to the case where we replace by the excess over a modification-disjoint star packing.
Towards a more general understanding, we then broaden our attention to H-FREE EDITING, where for some fixed graph H we want to toggle at most k edges in an input graph G to ensure that the resulting graph is H-free, that is, it has no copy of H as an induced subgraph. Similar to CLUSTER EDITING, H-FREE EDITING is NP-hard [2] and FPT wrt. k [10]. A well-known special case is DIAMOND-FREE EDITING, which corresponds to H being missing one edge, where even polynomial-size problem kernels are known [13]; their existence is settled for some other special cases of H as well [49]. When parameterizing H-FREE EDITING with the number of deletions , the picture changes: Aravind, Sandeep, and Sivadasan [2] showed that adding edges to make a graph H-free is NP-hard whenever H misses at least two edges. This leaves H-FREE EDITING NP-hard for in these cases. Otherwise, if H misses at most one edge, then H-FREE EDITING WITH FEW DELETIONS is trivially in XP by guessing the deletions and then adding the missing edge for each induced copy of H. As we show, it is also W[1]-hard with respect to . On the positive side, we show that the above fixed-parameter algorithms for CLUSTER EDITING with respect to combined with transfer to H-FREE EDITING when replacing the underlying packing of with a packing of copies of H. We leave open whether polynomial-size problem kernels exist for this parameterization.
Organization and results After formally defining CLUSTER EDITING WITH FEW DELETIONS and H-FREE EDITING WITH FEW DELETIONS and collecting notation in Section 2, we prove our hardness results in Section 3. Theorem 3 shows that CLUSTER EDITING WITH FEW DELETIONS is W[1]-hard parameterized by , even combined with the pathwidth and the feedback edge set number of the input graph. This answers the question of Komusiewicz and Niedermeier [43, p. 26] negatively. The reduction is from MULTICOLORED CLIQUE and adapts a reduction of Enciso et al. [23] for equitable connected partitions. Theorem 5 extends the hardness to H-FREE EDITING WITH FEW DELETIONS for every with , with the feedback vertex set number in place of the feedback edge set number. In Section 4, we combine with the excess above a modification-disjoint -packing. Theorem 7 solves CLUSTER EDITING WITH FEW DELETIONS in time, Theorem 12 transfers fixed-parameter tractability to H-FREE EDITING WITH FEW DELETIONS, with the excess over a modification-disjoint packing of induced copies of in place of , and Theorem 13 replaces the -packings in Theorem 7 by packings of stars with corresponding excess . We then give a kernel for CLUSTER EDITING WITH FEW DELETIONS with vertices and edges (Theorem 16) and a polynomial kernel for (Theorem 22). Section 6 concludes with open questions. Proofs of results marked with are deferred to the appendix, which also contains our experiments (Section D).
Parameterizing Cluster Editing by the Number of Deletions
and a set , the graph , where is the symmetric difference, is obtained by toggling every pair in . The pairs in are the edge deletions, and the pairs in are the edge additions. Our study deals mainly with the following problem.
CLUSTER EDITING WITH FEW DELETIONS
Input: An undirected graph and non-negative integers and .
Question: Is there a set such that , , and is a cluster graph?
We also consider the following generalization. Let H be a graph. A graph G is H-free if it does not contain an induced subgraph isomorphic to H. For example, the -free graphs are exactly the cluster graphs.
H-FREE EDITING WITH FEW DELETIONS
Input: An undirected graph and non-negative integers and .
Question: Is there a set such that , , and is H-free?
Our algorithms use lower bounds given by packings of induced subgraphs. For an induced subgraph of , we call the modification set of : toggling a pair in changes , whereas toggling a pair outside does not. A collection of induced subgraphs of is modification disjoint if their modification sets are pairwise disjoint, that is, if any two of them share at most one vertex. If is isomorphic to for some , for instance if is a , then we call the unique pair of nonadjacent vertices of its missing pair miss().
For a graph , let denote its pathwidth, let denote the minimum size of a vertex set whose removal makes a forest, and let denote the minimum size of an edge set whose removal makes a forest. We write for a positive integer .
Parameterized complexity. We use standard notions of parameterized complexity [18, 22, 50]. A decision problem is a set whose elements are called instances, together with a subset of whose elements are called the yes-instances. The remaining instances are the no-instances. A parameterized problem is a pair of a decision problem and a computable function , the parameterization; for an instance , the number is its parameter. The problem is fixed-parameter tractable (FPT) if there is an FPT-algorithm, that decides every instance in time for some computable function . Showing that a parameterized problem is -hard shows that it is presumably not fixed-parameter tractable, since otherwise FPT = W[1], which is considered unlikely. A problem kernel is a polynomial-time algorithm that maps every instance to an equivalent instance , that is, is a yes-instance if and only if is, such that for some computable function , the size of the kernel. If is a polynomial, then the kernel is a polynomial kernel.
One common technique for designing FPT-algorithms is branching: A branching rule for is a partial map from to the set of finite subsets of , and the instances on which is defined are the instances that applies to. The rule is safe if every instance that it applies to satisfies: is a yes-instance of if and only if contains a yes-instance of .
3 Hardness
We resolve the open question of Komusiewicz and Niedermeier [43] in the negative by showing that CLUSTER EDITING WITH FEW DELETIONS is W[1]-hard with respect to (Section 3.2). Afterwards, we generalize the result to H-FREE EDITING WITH FEW DELETIONS (Section 3.3) for all graphs H that are a clique minus one edge, such as diamonds. Both reductions share a common core, the choice graph, which we introduce first (Section 3.1).
The hardness is based on the following idea. With only few deletions allowed, we may be forced to cut an input graph into connected components such that the remaining edit budget suffices to complete them into cliques. Since completing a sparse graph requires roughly a quadratic number of edge additions, the overall number of additions is minimized if the connected components after the deletions have pairwise equal size. Indeed, Enciso et al. [23, Thm. 1] showed that partitioning a graph into connected parts whose sizes differ by at most one is W[1]-hard parameterized by . We closely follow their reduction from MULTICOLORED CLIQUE, which encodes vertex and edge choices by the positions at which specific paths are cut. Recall that an instance of MULTICOLORED CLIQUE consists of a graph together with a partition of its vertex set into color classes, and the parameter ; we refer to the index of as a color. It is a yes-instance if contains a clique containing exactly one vertex of every color class. We assume without loss of generality that each color class contains vertices, say , and that there are at least color classes.
3.1 Choice Gadgets and the Choice Graph
Both reductions are based on the choice graph which allows us to select the vertices and edges of the clique in in terms of so-called choices. The choice graph is built from so-called choice gadgets which differ between the two reductions, but share the following structure. Let be a positive integer and let with . An -choice gadget from a vertex to a vertex is a graph with , the endpoints of , together with options , each of which is a vertex or an edge of ; the option has value . The vertices in are the inner vertices of .
For integers and , we say that has the -option property if, for every , removing from leaves a connected component containing with exactly inner vertices and a different connected component containing with exactly inner vertices. That is, choosing an option of value splits the gadget such that receives a share that is proportional to and a share that is proportional to .
▶ Construction 1 (Choice graph). We are given a choice gadget construction and an instance of MULTICOLORED CLIQUE with above naming and assumptions. Let and fix an arbitrary ordering of the edges such that . We call the identifier of the edge . Set and, for distinct , define
.
For each ordered color pair with , create two anchor roots and . For , let be the cyclic permutation of that maps every color to the next larger one, and the largest one to the smallest one. For every ordered color pair , add the following three new choice gadgets (see Figure 1):
-
a local gadget, which is an -choice gadget from to ;
-
a successor gadget, which is an -choice gadget from to ; and
-
a mirror gadget, which is an -choice gadget from to .
Let Q be the set of all these choice gadgets. The resulting graph is the choice graph.
The choice graph has anchor roots and choice gadgets, which pairwise intersect at most in a common endpoint. Every anchor root is an endpoint of
Parameterizing Cluster Editing by the Number of Deletions

Figure 1 Left: the choice graph for . Each choice gadget is represented by one edge. For each color, the local and successor gadgets form a four-cycle; the mirror gadgets join different color cycles. Right: the (, 6)-choice gadget from to of Construction 2; deleting its option (labeled with its value) leaves exactly that many of its six inner vertices in the component of .
exactly three choice gadgets: of the three choice gadgets for , and of the local gadget for , the successor gadget for , and the mirror gadget for . If all choice gadgets are connected, then so is the choice graph: the local and successor gadgets of color form a cycle through all color- anchor roots; the mirror gadgets connect these cycles.
A selection chooses one option of every choice gadget . If is an -choice gadget from to and has value , then contributes to and to . The selection is balanced if every anchor root receives contributions summing to exactly from its three incident choice gadgets. Note that these notions only depend on the parameters and the options of the choice gadgets, but not on their structure.
▶ Lemma 1 (★). For every choice gadget construction, the choice graph returned from Construction 1 has a balanced selection if and only if the given instance of MULTICOLORED CLIQUE is a yes-instance.
Reading in base explains the construction: its -digit represents a vertex index, and its unit digit represents an edge identifier. Choosing the option of value in the local gadget for thus chooses the vertex together with an incident edge into with identifier . The successor gadgets pass on vertex indices only, forcing all local gadgets of color to choose the same vertex; the mirror gadgets pass on edge identifiers only, forcing the local gadgets for and to choose the same edge. We give the details in Section A.1.
In both reductions, a solution will cut every choice gadget by removing its chosen option, and the option property translates contributions into numbers of vertices.
▶ Observation 2. Suppose that every choice gadget of the choice graph has the -option property, and let be a selection. After removing all options , every anchor root lies in its own connected component, which contains exactly inner vertices of choice gadgets, where is the sum of the contributions of the three choice gadgets incident with . In particular, all these components contain exactly inner vertices if and only if the selection is balanced.
Proof. Since choice gadgets pairwise intersect at most in a common endpoint, the component of v consists of v and, for each of the three choice gadgets Q incident with v, the component of containing v. By the option property, the latter does not contain the other endpoint of Q, and it contains exactly inner vertices if Q contributes a to v.
3.2 Hardness for Cluster Editing
▶ Theorem 3 (★). CLUSTER EDITING WITH FEW DELETIONS is W[1]-hard parameterized by the deletion budget . The hardness also holds for the combined parameter .
For CLUSTER EDITING WITH FEW DELETIONS, the choice gadgets are paths with attached leaves, and their options are edges.
▶ Construction 2 (Choice gadget for Theorem 3). For with , an -choice gadget from a vertex to a vertex is constructed as follows. Create a path with and . Attach new leaves to , new leaves to for , and new leaves to . We call the spine vertices and the edges of the spine edges of the choice gadget. The options are the spine edges, where has value for .
The choice gadget has inner vertices; deleting option leaves of them in the component of and the other in the component of . So it has the -option property.
The choice graph alone does not quite do the trick; we need to ensure that merging two anchor roots is unaffordable by attaching many leaves to each anchor root, making it part of a large star. The unaffordability is captured by Lemma 4 below.
▶ Lemma 4 (★). Let be a graph and let , , and be integers such that and let . Suppose that contains pairwise vertex-disjoint induced stars, each with vertices. Let be a cluster graph obtained from by at most edge edits, of which at most are deletions. Then no cluster of contains more than one center of the stars.
Turning the anchor roots into big stars finishes our construction.
▶ Construction 3. Given an instance of MULTICOLORED CLIQUE with graph J and a partition of its vertices into , each of size , with , we construct an instance of CLUSTER EDITING WITH FEW DELETIONS as follows.
Apply Construction 1 using Construction 2 for the choice gadgets and the above instance. Define . To each anchor root, we attach new leaves, its private leaves; together with the anchor root, they form a star with vertices, the anchor block of the anchor root. Call the resulting graph with vertices and edges. Finally, set and .
Let us give some intuition for the correctness. We have vertices in anchor blocks. Each local, successor, and mirror gadget has, respectively, , , and non-endpoint vertices; this sums to . Therefore, we have vertices.
After using the deletion budget, we have remaining edges. By Lemma 4, each anchor root is in its own cluster, so we have at least clusters. The remaining addition budget thus suffices to obtain a cluster graph only if after the deletions, we have exactly size- components which in turn is only possible if the deletion budget was used to obtain a balanced selection, allowing us to invoke Lemma 1.
3.3 Hardness for H-free Editing
We now turn to H-FREE EDITING WITH FEW DELETIONS, H being a clique minus one edge.
▶ Theorem 5 (★). For every fixed and , H-FREE EDITING WITH FEW DELETIONS is W[1]-hard parameterized by the deletion budget . The hardness also holds for the combined parameter .
Parameterizing Cluster Editing by the Number of Deletions
(a)

detaching costs one deletion, cuts the path, and takes vertices out of the clusters
(b)
Figure 2 (a) An -choice gadget for H-FREE EDITING WITH FEW DELETIONS with option vertices (squares), its filler segments (small circles, with the number of vertices indicated), and a vertex of the clique (dotted edges). Deleting the edge detaches the grey option vertex : among the attached vertices, the leaves of become isolated and the two sides of the choice gadget fall apart; the left side then contains inner vertices and the right side inner vertices. (b) The anchor block of an anchor root : a star with leaves together with pairwise disjoint shields (cliques on vertices, each completely joined to ). Dotted edges lead to the clique , which is complete to and to the clique ; the latter keeps the edges inside undeletable.
We again use the choice graph from Section 3.1 and follow the ideas of Theorem 3. Lifting them to requires the following ingredients (see Figure 2).
-
A universal clique. We add a clique Z on vertices that is complete to the graph consisting of the choice graph and the anchor blocks. As long as none of these edges are deleted, every induced in forms an induced H together with Z; hence, has to be turned into a cluster graph, just as for CLUSTER EDITING WITH FEW DELETIONS.
-
Protecting Z. A further clique W on vertices that is complete to Z makes it impossible to delete edges inside Z.
-
Detaching as a new way of cutting. A solution may also delete edges between Z and a vertex x of . Such a detached vertex no longer needs to be in a cluster with its neighbors in , so a single deletion may cut a choice gadget at x (details after Construction 5). We design the choice gadgets such that detaching one of their designated option vertices is the only affordable way to cut them.
-
Shields. Detaching an anchor root would cut all of its choice gadgets at once. To prevent this, every anchor root receives disjoint cliques on vertices, called shields, such that detaching it requires a deletion in every shield, which would be too expensive.
-
Back to cluster editing. With these ingredients, the attached vertices induce a cluster graph, and the detached vertices interact only in a controlled way with its clusters (Lemma 6). Isolating the detached vertices yields a cluster graph that is close to and to which Lemma 4 applies as in Theorem 3.
▶ Construction 4 (Choice gadget for Theorem 5). Let and . For with , an -choice gadget from a vertex to a vertex is constructed as follows (see Figure 2(a)). Introduce option vertices . For each , create a filler segment , which is a path on filler vertices with
Create a path, the spine, by concatenating . Its vertices other than and are the inner spine vertices. Finally, attach new leaves to each option vertex . The options are the option vertices, where has value for .
Recall that the inner vertices of the choice gadget are all its vertices other than and , including the leaves. Removing option leaves and the leaves of in the component of , that is, inner vertices by Equation (1). Symmetrically, the component of has inner vertices. So the choice gadget has the -option property. Unlike for CLUSTER EDITING WITH FEW DELETIONS, and its leaves belong to neither component. By Observation 2, the anchor roots should thus receive inner vertices each.
▶ Construction 5. Given an instance of MULTICOLORED CLIQUE with graph J and a partition of its vertices into , each of size , with , we construct an instance of H-FREE EDITING WITH FEW DELETIONS as follows (see Figure 2(b)).
Apply Construction 1 using Construction 4 for the choice gadgets and the above instance. Let . To each anchor root , we add new leaves, each adjacent to . Moreover, we add so-called shields: pairwise disjoint cliques on new vertices that are all adjacent to . The anchor block of consists of , its leaves and its shields. Hence, the anchor block has vertices. Let be the graph formed by the choice graph plus the anchor blocks, and let and be the number of its vertices and edges. To , add a set of new vertices that form a clique and are all adjacent to all vertices in . Further, add a set of new vertices that form a clique and are all adjacent to all vertices in (but have no neighbor in ). Call the resulting graph . Finally, set and .
We now give details to Ingredient 3. Consider a solution respecting the bounds and and let . If contains no deletion incident with a vertex of , then is a clique that is complete to in , and is -free if and only if is a cluster graph. The solution may however delete edges between and (and this is the intended mechanism in our reduction). Hence, we record for each vertex the set of neighbors in it loses in a solution, that is, we let . We call a vertex detached if , i.e., at least one edge between and was removed, and attached otherwise. Denote by the set of detached and by the set of attached vertices in . Solutions with at most deletions have the following properties.
▶ Lemma 6 (★). Let have at most deletions. If is H-free, then, with X, Y, and the sets defined with respect to ,
(i) Z induces a clique in ;
(ii) is a cluster graph; and
(iii) every detached vertex is adjacent to at most vertices of a cluster of .
With this, the correctness follows the lines of Theorem 3; see Section A.3 for the full proof. First, no anchor root v is detached: otherwise, as v has more than shields, some shield
Parameterizing Cluster Editing by the Number of Deletions
of is not incident with any deletion, and is adjacent to all of its vertices, which are attached and lie in one cluster, contradicting Lemma 6(iii). Second, isolating the detached vertices yields a cluster graph ; as all detached vertices have small degree, arises from by few deletions, and Lemma 4 shows that no cluster of , and hence of , contains two anchor roots. Thus, every choice gadget has to be cut, by detaching one of its inner spine vertices or by deleting a spine edge, and as , every choice gadget is cut exactly once. Third, cutting at a filler vertex or at a spine edge leaves more vertices in the components of the anchor roots than detaching an option vertex, which also cuts off its leaves; by convexity, the addition budget then does not suffice. Hence, the detached vertices are option vertices, one per choice gadget, and, as for CLUSTER EDITING WITH FEW DELETIONS, the budget forces all components of anchor roots to have the same size . By Observation 2, the detached option vertices thus form a balanced selection, and Lemma 1 yields a multicolored clique.
4 FPT-algorithms wrt. Deletions Combined with Above-guarantees
4.1 Cluster Editing with Few Deletions
We now prove the following.
▶ Theorem 7 (★). An instance of CLUSTER EDITING WITH FEW DELETIONS given together with a modification-disjoint collection P of induced 's of the input graph can be decided in time, where .
The basic strategy is to first tentatively add all missing edges of the s in the packing. If this gives a cluster graph, we have found a solution. Otherwise, we can find an induced , say Q, in the augmented graph. As we will see, there is always a solution that either adds the missing edge, yielding excess over the packing, or performs an edge-deletion in the neighborhood of Q.
For an induced of with edges and , the definitions in Section 2 give and ; these are precisely the three vertex pairs whose toggling destroys . In the following we assume that, along with the instance, we are given a modification-disjoint collection of induced 's of the input graph, and we define the above-guarantee parameter . Clearly, if , then we face a no-instance and we thus assume . We may also assume that is inclusion-maximal: further induced 's whose modification sets are disjoint from those of the current members can be added greedily, each decreasing by one.
For a modification-disjoint collection of induced 's of , let collect the missing pairs of the members of and let
be the graph obtained from by adding all of them. Distinct members of have disjoint modification sets and hence distinct missing pairs, so . Adding is thus a cheapest way of destroying all members of , and it is the only such way that spends no deletion. We treat it as the default and deviate from it only when forced to.
We call a tuple a packed instance if is an instance of CLUSTER EDITING WITH FEW DELETIONS and is a modification-disjoint collection of induced 's of , and we call it a yes-instance if is one.
The rule below destroys a fixed induced of with edges and . A cluster graph contains no induced , so a solution adds or keeps one of and out

Figure 3 Branching Rule 8 applied to the induced on , , of , in the case that is the missing pair of the member of on , , , and that is an edge of . Keeping out removes from the collection, so the pair is no longer added and has to be destroyed by one of its own two edges; this is the item that produces two packed instances rather than one.
of the cluster graph, and the rule branches on these three possibilities. Adding is an edit of outside and is charged as one towards . For the other two the pair kept out may or may not be an edge of , and the case in which it is not does not immediately reduce the parameter. To deal with that, say we keep out the nonedge of . There is an induced in that was responsible for being added to . Keeping out now means that we also have to delete one of the other edges of this , giving an additional deletion which decreases parameter . Figure 3 shows the resulting packed instances in this case.
Each produced packed instance thus records one edit, a toggled pair , and it is given the collection of those members that this edit leaves intact.
▶ Branching Rule 8. Let be a packed instance such that is not a cluster graph, and let induce a in with edges and . Produce the following packed instances.
-
.
-
For each with , the packed instance .
-
For each with , let denote the member of with and produce, for each of the two edges , the packed instance .
We next verify that the rule is well defined, decreases , and that it is safe.
▶ Lemma 9 (★). Branching Rule 8 is well defined and produces at most five packed instances. Every produced packed instance satisfies .
▶ Lemma 10. Branching Rule 8 is safe.
Proof. Each packed instance produced by the rule has the form with for a single pair , where if and otherwise: in Item 1, and in Items 2 and 3. The graphs and differ only in the pair . Hence every satisfies , and every pair lies in if and only if it lies in .
Suppose first that one of the produced packed instances is a yes-instance, and let be a solution of . Then satisfies that is a cluster graph and . Every pair in other than lies in , so if and otherwise. Thus is a yes-instance.
Suppose conversely that is a yes-instance and let be a solution of . We claim that contains the pair of one of the produced packed instances. This finishes the proof: satisfies that is a cluster graph, , and , which has size if
Parameterizing Cluster Editing by the Number of Deletions
and size otherwise; so the packed instance for is a yes-instance. It remains to prove the claim. The graph is a cluster graph and thus contains no induced , so or or . In the first case gives , the pair of Item 1. In the remaining cases let with . If , then , the pair of Item 2 for . If , then and ; since is an induced in we have , so contains one of the two edges of , and these are the pairs of Item 3 for .
From the safety of Branching Rule 8 and the fact that it is a 5-way branching that decreases by at least one in each case we would now straightforwardly get a -time algorithm. With the following observation we can reduce the exponential part to : If induce a in which at most one of and is not in , then the branching factor is 4 instead. Such a always exists:
▶ Lemma 11. Let P be a modification-disjoint collection of induced 's of a graph G and suppose that is not a cluster graph. Then contains three vertices that induce a in which at least one of the two edges is an edge of G.
Proof. Let induce a in with edges and . If one of these two pairs lies in , then we are done, so assume that both lie in miss(). Let be the member with miss( and let be its third vertex, and let be the member with miss( and let be its third vertex. Then .
The vertices are pairwise distinct. Indeed, and because and are 's; because whereas ; by the symmetric argument; and because otherwise , contradicting modification disjointness.
For the required , recall that . If , then induce a with . If , then induce a with .
Combining Lemmas 9–11 now gives Theorem 7.
4.2 Generalization to H-free Editing
Let and , that is, the graph on vertices with edges. Given a modification-disjoint collection of induced copies of in the input graph, with missing pairs and modification sets as defined in Section 2, let . (Note that we overload here; in the context of CLUSTER EDITING it instead means the excess over a packing of s and it will always be clear what is meant from the context.)
▶ Theorem 12 (★). Let and . An instance of H-FREE EDITING WITH FEW DELETIONS given together with a modification-disjoint collection of induced copies of in the input graph can be decided in time, where .
The algorithm adapts the one of Theorem 7. It takes adding the missing pairs of all members of H as the default and branches on an induced copy R of H in the resulting graph: it either adds the missing pair of R, which uses up excess, or deletes an edge of R, or, if that edge is the missing pair of a member of H, deletes one of the edges of that member, which uses up a deletion.
4.3 CEwFD with Modification-disjoint Star Packings
We consider a parameterization above a guarantee given by a packing of other induced subgraphs. For a star on at least 3 vertices, let . On the one hand, note that any star can be turned into a cluster graph by modifying edges, namely by deleting this many edges. On the other hand, any edge modification of to a cluster graph, requires at least modifications.
Let be a collection of modification-disjoint induced stars in , each with at least 3 vertices, and let .
▶ Theorem 13. CEwFD is FPT with respect to the combination of and .
We first bound the size and the number of large stars in S.
▶ Observation 14. Let be a packed instance. If there is a star with more than vertices, then there is no solution.
Proof. Indeed, even if we delete edges from , there are still at least vertices left, which end up in the same connected component. Hence, the corresponding clique needs at least edges. But at most of them are present and at most another was counted for in the lower bound . So, we would have to add at least extra edges, which exceeds .
▶ Observation 15. Let be a packed instance. If there are more than stars of size at least 4 in , then there is no solution.
Proof. Each star with vertices requires at least one edge deletion or at least edge additions, which is at least since . Thus, if there are more than such stars, then any solution requires more than edge modifications or more than deletions.
Proof of Theorem 13. By Observations 14 and 15, we know that each star in contains at most vertices and there are at most stars with more than 3 vertices (non-s). Therefore, the total number of vertices contained in non- stars in is in and we can guess the cluster graph on these vertices (the number of possible partitions of these vertices is clearly upper-bounded by some function of ), remove the non- stars from , and compute the remaining budget and of edge modifications. In the remaining packed instance the packing contains only s and we have an above- parameter . We can therefore solve this instance in FPT-time wrt. using the algorithm from Theorem 7 for the parameter .
5 Kernelization wrt. Deletions Combined with Above-guarantees
5.1 Cluster Editing with Few Deletions and Above Packing of
▶ Theorem 16. CEWFD has a kernel with vertices and edges.
Let P be the packing associated with , graph G be the input graph, and recall that is obtained from G by adding all missing edges for s in P. To prove the theorem, we start with the following crucial lemma which connects solutions for G to solutions of .
▶ Lemma 17. Let be a packed instance. For every solution for , we have . That is, there is an edge-modification set of size at most such that is a cluster graph.
Parameterizing Cluster Editing by the Number of Deletions

(a) and

Rule 18
(b)

(c)

(d) splits
differing pairs

(e)
differing pairs
Figure 4 Top: the kernelization of Theorem 16 on a small example. (a) A graph G with a modification-disjoint packing of two induced 's sharing the vertex in the middle. (b) The graph adds their missing pairs (dashed); the isolated clique on the right is removed by Reduction Rule 18. (c) The cluster graph obtained from an approximate solution A that removes the two crossed-out pairs; every cluster of contains an endpoint of A (filled), which bounds the number of clusters. Bottom: why Reduction Rule 20 may commit a clique C of with at least vertices. If a solution's cluster D splits C (d), or contains C and a further vertex x (e), then the solution differs from in at least vertex pairs (red), more than the allowed by Equation (3).
Proof. Let be a solution for , that is, is a cluster graph, , and . Let be the added edges and be the deleted edges of . We let . For every deleted edge , also simply deletes and if is in a of , then also deletes from the corresponding edge in miss() of the . So, as , deletes at most edges from . Moreover, adds all edges .
As for every of , we have or , we have . Therefore, .
If or , then we return no (or a trivial no-instance). The kernelization proceeds by computing the graph and then first applying the following reduction rule, which simply removes isolated cliques.
▶ Reduction Rule 18. If is a packed instance and is an isolated clique in , then remove from , decrease by and remove from every that contains a vertex of .
▶ Lemma 19 (★). Reduction Rule 18 is safe, that is, the resulting instance is a yes-instance if and only if the original instance is. Furthermore, it does not increase the parameter .
Now we use the algorithm of Cao et al. [11] on to obtain a 1.437-approximate cluster editing solution in polynomial time. Let be the approximation factor. By Lemma 17, we know that if is a yes-instance, then there is a cluster editing solution for of size at most . Therefore, if is of size more than , we can immediately answer no (or return a trivial no-instance). Otherwise, let . Note that is a cluster graph. The following rule essentially states that large cliques in are contained in every optimal solution and can thus be committed.
▶ Reduction Rule 20. Let be a cluster-editing set for of size at most and let . Suppose that is a clique in of size at least and let . If or , then answer no (or return a trivial no-instance). Otherwise, let , , , and and return instance .
▶ Lemma 21. Reduction Rule 20 is safe. Furthermore, it does not increase .
Proof. We first show that each solution for contains . Suppose that there is a solution for that does not contain some edge of . By Lemma 17, . Therefore, the two cluster graphs and differ in at most edges, since
As contains a vertex pair which is not in and all modifications in are incident to , this means that in , either is a part of a larger cluster or it is split into several connected components. Suppose the latter, that is, there is a cluster of such that and . Then, and differ at least in all edges between and . This is at least edges for some . As this is a concave function in , its minimum on the range is achieved either by or . Therefore, the minimum is , i.e., the cluster graphs differ by at least edges, contradicting Equation (3). Hence, there is a cluster of such that . If it contains also a vertex , then and would differ in at least the edges between and , which is at least edges, again contradicting Equation (3). Therefore, every solution for contains . Thus, if the rule returned “no”, this is correct.
Now, assume that is a solution for the instance . We claim that is a solution for the original instance. Indeed, is a cluster graph, is an isolated clique in and therefore is a cluster graph, as . Since , we have and as , we have .
Conversely, let be a solution for . We claim that is a solution for the instance . As , we have that and . Furthermore, as and only differ in edges incident to , it follows that is a cluster graph. Therefore, is indeed a yes-instance.
Since the set is not larger than , we have . The bound on the parameter follows, as also .
Proof of Theorem 16. The kernelization answers “no” if or . Otherwise, it applies Reduction Rule 18 as long as possible, computes an -approximate solution for , answers “no” if , and otherwise applies Reduction Rule 20 if possible and starts over. The answers are correct by Lemma 17, the rules are safe and do not increase by Lemmas 19 and 21, and each application of a rule removes vertices, so the kernelization runs in polynomial time.
It remains to show the size of the kernel. It is enough to bound the size of an instance to which no rule applies and for which , as the recursive calls do not increase the parameter by Lemma 19 and Lemma 21. Let be the set of vertices incident to . Clearly, . Let again be the cluster graph. If a clique in does not contain any vertex of , then it is also a clique in and Reduction Rule 18
Parameterizing Cluster Editing by the Number of Deletions
would apply. Therefore, each clique of contains a vertex of , that is, there are at most cliques. Furthermore, each clique is of size at most , as otherwise Reduction Rule 20 would apply. Therefore, contains vertices and edges. As and only differ in edges of and , also has edges. Finally, has the same vertices as and at most as many edges as , therefore it has vertices and edges.
5.2 Cluster Editing with Few Deletions and Above Packing of Stars
▶ Theorem 22 (★). CEWFD has a kernel with vertices and edges.
The kernel follows the one of Theorem 16, with being the set of 's in a star packing . By Observations 14 and 15, there are at most larger stars in , each with at most vertices, so they span only few vertex pairs. Together with the argument of Lemma 17 for the 's, this shows that every solution differs from in at most vertex pairs, and the two reduction rules and the size bound carry over with this bound in place of .
6 Discussion
We answered the question of Komusiewicz and Niedermeier [43] in the negative: CLUSTER EDITING WITH FEW DELETIONS is W[1]-hard with respect to the number of deletions, even combined with the pathwidth and the feedback edge number. In contrast, combining with the excess above a modification-disjoint -packing yields an -time algorithm and a polynomial problem kernel, although each of the two parameters alone is intractable. The FPT-algorithm and the polynomial kernelization also extend to lower bounds by modification-disjoint star packings. Moreover, most of our results also transfer to H-free editing for .
Several questions remain open: (1) Does H-FREE EDITING WITH FEW DELETIONS admit a polynomial kernel for ? (2) Can be replaced by smaller parameters, and how far below can we go while keeping fixed-parameter tractability together with ? (3) Which other above-guarantee parameters yield tractability together with ? Potential candidates are half-integral -packings, i.e., where we consider a packing of induced s such that each vertex pair is in up to two and we parameterize by , or parameterizing above the LP relaxation of the corresponding -packing ILP. (4) One might also study CLUSTER EDITING with a bounded number of additions. Clearly, one obtains NP-hardness for due to the NP-hardness of CLUSTER DELETION. It is, however, open whether is FPT. (5) Which reduction rules for CLUSTER EDITING transfer to CLUSTER EDITING WITH FEW DELETIONS? Candidates are generic rules that apply to every solution.
Declaration on the use of AI. Discussions with AI were utilized while obtaining the hardness results. ChatGPT suggested a convoluted W[1]-hardness proof for CLUSTER EDITING WITH FEW DELETIONS parameterized by the number of deletions; the authors subsequently constructed the present more elegant and comprehensible version, for which an initial writeup was provided by Claude Opus 5.5. Discussions with Fable 5 and 5.1 were utilized to generalize it to H-FREE EDITING WITH FEW DELETIONS (Theorem 5). Claude Opus 5.5 was also used when editing the paper and to write the code for the experiments. All AI-generated artifacts were checked, corrected, and rewritten by the authors, who take full responsibility for the content of this paper.
References
1 Faisal N. Abu-Khzam. On the complexity of multi-parameterized Cluster Editing. Journal of Discrete Algorithms, 45:26–34, 2017. doi:10.1016/J.JDA.2017.07.003.
2 N. R. Aravind, R. B. Sandeep, and Naveen Sivadasan. Dichotomy results on the hardness of H-free edge modification problems. SIAM Journal on Discrete Mathematics, 31(1):542–561, 2017. doi:10.1137/16M1055797.
3 Thomas Bläsius, Philipp Fischbeck, Lars Gottesbüren, Michael Hamann, Tobias Heuer, Jonas Spinner, Christopher Weyand, and Marcus Wilhelm. A branch-and-bound algorithm for Cluster Editing. In Proceedings of the 20th International Symposium on Experimental Algorithms (SEA 2022), volume 233 of Leibniz International Proceedings in Informatics (LIPIcs), pages 13:1–13:19, 2022. doi:10.4230/LIPIcs.SEA.2022.13.
4 Václav Blažej. Hierarchy of parameters (HOPS). Website, 2026. accessed 2026-10-08. URL: https://vaclavblazej.github.io/parameters/.
5 Sebastian Böcker. A golden ratio parameterized algorithm for Cluster Editing. Journal of Discrete Algorithms, 16:79–89, 2012. doi:10.1016/j.jda.2012.04.005.
6 Sebastian Böcker, Sebastian Briesemeister, Quang Bao Anh Bui, and Anke Truß. Going weighted: Parameterized algorithms for Cluster Editing. Theoretical Computer Science, 410(52):5467–5480, 2009. doi:10.1016/j.tcs.2009.05.006.
7 Sebastian Böcker, Sebastian Briesemeister, and Gunnar W. Klau. Exact algorithms for Cluster Editing: Evaluation and experiments. Algorithmica, 60(2):316–334, 2011. doi:10.1007/S00453-009-9339-7.
8 Sebastian Böcker and Peter Damaschke. Even faster parameterized Cluster Deletion and Cluster Editing. Information Processing Letters, 111(14):717–721, 2011. doi:10.1016/j.ipl.2011.05.003.
9 Édouard Bonnet, Eun Jung Kim, Stéphan Thomassé, and Rémi Watrigant. Twin-width I: Tractable FO model checking. Journal of the ACM, 69(1):1–46, 2022. doi:10.1145/3486655.
10 Leizhen Cai. Fixed-parameter tractability of graph modification problems for hereditary properties. Information Processing Letters, 58(4):171–176, 1996. doi:10.1016/0020-0190(96)00050-6.
11 Nairen Cao, Vincent Cohen-Addad, Euiwoong Lee, Shi Li, Alantha Newman, and Lukas Vogl. Understanding the cluster linear program for Correlation Clustering. In Bojan Mohar, Igor Shinkar, and Ryan O'Donnell, editors, Proceedings of the 56th Annual ACM Symposium on Theory of Computing (STOC 2024), pages 1605–1616. ACM, 2024. doi:10.1145/3618260.3649749.
12 Yixin Cao and Jianer Chen. Cluster Editing: Kernelization based on edge cuts. Algorithmica, 64(1):152–169, 2012. doi:10.1007/s00453-011-9595-1.
13 Yixin Cao, Ashutosh Rai, R. B. Sandeep, and Junjie Ye. A polynomial kernel for Diamond-Free Editing. Algorithmica, 84(1):197–215, 2022. doi:10.1007/S00453-021-00891-Y.
14 Shiri Chechik, Matthew P. Johnson, Merav Parter, and David Peleg. Secluded connectivity problems. Algorithmica, 79(3):708–741, 2017. doi:10.1007/s00453-016-0222-z.
15 Jianer Chen and Jie Meng. A 2k kernel for the Cluster Editing problem. Journal of Computer and System Sciences, 78(1):211–220, 2012. doi:10.1016/j.jcss.2011.04.001.
16 Bruno Courcelle. The monadic second-order logic of graphs. I. recognizable sets of finite graphs. Information and Computation, 85(1):12–75, 1990. doi:10.1016/0890-5401(90)90043-H.
17 Bruno Courcelle, Johann A. Makowsky, and Udi Rotics. Linear time solvable optimization problems on graphs of bounded clique-width. Theory of Computing Systems, 33(2):125–150, 2000. doi:10.1007/s002249910009.
18 Marek Cygan, Fedor V. Fomin, Łukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michał Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. doi:10.1007/978-3-319-21275-3.
19 Peter Damaschke. Fixed-parameter enumerability of Cluster Editing and related problems. Theory of Computing Systems, 46:261–283, 2010. doi:10.1007/s00224-008-9130-1.
Parameterizing Cluster Editing by the Number of Deletions
20 H. N. de Ridder et al. Information system on graph classes and their inclusions (ISGCI). Website, 2001–2014. accessed 2026-10-08. URL: https://www.graphclasses.org.
21 Martin Doucha and Jan Kratochvil. Cluster vertex deletion: A parameterization between vertex cover and clique-width. In Proceedings of the 37th International Symposium on Mathematical Foundations of Computer Science (MFCS 2012), volume 7464 of Lecture Notes in Computer Science, pages 348–359, 2012. doi:10.1007/978-3-642-32589-2_32.
22 Rodney G. Downey and Michael R. Fellows. Fundamentals of Parameterized Complexity. Texts in Computer Science. Springer, 2013. doi:10.1007/978-1-4471-5559-1.
23 Rosa Enciso, Michael R. Fellows, Jiong Guo, Iyad A. Kanj, Frances A. Rosamond, and Ondřej Suchý. What makes Equitable Connected Partition easy. In Jianer Chen and Fedor V. Fomin, editors, Proceedings of the 4th International Workshop on Parameterized and Exact Computation (IWPEC 2009), volume 5917 of Lecture Notes in Computer Science, pages 122–133. Springer, 2009. doi:10.1007/978-3-642-11269-0_10.
24 Michael R. Fellows, Danny Hermelin, Frances A. Rosamond, and Stéphane Vialette. On the parameterized complexity of multiple-interval graph problems. Theoretical Computer Science, 410(1):53–61, 2009. doi:10.1016/J.TCS.2008.09.065.
25 Michael R. Fellows, Bart M. P. Jansen, and Frances A. Rosamond. Towards fully multivariate algorithms: Parameter ecology and the deconstruction of computational complexity. European Journal of Combinatorics, 34(3):541–566, 2013. doi:10.1016/j.ejc.2012.04.008.
26 Michael R. Fellows, Michael A. Langston, Frances A. Rosamond, and Peter Shaw. Efficient parameterized preprocessing for Cluster Editing. In Proceedings of the 16th International Symposium on Fundamentals of Computation Theory (FCT 2007), volume 4639 of Lecture Notes in Computer Science, pages 312–321, 2007. doi:10.1007/978-3-540-74240-1_27.
27 Michael R. Fellows, Daniel Lokshtanov, Neeldhara Misra, Frances A. Rosamond, and Saket Saurabh. Graph layout problems parameterized by vertex cover. In Proceedings of the 19th International Symposium on Algorithms and Computation (ISAAC 2008), volume 5369 of Lecture Notes in Computer Science, pages 294–305, 2008. doi:10.1007/978-3-540-92182-0_28.
28 Fedor V. Fomin, Petr A. Golovach, Nikolay Karpov, and Alexander S. Kulikov. Parameterized complexity of secluded connectivity problems. Theory of Computing Systems, 61(3):795–819, 2017. doi:10.1007/s00224-016-9717-x.
29 Fedor V. Fomin, Stefan Kratsch, Marcin Pilipczuk, Michał Pilipczuk, and Yngve Villanger. Tight bounds for parameterized complexity of Cluster Editing with a small number of clusters. Journal of Computer and System Sciences, 80(7):1430–1447, 2014. doi:10.1016/j.jcss.2014.04.015.
30 Jakub Gajarský, Michael Lampis, and Sebastian Ordyniak. Parameterized algorithms for modular-width. In Proceedings of the 8th International Symposium on Parameterized and Exact Computation (IPEC 2013), volume 8246 of Lecture Notes in Computer Science, pages 163–176, 2013. doi:10.1007/978-3-319-03898-8_15.
31 Robert Ganian. Improving vertex cover as a graph parameter. Discrete Mathematics & Theoretical Computer Science, 17(2), 2015. doi:10.46298/dmtcs.2136.
32 Petr A. Golovach, Pinar Heggernes, Paloma T. Lima, and Pedro Montealegre. Finding connected secluded subgraphs. Journal of Computer and System Sciences, 113:101–124, 2020. doi:10.1016/j.jcss.2020.05.006.
33 Lars Gottesbüren, Michael Hamann, Philipp Schoch, Ben Strasser, Dorothea Wagner, and Sven Zühlsdorf. Engineering exact Quasi-Threshold Editing. In Simone Faro and Domenico Cantone, editors, Proceedings of the 18th International Symposium on Experimental Algorithms (SEA 2020), volume 160 of Leibniz International Proceedings in Informatics (LIPIcs), pages 10:1–10:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPICS.SEA.2020.10.
34 Jens Gramm, Jiong Guo, Falk Hüffner, and Rolf Niedermeier. Automated generation of search tree algorithms for hard graph modification problems. Algorithmica, 39(4):321–347, 2004. doi:10.1007/s00453-004-1090-5.
35 Jens Gramm, Jiong Guo, Falk Hüffner, and Rolf Niedermeier. Graph-modeled data clustering: Exact algorithms for clique generation. Theory of Computing Systems, 38(4):373–392, 2005. doi:10.1007/s00224-004-1178-y.
36 Jiong Guo. A more effective linear kernelization for Cluster Editing. Theoretical Computer Science, 410:718–726, 2009. doi:10.1016/j.tcs.2008.10.021.
37 Sepp Hartung and Holger H. Hoos. Programming by optimisation meets parameterised algorithms: A case study for Cluster Editing. In Proceedings of the 9th International Conference on Learning and Intelligent Optimization (LION 2015), volume 8994 of Lecture Notes in Computer Science, pages 43–58, 2015. doi:10.1007/978-3-319-19084-6_5.
38 Sepp Hartung, Christian Komusiewicz, and André Nichterlein. Parameterized algorithms and computational experiments for finding 2-Clubs. Journal of Graph Algorithms and Applications, 19(1):155–190, 2015. doi:10.7155/jgaa.00352.
39 Falk Hüffner, Christian Komusiewicz, and Manuel Sorge. Finding highly connected subgraphs. In Proceedings of the 41st International Conference on Current Trends in Theory and Practice of Computer Science (SOFSEM 2015), volume 8939 of Lecture Notes in Computer Science, pages 254–265, 2015. doi:10.1007/978-3-662-46078-8_21.
40 Hiro Ito and Kazuo Iwama. Enumeration of isolated cliques and pseudo-cliques. ACM Transactions on Algorithms, 5(4):1–21, 2009. doi:10.1145/1597036.1597044.
41 Leon Kellerhals, Tomohiro Koana, André Nichterlein, and Philipp Zschoche. The PACE 2021 parameterized algorithms and computational experiments challenge: Cluster Editing. In Petr A. Golovach and Meirav Zehavi, editors, Proceedings of the 16th International Symposium on Parameterized and Exact Computation (IPEC 2021), volume 214 of Leibniz International Proceedings in Informatics (LIPics), pages 26:1–26:18. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2021. doi:10.4230/LIPICS.IPEC.2021.26.
42 Christian Komusiewicz, Falk Hüffner, Hannes Moser, and Rolf Niedermeier. Isolation concepts for efficiently enumerating dense subgraphs. Theoretical Computer Science, 410(38–40):3640–3654, 2009. doi:10.1016/j.tcs.2009.04.021.
43 Christian Komusiewicz and Rolf Niedermeier. New races in parameterized algorithms. In Branislav Rovan, Vladimiro Sassone, and Peter Widmayer, editors, Proceedings of the 37th International Symposium on Mathematical Foundations of Computer Science (MFCS 2012), volume 7464 of Lecture Notes in Computer Science, pages 19–30. Springer, 2012. doi:10.1007/978-3-642-32589-2_2.
44 Christian Komusiewicz and Johannes Uhlmann. Cluster Editing with locally bounded modifications. Discrete Applied Mathematics, 160(15):2259–2270, 2012. doi:10.1016/j.dam.2012.05.019.
45 Michael Lampis. Algorithmic meta-theorems for restrictions of treewidth. Algorithmica, 64(1):19–37, 2012. doi:10.1007/s00453-011-9554-x.
46 Shaohua Li, Marcin Pilipczuk, and Manuel Sorge. Cluster Editing parameterized above modification-disjoint -packings. ACM Transactions on Algorithms, 20(1):3:1–3:43, 2024. doi:10.1145/3626526.
47 Daniel Lokshtanov and Dániel Marx. Clustering with local restrictions. Information and Computation, 222:278–292, 2013. doi:10.1016/j.ic.2012.10.016.
48 Diptapriyo Majumdar and Venkatesh Raman. Structural parameterizations of Undirected Feedback Vertex Set: FPT algorithms and kernelization. Algorithmica, 80(9):2683–2724, 2018. doi:10.1007/s00453-018-0419-4.
49 Dániel Marx and R. B. Sandeep. Incompressibility of H-free edge modification problems: Towards a dichotomy. Journal of Computer and System Sciences, 125:25–58, 2022. doi:10.1016/J.JCSS.2021.11.001.
Parameterizing Cluster Editing by the Number of Deletions
50 Rolf Niedermeier. Invitation to Fixed-Parameter Algorithms, volume 31 of Oxford Lecture Series in Mathematics and Its Applications. Oxford University Press, 2006. doi:10.1093/acprof:oso/9780198566076.001.0001.
51 Rolf Niedermeier. Reflections on multivariate algorithms and problem parameterization. In Proceedings of the 27th International Symposium on Theoretical Aspects of Computer Science (STACS 2010), volume 5 of Leibniz International Proceedings in Informatics (LIPIcs), pages 17–32, 2010. doi:10.4230/LIPIcs.STACS.2010.2495.
52 PACE Challenge. Instances of PACE 2021 and scripts to download and convert the source data sets. GitHub repository, 2021. accessed 2026-10-02. URL: https://github.com/PACE-challenge/Cluster-Editing-PACE-2021-instances.
53 Fábio Protti, Maise Dantas da Silva, and Jayme Luiz Szwarcfiter. Applying modular decomposition to parameterized Cluster Editing problems. Theory of Computing Systems, 44(1):91–104, 2009. doi:10.1007/s00224-007-9032-7.
54 Manuel Sorge. The graph parameter hierarchy. Interactive website and database, 2026. accessed 2026-10-11. URL: https://manyu.pro/parameter-hierarchy.
55 René van Bevern, Andreas Emil Feldmann, Manuel Sorge, and Ondřej Suchý. On the parameterized complexity of computing balanced partitions in graphs. Theory of Computing Systems, 57(1):1–35, 2015. doi:10.1007/s00224-014-9557-5.
56 René van Bevern, Till Fluschnik, George B. Mertzios, Hendrik Molter, Manuel Sorge, and Ondřej Suchý. The parameterized complexity of finding secluded solutions to some classical optimization problems on graphs. Discrete Optimization, 30:20–50, 2018. doi:10.1016/j.disopt.2018.05.002.
57 René van Bevern, Vincent Froese, and Christian Komusiewicz. Parameterizing edge modification problems above lower bounds. Theory of Computing Systems, 62(3):739–770, 2018. doi:10.1007/S00224-016-9746-5.
A Missing Details for the Hardness Results
A.1 Choice Gadgets and the Choice Graph
In this section, we prove Lemma 1. We first describe in more detail how the choice graph works. Since , each element of can be written as with in exactly one way: the factor identifies the color-i vertex , and the remainder is the identifier of an edge with endpoints and a vertex of . A single number in thus encodes a color-i vertex together with an incident edge into , whereas the numbers in carry only a vertex index and those in only an edge identifier.
Reading the demand in base explains the three kinds of choice gadgets. Its -digit is a budget for a vertex index and its unit digit is a budget for an edge identifier. Choosing an option of the local gadget for contributes some to and the complementary to ; it therefore encodes both a color-i vertex and an edge from into . Choosing an option of the successor gadget for contributes some to and to , so it encodes a vertex index and nothing else; choosing an option of the mirror gadget for contributes some to and to , so it encodes an edge identifier and nothing else. Since , an identifier never reaches the -digit; this is what lets us read both a vertex index and an edge identifier off a single equation.
How the choice gadgets are wired then turns these local decisions into the two consistency requirements of a multicolored clique. The local and successor gadgets of color i alternate along the cycle through all anchor roots of color i, and a successor gadget passes on a vertex index only; hence all p-1 local gadgets for color i must choose one and the same vertex of . A mirror gadget links the ordered pairs and and passes on an edge identifier only; hence these two pairs must choose the same edge identifier and therefore the same edge. That edge then joins the vertex chosen for color i to the vertex chosen for color j, so the p chosen vertices are pairwise adjacent. We now make this formal.
▶ Lemma 1 (★). For every choice gadget construction, the choice graph returned from Construction 1 has a balanced selection if and only if the given instance of MULTICOLORED CLIQUE is a yes-instance.
Proof. Suppose first that a balanced selection is given. We introduce the following quantities for every ordered pair with . The local gadget from to contributes an element of to ; write this element as with , which is possible in exactly one way, so that is the identifier of an edge with endpoints and a vertex of . Let the successor gadget leaving contribute to , and let the mirror gadget from to contribute to ; here and , because the contributions lie in and in , respectively. As the contributions of a choice gadget to its two endpoints sum to its parameter , each of these numbers also fixes the contribution to the other endpoint of its choice gadget.
The anchor root is an endpoint of the local gadget for , of the successor gadget for , and of the mirror gadget for , and the anchor root is an endpoint of the three choice gadgets for . As the selection is balanced, the three contributions at each of these two anchor roots sum to the demand . Listing the three summands in the order local, successor, mirror, these two demand equations read
Parameterizing Cluster Editing by the Number of Deletions
Rearranged, Equation (4) reads and Equation (5) reads . Each right-hand side is a difference of two numbers in and thus has absolute value at most , whereas each left-hand side is a multiple of . Both sides therefore vanish, which gives
For fixed , the first equalities give for every ; since is a cyclic permutation of , all with have the same value, which we denote by . Consequently, all local gadgets for color choose the same vertex . Applying the second equality in Equation (6) also with shows that the local gadgets for and use the same edge identifier and hence the same edge, which is therefore . Hence, the chosen vertices form a multicolored clique.
Conversely, suppose that has a multicolored clique with vertices , , and let be the identifier of . For every ordered pair , choose the option of value in the local gadget, the option of value in the successor gadget, and the option of value in the mirror gadget for . These options exist because these values belong to , , and , respectively. Since , substitution in Equations (4) and (5) gives at both and . Thus, every anchor root receives its demand and the selection is balanced.
A.2 Hardness for Cluster Editing
▶ Lemma 4 (★). Let be a graph and let , , and be integers such that and let . Suppose that contains pairwise vertex-disjoint induced stars, each with vertices. Let be a cluster graph obtained from by at most edge edits, of which at most are deletions. Then no cluster of contains more than one center of the stars.
Proof. Denote the stars by with centers . As each star has leaves, not all edges between center and leaves can be deleted. Let be the set of leaves whose incident edge is deleted. Then, each appears within a cluster of , and we need to add edges within the set to make it a clique. Let for each . Then the number of edges added to the cluster containing is
Since these edges are a disjoint set for every , we know that any solution removing the edges indicent to , but no further edges incident to any center adds at least edges. Moreover, since
there are such that and
Let . Then, the number of added edges is at least
Suppose now that there are two different indices such that and belong to the same cluster of . Then, and are contained in this cluster of and all edges between them need to be added. In the worst case, the edge between and exists in . Thus, we have at least added edges. This yields a contradiction since
▶ Observation 23 (★). A cluster graph with at most k clusters and ky vertices has at least edges, with equality if and only if it has exactly k clusters of size y.
Proof. Assume that the clusters are with sizes , respectively, where are integers (possibly negative). Since , we
Parameterizing Cluster Editing by the Number of Deletions
have . Therefore, the number of edges is
Since is non-negative, this proves the lower bound. Moreover, we have equality if and only if each is 0.
▶ Theorem 3 (★). CLUSTER EDITING WITH FEW DELETIONS is W[1]-hard parameterized by the deletion budget . The hardness also holds for the combined parameter .
Proof. We give a parameterized reduction from MULTICOLORED CLIQUE, which is W[1]-hard parameterized by the number of colors [24]. Instances with can be decided in polynomial time and mapped to the fixed yes-instance consisting of one isolated vertex or to the fixed no-instance consisting of a three-vertex path, in both cases with zero budgets. We output the same fixed no-instance if some pair of color classes has no edge between them. Hence we may assume and that every pair of color classes has an edge. In particular, all sets used in the choice gadgets below are nonempty. We may further assume that all color classes have the same size : adding a new isolated vertex to leaves unchanged and creates no multicolored clique, since a multicolored clique has vertices and hence contains no isolated vertex. Padding every color class up to vertices in this way raises to . Every color class then supplies the same number of vertices, which is what lets us give every anchor root the same demand below.
We apply Construction 3 to obtain an instance of CLUSTER EDITING WITH FEW DELETIONS. This takes polynomial time: we have , , and , so . Thus, and (see the parameter bounds below) are polynomial in , and the budgets and have polynomial encoding length. Next, we prove the equivalence of the two instances, before finally proving the parameter bounds.
Forward direction. Suppose that J has a multicolored clique. Use the balanced selection from Lemma 1, and delete its chosen option, which is a spine edge, in each choice gadget. These q deletions split every choice gadget into two connected endpoint components, each attached to one endpoint. Every vertex other than an anchor root is in one such component or is a private leaf of an anchor root, and every choice gadget between its two anchor roots has been cut. The resulting graph therefore has exactly r connected parts, one for each anchor root. The component at an anchor root consists of its h-vertex anchor block and the d non-endpoint vertices of choice gadgets allocated to it, so every part has size . Add all missing edges inside every part. The number of additions is
because the undeleted edges all lie inside the parts. The resulting edit set has deletions and edits in total. Thus, the constructed instance is a yes-instance.
Backward direction: anchor separation. For the converse, let be an edit set for the constructed instance, and let be the partition of into the clusters of . Put .
Every anchor block is a star with vertices whose center is its anchor root, and the anchor blocks are pairwise disjoint. We apply Lemma 4 to with these stars. Its two numerical hypotheses hold: First, by our construction and , so the deletion budget satisfies . Second, the choice gadgets have pairwise disjoint and nonempty spine-edge sets, so , and hence
As and , Lemma 4 shows that no cluster of contains two anchor roots.
Backward direction: cuts and equal cluster sizes. The endpoints of every choice gadget are distinct anchor roots, and hence belong to different clusters. Every choice gadget therefore has a deleted spine edge. The choice gadgets have disjoint spine-edge sets, so . Since , equality holds: exactly one spine edge of every choice gadget is deleted, and no other edge of is deleted.
After its unique deleted spine edge is removed, each choice gadget consists of two connected components, one attached to each endpoint. No other edge is deleted, so every vertex other than an anchor root belongs to one of these components or is a private leaf attached to its anchor root. Hence has exactly connected components and every component contains exactly one anchor root. Every such component lies in one cluster, because none of its edges is deleted. A cluster cannot contain two components, since it would then contain their two anchor roots. Thus these components are precisely the clusters in . In particular, every cluster induces a connected subgraph of .
The cluster graph arises from by deleting edges and adding edges, so it has
edges. It has clusters and vertices. By Observation 23, every cluster has size exactly : if the sizes differed, the cluster graph would have more than edges. The cuts consequently give exactly the intended allocations: no edge incident with a private leaf was deleted, so the cluster of an anchor root contains its anchor block of vertices and therefore contains exactly non-endpoint vertices from its three incident choice gadgets. For each choice gadget, the number on the anchor-root side is the allocation determined by its unique cut. Hence, the cuts form a balanced selection, and Lemma 1 yields a multicolored clique in . This proves the equivalence between the source and target instances.
Parameter bounds. It remains to bound the target parameter. The deletion budget is . Removing the anchor roots from leaves a disjoint union of paths with attached leaves and isolated vertices, so . A width-one path decomposition of this remainder has a bag for each spine edge , with these bags ordered along the path. For every edge to a leaf , insert the bag next to the consecutive spine-edge bags containing ; at a path endpoint, insert it before or after its incident spine-edge bag. If a spine consists of a single vertex , list all bags consecutively, or use the singleton
Parameterizing Cluster Editing by the Number of Deletions
bag if no leaf is attached to . Bags for all other isolated vertices are also singleton bags, and the decompositions of distinct components can be concatenated. Adding all anchor roots to every bag gives . To bound the feedback edge number, observe that is connected as it is the choice graph plus some attached leaves. Moreover, since each anchor block has edges and each choice gadget has one more edge than it has non-endpoint vertices, we have
Therefore, .
Substituting the bounds gives
This completes the parameterized reduction.
A.3 Hardness for H-free Editing
We start with some properties of the choice gadget for H-FREE EDITING WITH FEW DELETIONS (Construction 4) and the resulting choice graph. Since the elements of A are distinct integers in [b], we have for all . Consequently, no two option vertices are adjacent, no option vertex is adjacent to x or to y, and x and y are not adjacent.
▶ Observation 24 (★). Let Q be an -choice gadget from x to y. Then the following hold.
(i) Q has exactly inner vertices.
(ii) For every , the graph consists of (1) the leaves of as isolated vertices, (2) a connected component containing with exactly inner vertices, and (3) a connected component containing with exactly inner vertices.
Proof. Let us first prove (ii). Deleting from the spine leaves two subpaths: one from through , and one from through to . The leaves of lose their only neighbor, and every other leaf stays attached to its option vertex . Hence, the connected component of contains as inner vertices the segments and the option vertices with their leaves, that is,
vertices, where we used , Equation (1), and that the sum telescopes to .
For counting the number of vertices in the connected component containing y, observe that an -choice gadget from x to y is the same as an -choice gadget from y to x, where , and the removed vertex is at the t-th last option. Therefore, by symmetry, the component containing y contains vertices.
Adding the vertices of and its leaves gives inner vertices in total, which proves (i).
By Item i of Observation 24, the number of inner vertices of each local, successor, and mirror gadget is , , , respectively, which sums up to
Moreover, by Observation 2, removing the options of a balanced selection leaves every anchor root in a component with exactly inner vertices, while the removed option vertices and their leaves belong to none of these components.
▶ Lemma 6 (★). Let have at most deletions. If is H-free, then, with X, Y, and the sets defined with respect to ,
(i) Z induces a clique in ;
(ii) is a cluster graph; and
(iii) every detached vertex is adjacent to at most vertices of a cluster of .
Proof. Let be the set of deleted edges. (i) is clear for . For , suppose there are that are not adjacent in . Recall that is a clique on vertices. Since each edge in is incident with at most two vertices of , at least vertices of are incident with no edge in . Let consist of such vertices. Then induces , a contradiction.
For (ii), suppose that induce a with center . By definition of , contains all edges between and ; therefore, induces , a contradiction.
For (iii), suppose that is adjacent to at least vertices of a cluster of . Let be the set containing and any (exactly) vertices of the cluster. Pick an arbitrary and let . Then . In , both and induce cliques, every edge between and exists, and every edge between and exists. The only non-edge in thus is ; therefore induces , a contradiction.
▶ Theorem 5 (★). For every fixed and , H-FREE EDITING WITH FEW DELETIONS is W[1]-hard parameterized by the deletion budget . The hardness also holds for the combined parameter .
Proof. We give a parameterized reduction from MULTICOLORED CLIQUE. As in the proof of Theorem 3, we may assume that , that every pair of color classes has an edge between them, and that all color classes have the same size ; otherwise, we decide the instance in polynomial time or pad the color classes with isolated vertices, and in the former case we output a fixed yes-instance (a single vertex) or a fixed no-instance (H itself), in both cases with zero budgets. We apply Construction 5 to obtain an instance of H-FREE EDITING WITH FEW DELETIONS. Since is a constant, this takes polynomial time: as before, and ; now and . Hence, by Equation (7), has vertices and has vertices, which is polynomial in , and the budgets have polynomial encoding length. Next, we prove the equivalence of the two instances, before finally proving the parameter bounds.
Forward direction. Suppose has a multicolored clique with vertices , . Then, by Lemma 1, the choice graph admits a balanced selection , where is the set of choice gadgets and is the selected option vertex in choice gadget . Fix an arbitrary vertex . Let , let be the set of the selected option vertices (these are detached), and let be the attached vertices. For each anchor root , let be the connected component of containing . Since the selection is balanced, we have by Observation 2. Our edit set comprises and all non-adjacent pairs inside the sets . Let .
Parameterizing Cluster Editing by the Number of Deletions
Clearly, consists of edges. For the number of additions, recall that has edges. Every edge of lies inside some set , except for the edges incident with the option vertices in (two spine edges and edges to leaves each); note that the leaves of the option vertices in form singleton components of . Hence, contains exactly additions, and . It remains to verify that is -free.
Observe that is a cluster graph, and that the neighborhood of every in is an independent set. Clearly, any forbidden induced subgraph (equal to ) cannot contain a vertex of and of since these vertices are pairwise non-adjacent and their common neighborhood is and . Moreover, since induces a clique, we conclude that contains only vertices of . Clearly, needs to contain at least 3 vertices of . By we denote the set of these vertices.
If , the unique non-adjacent vertex pair of has to have both endpoints in , and these two vertices together with any further vertex of form a , a contradiction to the fact that is a cluster graph. Otherwise, contains a vertex . Suppose that . Since has only one non-adjacent pair, is adjacent to at least vertices of . These vertices are pairwise non-adjacent, since the neighborhood of in is an independent set; hence, they contain the only non-adjacent pair of , and is adjacent to all of . But then has at least three pairwise non-adjacent neighbors in , a contradiction. Thus, , and since , contains all of , in particular . As is a non-adjacent pair, it is the only one; so is adjacent to both vertices of , which are therefore non-adjacent, a contradiction. Thus, is -free.
Backward direction. Let be a set of at most edits with at most deletions such that is -free. We write and . By Lemma 6(i), is a clique of . Hence, , , and the sets are defined. Put . Every contributes a deletion with . Note that these are distinct for distinct and distinct from the pairs of , so
By Lemma 6(ii), is a cluster graph. Let C be its set of clusters.
Step 1: no anchor root is detached. Suppose the anchor root v lies in X. Then, . Observe that, since v has more than shields attached to it, there is at least one shield that is not incident to any edge in . But then every vertex in the shield is attached; thus v is adjacent to vertices of a cluster of , which is a contradiction to Lemma 6(iii).
Step 2: no cluster contains two anchor roots. Let be the cluster graph on consisting of and the vertices of as isolated vertices. It arises from by deleting all edges incident with and all edges of and adding the pairs of inside . Every vertex of other than an anchor root has degree at most in : leaves have degree 1, filler vertices degree 2, option vertices degree , and shield vertices degree , as . Hence, by Step 1 and Equation (8) the number of deletions is at most
and the number of edits is at most . Here, the last inequality uses , which holds since already the edges to the leaves of any anchor root give , using .
Set . Our definition of yields , and . Now, we apply Lemma 4 to , with the stars formed by the anchor roots and their leaves, where , , and take the roles of the lemma's parameters , , and , respectively. The hypotheses of Lemma 4 hold: the stars are vertex-disjoint and have vertices each, their centers are pairwise non-adjacent, because every choice gadget has an inner vertex at each end, and . Hence, the edit bound is , and , because and . Lemma 4 yields that no cluster of contains two anchor roots. Since the clusters of are clusters of , the same holds for .
Step 3: exactly one break per choice gadget, and nothing else. To satisfy Step 2, we need to break each choice gadget Q, that is, it must contain a detached inner spine vertex or a deleted spine edge. Since there are choice gadgets and our deletion budget is exactly , we conclude that every choice gadget is broken exactly once, by exactly one deletion, and no other edge is deleted. In particular every detached vertex x is an inner spine vertex detached from a single vertex of Z implying .
Let , and be the number of choice gadgets broken at an option vertex, at a filler vertex and at a spine edge, respectively. Since every choice gadget is broken exactly once, a detached vertex has degree if it is an option vertex and degree 2 if it is a filler vertex. Moreover, we have
Removing the breaks splits into (a) one component per anchor root , consisting of the anchor block of and the parts of its three choice gadgets that stay connected to , and (b) the isolated leaves of the detached option vertices. An option vertex break removes vertices from the anchor components, a filler break removes one, and an edge break removes none. Using (see Equation (7)), the anchor components therefore contain
vertices, that is, vertices more than the of the intended solution.
Note that a positive surplus contradicts the edit budget: On the one hand, the anchor components lie in distinct clusters (Step 2) with at least vertices in total, so by convexity completing them requires at least edges. On the other hand, has at most edges, since the remaining budget for additions is . Hence, , and as this forces . Consequently, we have and thus, every choice gadget is broken at one of its option vertices. In other words, the deletions are exactly the edges that join one option vertex of every choice gadget to some vertex of .
Step 4: every cluster containing an anchor root has size . By Step 3, the deletions are exactly the edges joining an option vertex to a vertex of (one per choice gadget). Hence, and has edges. Since at most edges are added, we have . Moreover, each is connected in and thus contained in a cluster , and these clusters are
Parameterizing Cluster Editing by the Number of Deletions
distinct by Step 2. By the convexity of and , we have
So equality holds throughout: , all have equal size yielding , for every anchor root .
Step 5: reading off the multicolored clique. By Step 3, contains the whole anchor block of , which has vertices, so the remaining vertices of are inner vertices of choice gadgets which belong to the three choice gadgets at . By Step 3 each of these choice gadgets is broken by detaching one of its option vertices . Hence, is a selection, and is the component of after removing its options. As contains exactly inner vertices of choice gadgets for every anchor root , the selection is balanced by Observation 2, and Lemma 1 yields a multicolored clique in .
Parameter bounds. Recall that the deletion budget is .
For the feedback vertex number, delete from the vertices of Z, all but two vertices of W, the r anchor roots, and vertices of each of the shields. What remains of W is an edge and also what remains of any shield is an edge with no further incident edge, since its anchor root is gone. Moreover, the leaves attached to the anchor roots become isolated. Finally, the choice graph becomes a disjoint union of paths with attached leaves. Thus,
For the pathwidth, first build a path decomposition of in which every bag contains all anchor roots. For the anchor block of take one bag per leaf and, for every shield, one bag containing its vertices. For a choice gadget take the bag of every spine edge, ordered along the spine, with the bags of the edges to the leaves of an option vertex inserted between the two spine-edge bags at that vertex. Concatenate all groups in any order. This yields a path decomposition of with bags of size at most . Add the vertices of to every bag and append one bag . The result is a path decomposition of with bags of size at most , using . Hence
Since is a constant, and , we observe that .
B Missing Details for the FPT-Algorithms
▶ Lemma 9 (★). Branching Rule 8 is well defined and produces at most five packed instances. Every produced packed instance satisfies .
Proof. We first check that the rule is well defined, that is, that in Item 3 exists and is unique. If and , then by Equation (2), so some member of has missing pair ; this member is unique because distinct members have disjoint modification sets and hence distinct missing pairs.
Next we check that each produced tuple is a packed instance, that is, that its fourth component is a modification-disjoint collection of induced 's of its first component. Modification disjointness is inherited by subcollections, so only the induced- property needs an argument. For a tuple with first component and fourth component , let . By the definition of we have , so and agree on the three pairs in and is an induced of . For the tuple of Item 1, let . The two edges of lie in and its missing pair lies in , so . Since induce a in , we have and hence . Thus and agree on and is an induced of .
The rule produces one packed instance in Item 1 and, for each of the two pairs and , either one in Item 2 or two in Item 3, hence at most five in total.
It remains to bound . In Item 1 we have , , and , so this quantity is . In Items 2 and 3 an edge is deleted and thus and . If for some , then this is unique by modification disjointness, so by the definition of and the quantity is . Otherwise and it is . In either case it is at most .
▶ Theorem 7 (★). An instance of CLUSTER EDITING WITH FEW DELETIONS given together with a modification-disjoint collection P of induced 's of the input graph can be decided in time, where .
Proof. Consider the recursive algorithm that, given a packed instance , proceeds as follows. If or , then it returns “no”. Otherwise, if is a cluster graph, then it returns “yes”. Otherwise it finds a with at least one edge in as specified in Lemma 11. It applies Branching Rule 8 and returns “yes” if and only if it returns “yes” on at least one of the produced packed instances.
Correctness. We proceed by induction on . If the algorithm returns “no” in the first step, then either , where “no” clearly is correct, or , in which case no satisfies . If the algorithm returns “yes” in the second step, then satisfies , which is a cluster graph, as well as because the first step did not apply, and ; so is a yes-instance. Otherwise the algorithm applies Branching Rule 8. By Lemma 9 the produced tuples are packed instances with a smaller value of , so the induction hypothesis applies to them and the recursive calls answer them correctly; by Lemma 10 the answer for agrees with the disjunction of these answers, which is what the algorithm returns.
Running time. By Lemma 9 each application of Branching Rule 8 produces decreases by at least one in each case and by choosing the according to Lemma 11 there are at most four recursive calls. The algorithm returns without recurring as soon as or . Hence the recursion tree has depth at most and nodes. The graph in a node arises from the input graph by at most edits and thus has at most edges. Within a node we build in time, and we test whether is a cluster graph and, if not, find an induced within the same time bound: compute the connected components, find a component containing a vertex of degree less than , which exists if and only if some component is not a clique, and take a vertex at distance two from together with a common neighbor of and . Once we have found a we perform the case-distinction in Lemma 11 which can be done in time and thus we obtain a satisfying Lemma 11 in the same time. This gives the claimed running time.
▶ Theorem 12 (★). Let and . An instance of H-FREE EDITING WITH FEW DELETIONS given together with a modification-disjoint collection H of induced copies of H in the input graph can be decided in time, where .
Parameterizing Cluster Editing by the Number of Deletions
Proof sketch. We adapt the algorithm of Theorem 7. Every solution has to toggle a pair of each of the pairwise disjoint sets , , and hence has at least edits; adding all missing pairs, which yields , attains this bound without any deletion. Thus we answer “no” if or , and “yes” if is H-free.
Otherwise, we find an induced copy of in in time, let be its missing pair, and branch on how a solution destroys as follows. Since is -free, the vertices of do not induce the same copy of in it, so adds or some edge of is not an edge of . Each of the following branches records one edit , decreases by one, and keeps the collection : (i) add ; since and for every , we have , so this edit decreases ; (ii) for each edge of with , delete ; (iii) for each edge of with , we have for a unique ; a solution that does not add still has to destroy the induced copy of in , and all pairs in are edges of , so for each of these edges we delete . In (ii) and (iii), decreases by one and by at most one, by modification disjointness, so decreases by at least one in each of the at most branches. As in Lemmas 9 and 10, the members of remain induced copies of after toggling ; a solution of a produced instance yields the solution of the original one; and, conversely, the case distinction above shows that every solution contains the pair of some branch, and solves the corresponding instance. This yields the claimed search-tree size and running time; for , this is the five-way branching of Branching Rule 8, before its improvement via Lemma 11.
C Missing Details for the Kernelization Results
▶ Lemma 19 (★). Reduction Rule 18 is safe, that is, the resulting instance is a yes-instance if and only if the original instance is. Furthermore, it does not increase the parameter .
Proof. Denote the new instance . Note that must form a connected component of , as contains all edges of and if two vertices are connected by an edge , then and are connected by the corresponding of in . Also each in is either fully contained in or disjoint with , as otherwise there would be an edge between the vertices in and vertices outside in . Let us denote the set of those 's from that are fully contained in .
If is a solution for the new instance, then is a solution to the original instance. Indeed, is a cluster graph, is a clique, contains only edge deletions already contained in and as we also have .
Now suppose that is a solution for . For each in , we know that and that these sets are disjoint for different 's. Therefore, . Let . By the above argument, we have . Also . Finally, is a cluster graph. Therefore, is a solution for .
As for the parameter, remains unchanged, while .
▶ Theorem 22 (★). CEWFD has a kernel with vertices and edges.
If is an instance of CEWFD and S is a collection of modification-disjoint induced stars in G, each with at least 3 vertices, then we call a star-packed instance. We start by proving the following analogue of Lemma 17.
▶ Lemma 25. Let be a star-packed instance. Let be the set of s in . Let . For every solution for , we have . That is, there is an edge-modification set of size at most such that is a cluster graph.
Proof. Let be a solution for , that is, is a cluster graph, , and . By Observation 14, each star in has at most vertices and, by Observation 15, there are at most stars on at least 4 vertices in , i.e., denoting , we have . Let be the set of vertex pairs within the large stars. By the above bounds, we have . We also have . Note that, since the stars in are modification-disjoint, we have .
Now we proceed to bound in a similar way as in Lemma 17. Let be the added edges and be the deleted edges of . Note that we clearly have and also . We let . For every deleted edge , also simply deletes and if is in a of , then also deletes from the corresponding edge in of the . So, as , deletes at most edges from . Moreover, adds all edges .
As for every of , we have or , we have . Therefore,
Together, we have .
Finally, we let . Note that, since , we have
Thus,
Now we adapt the two rules from the previous section.
▶ Reduction Rule 26. If is a star-packed instance, is the set of s in , , and is an isolated clique in , then remove from , decrease by and remove from every that contains a vertex of .
▶ Lemma 27. Reduction Rule 26 is safe and does not increase the parameter .
The proof of Lemma 27 is completely analogous to the proof of Lemma 19 (note that we have for every ) and we therefore omit it.
▶ Reduction Rule 28. Let be a star-packed instance, be the set of s in , and . Let be a cluster-editing set for of size at most for some constant and let . Suppose that is a clique in of size at least and let . If or , then answer no. Otherwise, let , , , and is a star} and return instance .
Parameterizing Cluster Editing by the Number of Deletions
▶ Lemma 29. Reduction Rule 28 is safe. It also does not increase the parameter .
Proof. The proof that any solution for contains is completely analogous to the proof in Lemma 21, using Lemma 25 instead of Lemma 17. Based on that, the proof of safeness is exactly the same.
To show that the parameter does not increase, we need to bound by . We show that for every , the difference related to the star can be bounded by . This is sufficient, as the stars are modification disjoint.
■ If , then we distinguish two cases.
If contains the center of , then . All edges from to vertices of in were deleted by . This is at least edges.
If the center of is in , then all edges from to vertices in must be deleted. Furthermore, if , then at least modifications must be done by in . Together this is at least edges.
If , then all the edges between center of the star (which is in ) and vertices in must be deleted. This is at least edges.
Summing over all , we get , i.e., . Therefore, we have . The bound on the parameter follows, as also .
Proof of Theorem 22. The algorithm proceeds almost the same as the one of Theorem 16, just using the bound from Lemma 25 and Reduction Rules 26 and 28. Thus, its correctness can be also proven completely analogously as for the aforementioned algorithm.
It remains to update the bound on the size of the kernel. It is enough to bound the size of the instance output in the last step, that is, if there is an approximate solution A of size at most , but none of the reduction rules applies. Note that . Let X be the set of vertices incident to A, we again have . Let again be the cluster graph. If a clique in does not contain any vertex of X, then it is also a clique in and Reduction Rule 26 would apply. Therefore, each clique of contains a vertex of X, that is, there are at most cliques. Furthermore, each clique is of size at most , as otherwise Reduction Rule 28 would apply. Therefore, contains vertices and edges. As and only differ in edges of A and , also has edges. Finally, G has the same vertices as and at most as many edges as , therefore it has vertices and edges.
D Experiments
With our small-scale experimental study we wanted to understand how the parameters under consideration relate to the standard parameter k, the number of allowed edits. To this end, we took the graph data from the Parameterized Algorithms and Computational Experiments Challenge 2021 [41] about exact algorithms for CLUSTER EDITING. We used the unweighted graphs of the exact track, as published in the challenge's instance repository [52]. For each of the instances we then computed:
Table 1 Absolute magnitudes of the parameters over the 109 instances solved to proven optimality (of 189 attempted; the remaining 80 exceeded the time limit).
| min | 25% | median | 75% | max | |
|---|---|---|---|---|---|
| 3 | 128 | 322 | 672 | 1835 | |
| 0 | 70 | 206 | 374 | 1564 | |
| 0 | 0 | 1 | 5 | 44 | |
| 0 | 0 | 0 | 4 | 44 | |
| 0 | 75 | 212 | 374 | 1564 | |
| 0 | 75 | 211 | 374 | 1564 | |
| 1 | 105 | 276 | 646 | 1768 |
Table 2 Per data set, median values over the instances solved to proven optimality. The packing columns give the lower bound as a fraction of : a value of 1 means the bound is tight.
| data set | # | ||||||
|---|---|---|---|---|---|---|---|
| Jena | 55 | 113–347 | 369 | 0.67 | 1.00 | 0.68 | 0.68 |
| action sequences | 43 | 10–180 | 281 | 0.86 | 1.00 | 0.89 | 0.89 |
| strings | 6 | 250–250 | 506 | 0.50 | 1.00 | 0.50 | 0.50 |
| genes | 4 | 232–232 | 426 | 0.48 | 1.00 | 0.48 | 0.48 |
| colours | 1 | 330–330 | 200 | 0.62 | 0.96 | 0.67 | 0.67 |
A modification-disjoint -packing computed as in the KaPoCE solver [3], which in turn follows Gottesbüren et al. [33]: We enumerate induced s and take them as vertices in a conflict graph where the edges model shared modifications. Then we greedily compute an independent set in the conflict graph and then improve it by 2-improvement local search.
A vertex-disjoint -packing, computed in the same way except that two s are already in conflict when they share a single vertex. Note that such a packing consists of at most many s, which caps the lower bound it can give.
A modification-disjoint packing of induced stars, obtained by growing each of the modification-disjoint packing above into a maximal induced star, using only vertex pairs that that packing leaves free.
A cluster editing set that among all those minimizing the number of edits also minimizes the number of deletions. To do this, we first compute a minimum-edit solution via an ILP over variables that model whether pairs of vertices are merged and row-generated constraints that ensure the partition property. Afterwards, we use a modification of this ILP that fixes the edits to be minimum-possible and minimizes the number of deletions. In the results, is minus the size of the computed modification-disjoint -packing, is minus the size of the computed vertex-disjoint -packing, and is minus the lower bound given by the computed star packing.
We ran the experiments on an AMD Ryzen 5 5600X (6 cores, 12 threads) with 16 GB RAM under Ubuntu 24.04.5 LTS. ILPs were solved with SCIP 10.0.2 (SoPlex 8.0.2) driven from Python 3.12.3. Four instances were processed in parallel, each SCIP call capped at 1200 MB. Per-instance limits were 300 s for the editing ILP and 120 s for the packing bounds together.
Of the 189 instances, both stages of the editing ILP finished within the time limit on 109, and these are the instances we report on. Table 1 reports the absolute magnitudes of the
Parameterizing Cluster Editing by the Number of Deletions
parameters and Table 2 the solved instances and medians per source data set.
Compared to , the deletion parameter was usually half to four fifths as large (quartiles 0.50 and 0.83, median 0.73). The above-guarantee parameters, by contrast, are nearly always negligible: has median 1 and is zero on 54 of the 109 instances, with maximum 44, so the packing bound alone certifies optimality of on half of them. This is consistent with the effectiveness that the PACE participants report for packing-based lower bounds [3]. Because is so small, is essentially : its median is 0.74 , so the combined parameter is smaller than on 103 of the 109 instances, but only by about a quarter, and it exceeds on two. Growing the s into stars improves the bound on 29 instances and reduces the total excess from 490 to 449, which leaves the picture unchanged: with and this close to zero, there is almost nothing for a stronger lower bound to recover.
Requiring the packed s to be vertex-disjoint instead changes the picture completely. Such a packing captured only a tenth of in the median, so has median 276, amounts to 90% of in the median, and is nonzero on every one of the 109 instances. The cause is the ceiling of on the size of a vertex-disjoint packing, which 36 of the computed packings attain exactly: since on 103 of the instances, an excess of at least is unavoidable there no matter how the packing is chosen.