arXiv:2610.27289cs.DSOct 2026

Manuscript Offprint

arXiv:2610.27289

Parameterizing Cluster Editing by the Number of Deletions

Vincent Froese, Leon Kellerhals, Frank Sommer, Manuel Sorge, Ondřej Suchý

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 ℓ\ell 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 ℓ\ell of which are deletions, is W[1]-hard with respect to ℓ\ell, 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 ℓ\ell is combined with the excess μ\mu 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 O(4μ+ℓ⋅(n+m+μ))O(4^{\mu+\ell} \cdot (n + m + \mu))-time algorithm and a problem kernel with O((ℓ+μ)2)O((\ell + \mu)^2) 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 P3P_3-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 O(k2)O(k^2) 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 ℓ\ell of allowed edge deletions [43, p. 26]: Clearly, ℓ≤k\ell \leq k and the case ℓ=0\ell = 0 is trivial. More generally, there is a trivial O(n2ℓ+2)O(n^{2\ell+2})-time algorithm. In Section D we show that on a large fraction of PACE Challenge 2021 instances, the median value of ℓ\ell is 0.73 times the optimal number of edits, which would make it an interesting replacement for kk 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 ℓ\ell 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 ℓ\ell 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 P3sP_{3}s or stars, where modification disjointness means that each two packed P3sP_{3}s do not overlap in two vertices. However, parameterizing CLUSTER EDITING by the number μ\mu of edits beyond the lower bound given by a modification-disjoint packing of P3sP_{3}s 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 P3sP_{3s} 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 P3P_{3}-packing (which is practically close to zero) together with the number ℓ\ell of deletions (which is often significantly smaller than kk, see Section D). It also allows for a polynomial-size problem kernel wrt. ℓ\ell and μ\mu combined and both these results transfer to the case where we replace μ\mu by the excess σ\sigma 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 K4K_4 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 ℓ\ell, 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 ℓ=0\ell = 0 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 ℓ\ell. On the positive side, we show that the above fixed-parameter algorithms for CLUSTER EDITING with respect to ℓ\ell combined with μ\mu transfer to H-FREE EDITING when replacing the underlying packing of μ\mu 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 ℓ\ell, 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 H=Kη−eH = K_\eta - e with η≥4\eta \geq 4, with the feedback vertex set number in place of the feedback edge set number. In Section 4, we combine ℓ\ell with the excess μ\mu above a modification-disjoint P3P_3-packing. Theorem 7 solves CLUSTER EDITING WITH FEW DELETIONS in O(4μ+ℓ⋅(n+m+μ))O(4^{\mu + \ell} \cdot (n + m + \mu)) 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 HH in place of μ\mu, and Theorem 13 replaces the P3P_3-packings in Theorem 7 by packings of stars with corresponding excess σ\sigma. We then give a kernel for CLUSTER EDITING WITH FEW DELETIONS with O((ℓ+μ)2)O((\ell + \mu)^2) vertices and O((ℓ+μ)3)O((\ell + \mu)^3) edges (Theorem 16) and a polynomial kernel for ℓ+σ\ell + \sigma (Theorem 22). Section 6 concludes with open questions. Proofs of results marked with ⋆\star are deferred to the appendix, which also contains our experiments (Section D).

References (84)