Abstract 1 Introduction 2 Preliminaries 3 QPTAS for MWIS: Proof of Theorem 1 4 QPTAS for (tw𝒓,𝝍)-MWIS: Proof of Theorem 2 5 Conclusion References

QPTAS for MWIS and Finding Large Sparse Induced Subgraphs in Graphs with Few Independent Long Holes

Édouard Bonnet ORCID Univ Lyon, CNRS, ENS de Lyon, Université Claude Bernard Lyon 1, LIP UMR5668, France    Jadwiga Czyżewska ORCID University of Warsaw, Poland    Tomáš Masařík ORCID University of Warsaw, Poland    Marcin Pilipczuk ORCID University of Warsaw, Poland    Paweł Rzążewski ORCID Warsaw University of Technology, Poland
University of Warsaw, Poland
Abstract

We present a quasipolynomial-time approximation scheme (QPTAS) for the Maximum Independent Set (MWIS) in graphs with a bounded number of pairwise vertex-disjoint and non-adjacent long induced cycles. More formally, for every fixed s and t, we show a QPTAS for MWIS in graphs that exclude sCt as an induced minor. Combining this with known results, we obtain a QPTAS for the problem of finding a largest induced subgraph of bounded treewidth with given hereditary property definable in Counting Monadic Second Order Logic, in the same classes of graphs.

This is a step towards a conjecture of Gartland and Lokshtanov which asserts that for any planar graph H, graphs that exclude H as an induced minor admit a polynomial-time algorithm for the latter problem. This conjecture is notoriously open and even its weaker variants are confirmed only for very restricted graphs H.

Keywords and phrases:
independent set, long holes, QPTAS, induced subgraphs
Funding:
Jadwiga Czyżewska: Supported by Polish National Science Centre SONATA BIS-12 grant number 2022/46/E/ST6/00143.
Tomáš Masařík: Supported by the Polish National Science Centre SONATA-17 grant number 2021/43/D/ST6/03312.
Marcin Pilipczuk: Supported by Polish National Science Centre SONATA BIS-12 grant number 2022/46/E/ST6/00143.
Paweł Rzążewski: Supported by the National Science Centre grant 2024/54/E/ST6/00094.
Copyright and License:
[Uncaptioned image] © Édouard Bonnet, Jadwiga Czyżewska, Tomáš Masařík, Marcin Pilipczuk, and Paweł Rzążewski; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Design and analysis of algorithms
Acknowledgements:
The project was initiated at the Structural Graph Theory workshop STWOR in September 2023. This workshop was a part of STRUG: Structural Graph Theory Bootcamp, funded by the “Excellence initiative – research university (2020–2026)” of University of Warsaw. We are grateful to Benjamin Bergougnoux, Linda Cook, and Marek Sokołowski for stimulating discussions on the topic.
Editor:
Pierre Fraigniaud

1 Introduction

In the Max Independent Set (MIS) problem, one is asked, given a graph G, for a largest independent set, i.e., a set of pairwise nonadjacent vertices in G. In the weighted variant of the problem, Max Weight Independent Set (MWIS), the input graph has vertex weights and we ask for an independent set of maximum weight. MIS (and thus MWIS) is a “canonical” hard problem – it is one of Karp’s 21 NP-hard problems [20], W[1]-hard (with respect to the solution size) [11] and notoriously hard to approximate [19], even in the parameterized setting [7, 21]. Thus, a natural question to ask when dealing with such a hard problem is as follows: For what classes of input graphs is the MWIS problem tractable?

Typically, this question is studied for hereditary graph classes, i.e., classes closed under vertex deletion. Each such class can be equivalently characterized by specifying minimal induced subgraphs that do not belong to the class. For graphs G and H, we say that G is H-free if it does not contain H as an induced subgraph.

The complexity study of MIS and MWIS in restricted graph classes is among the most active research directions in algorithmic graph theory. Let us list some relevant results, focusing on the case of H-free graphs, for a single graph H. Already in the early 1980s, Alekseev [2] observed that classic NP-hardness reductions imply that MIS remains NP-hard in H-free graphs for many graphs H. First, MIS is NP-hard in subcubic graphs, and thus in H-free graphs whenever H has a vertex of degree at least 4 [13]. The second reduction involves the so-called Poljak’s subdivision trick [29]: subdividing an edge of a graph twice yields a new graph where the size of a maximum independent set increases by exactly one. Consequently, for a fixed graph H, we can start with an arbitrary instance of MIS and subdivide each edge 2|V(H)| times. This way we obtain an equivalent instance that is H-free, whenever H has a cycle or two vertices of degree at least three in the same connected component.

Combining these two observations, we obtain that MIS (and thus, MWIS) remains NP-hard in H-free graphs, unless every component of H is a subcubic tree with at most one vertex of degree 3; let us call the family of such forests 𝒮. Let us highlight that in particular 𝒮 contains all paths and, more generally, linear forests (i.e., forests of paths).

We do not know any NP-hardness result for MWIS in H-free graphs when H𝒮. On the other hand, polynomial-time algorithms are known only for small graphs H𝒮 [3, 23, 24, 30, 22, 18, 6]. However, general belief in the community is that all cases not excluded by standard NP-hardness reductions mentioned above MWIS is polynomial-time-solvable. This belief is supported by the existence of a quasipolynomial-time algorithm. Indeed, for every H𝒮, the MWIS problem restricted to n-vertex H-free graphs can be solved in time n𝒪(log16n) [16]. Note that this is a strong indication that no H𝒮 defines an NP-hard case of MWIS, as otherwise every problem in NP can be solved in quasipolynomial time.

Let us have a closer look at the case of Pt-free graphs, i.e., graphs that exclude a t-vertex path as an induced subgraph. It turns out that in these classes we cannot only solve MWIS in quasipolynomial time [15, 28] (and in polynomial time for t6 [22, 18]), but the algorithms can actually be extended to a rich family of problems defined as follows [1, 9, 17]. For an integer r and a CMSO2 sentence111CMSO2 is a logic where one can use vertex, edge, and (vertex or edge) set variables, check vertex-edge incidence, quantify over variables, and apply counting predicates modulo fixed integers. See [11] for a formal introduction. ψ, we define the (twr,ψ)-MWIS problem as follows (here, MWIS stands for maximum-weight induced subgraph).

(twr,ψ)-MWIS

 

Input: A graph G equipped with a weight function 𝗐:V(G)0.

Task: Find a set SV(G), such that

  • G[S]ψ,

  • tw(G[S])r, and

  • S is of maximum weight subject to the conditions above,

or conclude that no such set exists.

Notable special cases of the (twr,ψ)-MWIS problem are MWIS, Feedback Vertex Set (equivalently, Max Induced Forest), and Even Cycle Transversal (equivalently, Max Induced Odd Cactus).

Interestingly, the quasipolynomial-time algorithm for (twr,ψ)-MWIS in Pt-free graphs can be extended to the class of Ct-free graphs: ones that do not contain an induced cycle with at least t vertices. Note that every Pt-free graph is Ct+1-free. We emphasize that Ct-free graphs form the class defined by an infinite minimal family of forbidden induced subgraphs. Furthermore, we cannot hope for tractability of (twr,ψ)-MWIS in H-free graphs, when H is a single graph other than a linear forest. Indeed, recall that if H𝒮, then already MWIS (r=0) is NP-hard in H-free graphs. On the other hand, if H𝒮 but is not a linear forest, then it must contain the claw – the three-leaf star, and Max Induced Forest (r=1) is NP-hard in the class of claw-free graphs [25].

This bring us to a question: What is the crucial property of Pt-free graphs that also extends to Ct-free graphs, but not to H-free graphs for any fixed H that is not a linear forest, and allows us to solve (twr,ψ)-MWIS efficiently?

It occurs that we should be looking at these classes from a different angle. For graph G and H, we say that H is an induced minor of G if it can be obtained from G by deleting vertices and contracting edges. Equivalently, this means that there is an induced minor model of H in G: a collection of |V(H)| pairwise disjoint subsets of V(G), each inducing a connected graph, and a bijection that maps these sets the vertices of H so that there is an edge between two sets if and only if their corresponding vertices are adjacent in H. We say that G is H-induced-minor-free if it does not contain H as an induced minor. Note that every H-induced-minor-free graph is in particular H-free. However, if H is a linear forest, then H-free graphs and H-induced-minor-free graphs coincide. Furthermore, Ct-free graphs are precisely Ct-induced-minor-free graphs.

The following conjecture asserts that the tractability of (twr,ψ)-MWIS actually extends to all classes excluding a fixed planar graph as an induced minor.

Conjecture A (Gartland, Lokshtanov [14]).

For every planar graph H, every problem expressible as (twr,ψ)-MWIS is polynomial-time-solvable in H-induced-minor-free graphs.

Let us emphasize that the assumption that we exclude a planar graph is crucial in ˜A. Indeed, the class of planar graphs excludes any non-planar graph as an induced minor and MWIS is NP-hard in planar graphs [13].

We are still very far from confirming ˜A in full generality. Indeed, even its weakening asking for a quasipolynomial-time algorithm, or even a quasipolynomial-time approximation scheme (QPTAS) seems challenging. Still, in recent years some special cases of ˜A were shown [4, 5, 12]. In the context of the current paper, the most relevant one seems to be the result of Bonnet et al. [5] that MWIS can be solved in quasipolynomial time in the class of (C4+sC3)-induced-minor-free graphs, for every fixed s. Here, by “+” we mean disjoint union and multiplication by s means s-fold disjoint union. Thus, C4+sC3 is the graph with s+1 components: one being a C4 and the remaining ones being triangles.

Thus, in quasipolynomial time we can solve MWIS (and even (twr,ψ)-MWIS) in graphs that exclude long induced cycles (i.e., Ct-free) and in graphs that exclude many induced and pairwise non-adjacent cycles (i.e., (C4+sC3)-induced-minor-free graphs). In this paper, we are interested in the common generalization of these classes: graphs that exclude many induced pairwise non-adjacent long cycles, i.e., the class of sCt-induced-minor-free graphs, for fixed s and t.

While we are not able to prove ˜A for sCt-induced-minor-free graphs, we provide a major step towards such a result. As the main technical contribution, we show a QPTAS for MWIS in the considered classes of graphs.

Theorem 1.

Let s,t be positive integers and ε(0,1) be a real. There is an algorithm that, given a vertex-weighted graph G, in quasipolynomial time returns either:

  • an induced minor model of sCt in G, or

  • an independent set of weight at least (1ε) times the maximum possible weight of an independent set in G.

The aforementioned quasipolynomial-time algorithm for MWIS in H-free graphs for H𝒮 [16] was preceded by a QPTAS in the same graph classes [10]. A recent similar result is a QPTAS for MWIS in graphs excluding a fixed wheel as an induced minor [8].

Next, combining Theorem 1 with known results concerning approximation schemes [17], we obtain a QPTAS for the unweighted variant of (twr,ψ)-MWIS under an additional mild assumption that ψ is a hereditary CMSO2 formula: (i) if Gψ, then Gψ for every induced subgraph G of G, and (ii) if G1ψ and G2ψ, then G1+G2ψ. We note that many natural graph properties, like e.g., planarity, bounded degeneracy, or excluding a fixed graph as a minor, can be defined by hereditary CMSO2 formulas.

Theorem 2.

Let r0, let s,t be positive integers, ε(0,1) be a real, and ψ be a hereditary CMSO2 formula. There is an algorithm that, given a graph G, in quasipolynomial time returns one of the following outputs:

  • an induced minor model of sCt in G, or

  • a solution to (twr,ψ)-MWIS of size at least (1ε) times the optimum one, or,

  • a correct conclusion that no solution to (twr,ψ)-MWIS exists.

2 Preliminaries

For integers k,, the set {k,k+1,,} is denoted as [k,] and we shorten [1,k] to [k].

We consider here (vertex-)weighted graphs (G,𝗐), where 𝗐 is a function V(G)0. For a subset X of vertices, we define its weight as 𝗐(X)=vX𝗐(v). For a weighted graph (G,𝗐), by α(G,𝗐) we denote the weight of a maximum-weight independent set in G. We assume that all computations on weights are performed in constant time.

The open neighborhood of a vertex v in G, denoted by NG(v), is the set of vertices adjacent to v. The closed neighborhood of v is the set NG[v]=NG(v){v}. For a subset X of vertices of G, its open neighborhood (resp., closed neighborhood) we mean the set NG(X)=vXNG(v)X (resp., NG[X]=vXNG[v]. If G is clear from the context, we omit the subscript and simply write N() and N[].

We say that two disjoint sets X,YV(G) are non-adjacent if there is no edge with one endpoint in X and the other in Y. Since all subgraphs in the paper are induced, we often identify such a subgraph with its vertex set.

For a connected graph G and a set AV(G), the BFS-layering of G from A is the partition of V(G) into sets L0,L1,,Lh called layers, where L0=A and for all i1, we have Li=N(Li1)j<i1Lj, and h is the largest possible so that Lh.

A hole in the graph is an induced cycle with at least 4 vertices. The following easy observation allows us to look for holes of certain length.

Lemma 3.

Given a graph G and an integer t4, one can in time 𝒪(|V(G)|t(|V(G)|+|E(G)|)) find a shortest hole in G of length at least t, or conclude that no such hole exists.

Proof.

First, in time 𝒪(|V(G)|t) we exhaustively check whether G has an induced cycle with exactly t vertices. If such a cycle exists, we return it as it is clearly shortest possible.

Next, for every tuple τ of t distinct vertices of G we check whether τ induces a path. Suppose this is the case and let x,y the endvertices of this path. We remove from G the closed neighborhood of all internal vertices of the path, except for x and y. Finally, we search for a shortest path connecting x and y in the obtained graph; together with the vertices from τ it forms an induced cycle with at least t vertices. We return the shortest of all cycles found in this process, or report that no cycle was found.

Finally, let us recall a result that is particularly useful for constructing QPTASes for MWIS. A vertex v of a weighted graph (G,𝗐) is γ-heavy with respect to a set IV(G) if 𝗐(NG[v]I)γ𝗐(I).

Lemma 4 ([10, Lemma 4.1]).

Let (G,𝗐) be a weighted graph on n vertices and γ(0,1) be a real number. In time n𝒪(logn/γ) we can enumerate a family of n𝒪(logn/γ) independent sets in G, each of size at most γ1logn, such that for every independent set I there exists I such that II and every γ-heavy vertex with respect to I belongs to N[I].

Intuitively, Lemma 4 is a quasipolynomial approximation-preserving reduction to instances without γ-heavy vertices: we can exhaustively guess I and delete N[I] from the graph.

3 QPTAS for MWIS: Proof of Theorem 1

In this section, we present a QPTAS for MWIS in graphs excluding sCt as an induced minor.

Theorem 1. [Restated, see original statement.]

Let s,t be positive integers and ε(0,1) be a real. There is an algorithm that, given a vertex-weighted graph G, in quasipolynomial time returns either:

  • an induced minor model of sCt in G, or

  • an independent set of weight at least (1ε) times the maximum possible weight of an independent set in G.

Proof.

Fix s and t. Since the value of t will be fixed throughout the whole proof, by a long hole we mean an induced cycle with at least t vertices. We denote such a long hole shortly by Ct.

Let (G,𝗐) be a weighted graph on n vertices. Let ε>0 be the desired precision, i.e., we aim for an (1ε)-approximation or for finding an induced subgraph isomorphic to sCt.

Strategy.

The algorithm is a typical recursive branching algorithm. Each recursive call is invoked for an induced subgraph G of G and an integer ss; the goal is to either exhibit an induced sCt subgraph of G or an independent set I of weight close to α(G,𝗐) (the actual error analysis is made formally later; it is not just merely an (1ε)-approximation to α(G,𝗐)). The initial call is to G=G and s=s.

We set

βεs+t+log6/5n and γβ31000t.

The computation of one recursive call is embedded in the following claim.

Claim 5.

Given an induced subgraph G of G and an integer 1ss, in time n𝒪(logn/γ) one can either report an induced sCt subgraph in G or enumerate a family 𝒳 of pairs (X,J) such that:

  1. 1.

    for every (X,J)𝒳, we have XV(G) and J is an independent set in G with N[J]X;

  2. 2.

    for every (X,J)𝒳, every connected component D of GX satisfies one of the following conditions:

    1. (a)

      there is a Ct in G which is disjoint and nonadjacent to D; or

    2. (b)

      D has at most 56|V(G)| vertices.

  3. 3.

    for every independent set I in G of weight α(G,𝗐), there exists (X,J)𝒳 with JI and 𝗐((XJ)I)βα(G,𝗐);

  4. 4.

    the size of 𝒳 is bounded by n𝒪(logn/γ).

We now argue how Claim 5 yields Theorem 1. Consider a recursive call with parameters (G,s). If s=0, then we return as an induced sCt. If V(G)=, we return the empty (independent) set.

Otherwise, we apply Claim 5 to G and s. If an induced sCt is returned, we return it and conclude. Otherwise, we iterate over the obtained family 𝒳. For every (X,J)𝒳, let 𝒟X be the set of connected components of GX. For every D𝒟X, we recurse on GDG[D] and either sDs if |D|56|V(G)| (Property 2b) or sDs1 otherwise. If an induced sDCt is returned in GD, we augment it with a Ct non-adjacent to D in G if sD=s1 (such a long hole can be found using Lemma 3) and return. Otherwise, if an independent set ID is returned, we compute an independent set I(X,J)=D𝒟XIDJ (Note that this is an independent set due to condition N[J]X.) Finally, if no sCt was returned for any (X,J)𝒳, we return I(X,J) of maximum weight among all options (X,J)𝒳. This completes the description of the algorithm.

Complexity analysis.

Let us move to the analysis. For a recursive call (G,s), let

μ(G,s)s+log6/5|V(G)|.

Observe that every recursive subcall (GD,sD) satisfies μ(GD,sD)μ(G,s)1. Hence, the depth of the recursion is bounded by s+log6/5n. Since every recursive call results in n𝒪(logn/γ) subcalls, the overall running time is as follows:

n𝒪(log2n/γ)=n𝒪(log2n/β3)=n𝒪(log5n/ε3),

i.e., quasipolynomial in n (we hide terms depending on s and t in the 𝒪()-notation).

Correctness and approximation guarantee.

Clearly, if any recursive call (G,s) finds an induced sCt, it is propagated up in the recursion tree and results in exhibiting an induced sCt in the root call. Assume then that every recursive call (G,s) returned an independent set, which we denote IG,s.

Consider a recursive call (G,s) and let I be an independent set in G of weight α(G,𝗐). By the promise of Claim 5, there exists (X,J)𝒳 in this recursive call with JI and 𝗐((XJ)I)βα(G,𝗐)=β𝗐(I). In particular, α(GX,𝗐)(1β)α(G,𝗐). By a standard induction on the depth of the subtree of the recursion tree, we obtain that if the depth of the recursion tree of a call (G,s) is h, then 𝗐(IG,s)(1β)hα(G,𝗐). In particular, since the recursion depth at the root is bounded by s+log6/5n, the root call returns an independent set of weight at least

(1β)s+log6/5nα(G,𝗐)(1β(s+log6/5n))α(G,𝗐)(1ε)α(G,𝗐).

Thus, it remains to prove Claim 5.

Proof of Claim 5.

Let I be an independent set in G of weight α(G,𝗐).

We start with a standard application of Lemma 4. We enumerate the family 0 of n𝒪(logn/γ) independent sets in G such that there exists I00 such that I0I and every γ-heavy vertex with respect to I belongs to N[I0]. Henceforth, we will refer to this choice of I0 as the correct choice of I0.

Initiate 𝒳=. We iterate over the elements of 0. For every I00 we proceed as follows. Let X0NG[I0] and G0GX0.

We find a shortest long hole in G0 by Lemma 3. If Lemma 3 reports that G0 is Ct-free, we invoke the exact quasipolynomial-time algorithm of [17] that finds in time n𝒪(log4n) an independent set J of maximum weight in G0. We insert (V(G),I0J) into 𝒳 and conclude computation for I0. Note that for the correct choice of I0, we have 𝗐(I0J)=α(G,𝗐).

Assume then that Lemma 3 returns a long hole H. If |V(H)|2t+8, then, assuming the correct choice of I0, we have

𝗐(NG0[V(H)]I)(2t+8)γ𝗐(I)β𝗐(I).

Hence, we can insert (XX0NG0[V(H)],I0) into 𝒳 and conclude the computation for the current I0, as then GX is non-adjacent to H, so every connected component of GX satisfies Property 2a.

Therefore, from now on, we assume that |V(H)|>2t+8.

Claim 6.

Every vertex vV(G0)V(H) has its neighbors in V(H) included in a 3-vertex subpath of H, or has a neighbor in every subpath of H at least t1 vertices.

Proof.

Assume v fails at realizing the latter condition. Then there is a (t1)-vertex subpath P of H, disjoint from the neighborhood of v. Let uuV(H) be such that u and u are neighbors of v, and delimit a subpath P of H containing P and containing only two neighbors of v (its endpoints u and u). Observe that if v has at most one neighbor in V(H), it readily satisfies the first condition of the claim. For V(P){v} not to contradict that H is a shortest long hole of G, vertices u and u have to be at distance at most 2 in H (along the other subpath of H delimited by u and u), and so v satisfies the first condition.

We first get rid of the vertices satisfying the second condition of Claim 6. Let P be a subpath of H with t1 vertices. We set X1NG0(P)V(H) and let G1 be the connected component of G0X1 that contains H.

We will insert X0X1 into any output set X in what follows, so one may think of this step as deleting the vertices of X1. Every connected component of G0X1 except for G1 satisfies Property 2a, so we need only to focus on G1.

As |V(P)|=t1, assuming the correct choice of I0, we have

𝗐(X1I)(t1)γ𝗐(I)β5𝗐(I).

Note that every vertex satisfying the second condition of Claim 6 lies in X1.

Let us now consider BFS layering from H in G1 with layers V(H)=L0,L1,L2,,Lh. If h5β, we set hh+1, and otherwise we iterate over all options of 1h5β. In both cases, there exists a choice of h with 𝗐(ILh)β5𝗐(I); we call it henceforth the correct choice of h. For fixed h, we set X2Lh and G2G1[i=0h1Li]. Note that G2 is connected and every connected component of G1X2 distinct from G2 lies in i>hLi and, consequently, is non-adjacent to H and therefore satisfies point 2a. Hence, in what follows we will insert X2 into any returned set X and we focus on G2.

Note that L0,L1,,Lh1 is the BFS layering in G2 from H. The following claims and definitions refer to G2.

For i<j, a vertical path between uLi and vLj with respect to is a path P such that V(P) intersects exactly once every layer Lk such that k[i,j], and no other layer. The cone of a vertex vV(G2) (still with respect to ) is the set of vertices

{xV(H)there is a vertical path between x and v}.
Claim 7.

In G2, let xLp, yLq, with pq such that there exists a path PipLi with vertices, connecting x and y which inner vertices are non-adjacent to H. Let x1 and y1 be two vertices in the cones of x and y, respectively. Then, the distance between x1 and y1 along H is at most p+q+.

Proof.

Let x, y, Lp, Lq, , x1, y1 and P be as in the claim statement.

Let Qx and Qy be two vertical paths from x and y to x1 and y1, respectively. Let x2 and y2 be the penultimate vertices of Qx and Qy, respectively. Note that x2,y2L1 and if p=1, then x2=x and y2=y. Let R be the shortest path in G2[V(P)V(Qx)V(Qy){x1,y1}] connecting x2 and y2. Note that R is non-adjacent to H except for the endpoints. Furthermore, |E(R)|(p1)+(q1)+.

Let A and B be the two subpaths of H connecting x1 and y1. Without loss of generality, we assume that |E(A)||E(B)|. As |V(H)|>2t+8, we have |E(A)|t+5.

Let x3 and y3 be the neighbors of x2 and y2 on A, respectively, such that no vertex of A between x3 and y3 is adjacent to neither x2 nor y2. Let A be the subpath of A from x3 to y3. Since the neighborhood in H of a vertex from L1 is contained in a subpath of at most three consecutive vertices (by Claim 6), we have |E(A)||E(A)|4t.

We now consider a cycle H that is a concatenation of x2x3, A, y3y2, and R. Note that H is an induced cycle in G2. As |E(A)|t, H is a long hole. As H is the shortest hole of length at least t, we have

|E(A)|+|E(B)|=|E(H)||E(H)|=2+|E(A)|+|E(R)||E(A)|+p+q+.

Hence, |E(B)|p+q+. This completes the proof.

Claim 8.

In G2, let xLp, yLq, with pq such that there exists a path PipLi with vertices connecting x and y which is disjoint and non-adjacent to H. Then the union of cones of x and y is contained in a subpath of H with at most 2(p+q+) vertices.

Proof.

Let Z be the union of the cones of x and y. By Claim 7, any two vertices, one belonging to the cone of x and another to the cone of y respectively, in Z lie within distance at most p+q+ along H. Hence, Z lies in the subpath of H with at most 2(p+q+) vertices.

In the further proof, we use the following two corollaries of Claim 8:

Claim 9.

For any p, the cone of any vertex vLp is contained in a subpath of H with at most 4p vertices.

Claim 10.

Let v1Lp and v2(Lp1Lp)N(v1). Then the union of the cones of v1 and v2 is contained in a subpath of H with at most 4p+1 vertices.

For every uV(H), let D(u)V(G2) be the vertices whose cone contains u. Let u0,u1,,u|V(H)|1 be a numbering of the vertices of H along the hole H. We set

Da,bk[a,a+b1]D(ukmod|V(H)|) and b45β+1.

As ph5β, so 4p<b. The following claim is a direct consequence of Claim 9.

Claim 11.

Two sets Da,b and Da,b are disjoint if |aa|mod|V(H)|>2b.

The removal of Da,bDa,b disconnects G, provided Da,b and Da,b are disjoint.

Claim 12.

Let a,a[0,|V(H)|1] be such that |aa|mod|V(H)|>2b. Then the removal of Da,bDa,b disconnects G~. In particular ua+bmod|V(H)| and ua+bmod|V(H)| are in distinct connected components of G~(Da,bDa,b).

Proof.

Let G3G2(Da,bDa,b), and assume without loss of generality that a<a. We want to argue that G3 is disconnected. By Claim 10, no vertex of V(G3)j[a+b,a1]D(uj) can be adjacent to a vertex of V(G3)j[0,a1][a+b,|V(H)|1]D(uj). Thus in particular ua+b and ua+bmod|V(H)| are in distinct connected components of G.

Let n2|V(G2)|. Fix 0a1a2|V(H)|1 minimizing a2a1 subject to

|j[a1,a2]D(uj)|n26. (1)

Observe that a1=a2 or

|j[a1,a2]D(uj)|<n23. (2)

We set d2b5β, and distinguish two cases: a2a1d or a2a1>d.

Case: 𝒂𝟐𝒂𝟏𝒅.

Let us consider the family of sets

3{Da1d,b,Da1d+2b,b,Da1d+4b,b,,Da14b,b,Da12b,b}.

By Claim 11, the 5β sets of 3 are pairwise disjoint, thus there exists X33 such that 𝗐(X3I)β5𝗐(I). For the same reason, there exists

X44{Da2+1,b,Da2+1+2b,b,Da2+1+4b,b,,Da2+d+14b,b,Da2+d+12b,b}

such that 𝗐(X4I)β5𝗐(I). We iterate over all choices of X3 and X4. Finally, we exploit the fact that a2a1 is small by adding X5j[a1,a2]N(uj) to the set of vertices to remove. As dγβ5, for the correct choices of I0 and h we have 𝗐(X5I)β5𝗐(I). We define XX0X1X2X3X4X5 and insert (X,I0) into 𝒳. We have 𝗐(X(II0))β𝗐(I).

We already argued that the connected components of GX disjoint from V(G2) satisfy Property 2a. By Claim 12, G2(X3X4X5) has two sets of connected components: those intersecting j[a1,a2]D(uj), and those not. The former kind are not adjacent to H, so satisfy Property 2a. The latter kind has at most 5n2/65|V(G)|/6 vertices, by design of the interval [a1,a2] using (1), so satisfy Property 2b.

Case: 𝒂𝟐𝒂𝟏>𝒅.

Recall that by (2) we have |j[a1,a2]D(uj)|<n2/3. Then j[a1d,a11]D(uj) and j[a2+1,a2+d]D(uj) contains each less than n2/6 vertices, by the minimality of a2a1. Hence |j[a1d,a2+d]D(uj)|<2n2/3. By the pigeonhole principle, as d=2b5β, there is a{a1d,a1d+2b,,a12b} (resp., a{a2+2b,a2+4b,,a2+d}) such that 𝗐(Da,bI)β5𝗐(I) (resp., 𝗐(Da,bI)β5𝗐(I)). We iterate over all choices of a and a and set X3Da,b, X4Da,b. We take XX0X1X2X3X4 and insert (X,I0) into 𝒳. For the correct choice of I0, h, a, a we have 𝗐(X(II0))β𝗐(I).

Observe finally that G2(X3X4) has no connected component of size larger than 2n2/3, hence larger than 5|V(G)|/6. This completes the proof of Claim 5 and thus, of Theorem 1.

4 QPTAS for (tw𝒓,𝝍)-MWIS: Proof of Theorem 2

The proof of Theorem 2 is based on the approach introduced by Gartland et al. [17, Section 4]. For a graph G, we define its blob graph G as follows:

V(G)= {XV(G)|G[X] is connected}
E(G)= {XY|G[XY] is connected}.

Equivalently, edges join sets that are either non-disjoint, or there is an edge from one set to another. Gartland et al. [17] proved that for every t4, a graph G is Ct-free if and only if G is Ct-free. First, let us extend this result to the setting of H-induced-minor-free graphs, where every component of H is a hole. The proof closely follows the proof of Paesani et al. for the case if H is a linear forest [27].

Theorem 13.

Let H be a graph whose every component is a hole. The graph G contains H as an induced minor if and only if G contains H as an induced minor.

Proof.

As G is an induced subgraph of G, the forward implication is immediate. We prove the backward implication by induction on the number s of connected components of H. The case s=1 was shown by Gartland et al. [17]. Thus, assume that s>1 and let C be a connected component of H. Let H=HC.

Suppose that G contains H as an induced minor. Fix one induced minor model of H in G and let 𝒳 be the set of vertices of the model. This means that G[𝒳] has s components, each of which is a cycle, and there is a one-to-one mapping from the components of G[𝒳] and components of H, so that each cycle is mapped to a cycle of at most its own length.

Let 𝒴𝒳 be the vertices of G that form the cycle mapped to C; each element of 𝒴 is a subset of V(G). Let YV(G) be the union of all sets in 𝒴. Note that G[𝒴] is an induced subgraph of (G[Y]). Thus, by the inductive assumption, G[Y] contains an induced cycle with at least |V(C)| vertices.

Now let XV(G) be the union of sets in 𝒳𝒴. Since 𝒴 is the vertex set of one component of G[𝒳], there are no edges between 𝒳𝒴 and 𝒴. Consequently, there are no edges in G between X and Y, and thus G[XY] is an induced subgraph of (GN[Y]).

Since G[𝒳𝒴], and thus (GN[Y]), contains H as an induced minor, by the inductive assumption we know that GN[Y] contains H as an induced minor. Combining its model with the model of C in G[Y], we obtain an induced minor model of H in G.

Let be a class of graphs. An induced -packing in a graph G is a set SV(G) such that every component of G[S] belongs to . For example, if ={K1}, then induced -packing in G if and only if it is an independent set.

The construction of blob graphs allows us to reduce the problem of finding an induced -packing of maximum size (or weight) in G to solving the MWIS problem in an appropriate induced subgraph of G. This is expressed in the following lemma whose proof is immediate, see e.g., [17, Section 4].

Lemma 14.

Let G be a graph, 𝗐:V(G)0 be a weight function, and be any class of graphs. Let 𝒳={XV(G)|G[X] and is connected}. Let 𝗐:𝒳0 be defined as 𝗐(X)=vX𝗐(v). Then the maximum weight of an induced -packing in G is equal to α(G[𝒳],𝗐).

The problem with using Lemma 14 is that 𝒳 might be very large, so the running time of the algorithm solving MWIS on (G[𝒳],𝗐) is not bounded by a moderate function of |V(G)|.

A class of graphs is weakly hyperfinite if for every δ>0 there exists cδ such that for any G there exists a set S|V(G)| of size at most δ|V(G)| so that every component of GS has at most cδ vertices [26, Section 16.2]. The following theorem follows the result of Gartland et al. [17]. Again, we include the proof for completeness.

Theorem 15.

Let be a non-empty hereditary weakly hyperfinite class of graphs. Let s,t be positive integers and ε(0,1) be a real. There is an algorithm that, given a graph G, in quasipolynomial time returns one of the following outputs:

  • an induced minor model of sCt in G, or

  • an induced -packing of size at least (1ε) times the size of a largest induced -packing in G.

Proof.

Without loss of generality assume that t4. Let δ=ε/2 and let cδ be the constant witnessing that is weakly hyperfinite. Let G be an n-vertex instance instance of the problem. Let

𝒳={XV(G)||X|cδ and G[X] is a connected graph from }.

Consider the graph G[𝒳]; note that it has 𝒪(ncδ) vertices and can be constructed in time polynomial in n as cδ is a constant. We call the algorithm from Theorem 1 for G[𝒳], weigths 𝗐 defined as in Lemma 14, and precision ε/2. It running time is quasipolynomial in 𝒪(ncδ) and thus in n.

If an induced minor of sCt is reported, we report an induced minor of sCt in G. Indeed, recall that G[𝒳] is an induced subgraph of G. Consequently, by Theorem 13, if G[𝒳] contains sCt as an induced minor, so does G.

Thus, suppose that the algorithm from Theorem 1 returns an induced -packing 𝒮 in G[𝒳]. It is straightforward to verify that S=𝒮 is an induced -packing in G. Let us argue how its size compares to the optimum one.

Let S be an optimum induced -packing in G. Let us construct another induced -packing S as follows. We consider every component of G[S] separately, let C be the vertex set of one such component. If |C|cδ, we set C=C and include this set in S. Otherwise, since G[C] is weakly hyperfinite, there is a set QCC of size at most δ|C|=ε/2|C|, such that every component of G[CQC] has at most cδ vertices. We set C=CQC and include it into S. Since is hereditary, it holds that G[C]. Note that in both cases we have |C|(1δ)|C|=(1ε/2)|C|. Consequently, we obtain

|S|=C: component of G[S]|C|C: component of G[S]|C|(1ε/2)=|S|(1ε/2).

Now, by Lemma 14 notice that the size of S is equal to the weight of a largest-weight independent set in G[𝒳]. Thus, by Theorem 1, we have |S|(1ε/2)|S|. Summarizing, it holds that

|S|(1ε/2)|S|(1ε/2)(1ε/2)|S|=(1ε+ε2)|S|(1ε)|S|.

This completes the proof.

Now let us argue how Theorem 15 implies Theorem 2.

Theorem 2. [Restated, see original statement.]

Let r0, let s,t be positive integers, ε(0,1) be a real, and ψ be a hereditary CMSO2 formula. There is an algorithm that, given a graph G, in quasipolynomial time returns one of the following outputs:

  • an induced minor model of sCt in G, or

  • a solution to (twr,ψ)-MWIS of size at least (1ε) times the optimum one, or,

  • a correct conclusion that no solution to (twr,ψ)-MWIS exists.

Proof.

Note that if ψ is consistent, i.e., if there is any graph H such that Hψ, then, since ψ is hereditary, we have K1ψ. Consequently, in such a case, every non-empty instance of (twr,ψ)-MWIS has a solution (for example, a single vertex). Since ψ is a fixed formula, we can verify if it is consistent in constant time. If not, we return the third outcome.

So from now on let us assume that some solution exists. It is known that graphs of treewidth at most r, for any fixed r, form a weakly hyperfinite class of graphs [26, Theorem 16.5]. Furthermore, this class is closed under vertex deletion and disjoint unions. Consequently, graphs of treewidth at most r satisfying ψ form a non-empty class closed under vertex deletion and disjoint unions. Thus, we obtain Theorem 2 as an immediate corollary of Theorem 15.

5 Conclusion

Let us conclude the paper with pointing out two specific problems for further research. First, it would be interesting to strengthen our Theorem 1 by solving the problem exactly without significantly increasing the running time.

Problem P1.

Show that for every fixed s,t, MWIS can be solved in quasipolynomial time in sCt-induced-minor-free graphs.

Second, let us suggest the following possible extension of our Theorem 1. Our starting point was a quasipolynomial-time algorithm for H-induced-minor-free graphs and we aimed to extend this result for H-induced-minor-free graphs, where every component of H is isomorphic to H. Perhaps this can be done in a more general setting?

Problem P2.

Suppose that H1 and H2 are graphs such that MWIS is (quasi)polynomial-time solvable in Hi-induced-minor-free graphs for i{1,2}. Show a quasipolynomial-time algorithm (or at least a QPTAS) for MWIS in (H1+H2)-induced-minor-free graphs.

We remark that the solution to Problem P2 is known if instead of forbidding certain graphs as induced minors, we forbid them as induced subgraphs [15]. However, the approach relies on the fact that induced subgraphs are constant-size objects, while an induced minor model of a constant-size graph might be arbitrarily large.

References

  • [1] Tara Abrishami, Maria Chudnovsky, Marcin Pilipczuk, Paweł Rzążewski, and Paul D. Seymour. Induced subgraphs of bounded treewidth and the container method. SIAM J. Comput., 53(3):624–647, 2024. doi:10.1137/20M1383732.
  • [2] Vladimir E. Alekseev. The effect of local constraints on the complexity of determination of the graph independence number. Combinatorial-algebraic methods in applied mathematics, pages 3–13, 1982.
  • [3] Vladimir E. Alekseev. Polynomial algorithm for finding the largest independent sets in graphs without forks. Discrete Applied Mathematics, 135(1):3–16, 2004. Russian Translations II. doi:10.1016/S0166-218X(02)00290-1.
  • [4] Marthe Bonamy, Édouard Bonnet, Hugues Déprés, Louis Esperet, Colin Geniet, Claire Hilaire, Stéphan Thomassé, and Alexandra Wesolek. Sparse graphs with bounded induced cycle packing number have logarithmic treewidth. In Nikhil Bansal and Viswanath Nagarajan, editors, Proceedings of the 2023 ACM-SIAM Symposium on Discrete Algorithms, SODA 2023, Florence, Italy, January 22-25, 2023, pages 3006–3028. SIAM, 2023. doi:10.1137/1.9781611977554.CH116.
  • [5] Édouard Bonnet, Julien Duron, Colin Geniet, Stéphan Thomassé, and Alexandra Wesolek. Maximum independent set when excluding an induced minor: K1+tK2 and tC3C4. Algorithmica, 88(1):16, 2026. doi:10.1007/S00453-025-01356-2.
  • [6] Andreas Brandstädt and Raffaele Mosca. Maximum weight independent set for claw-free graphs in polynomial time. Discret. Appl. Math., 237:57–64, 2018. doi:10.1016/J.DAM.2017.11.029.
  • [7] Parinya Chalermsook, Marek Cygan, Guy Kortsarz, Bundit Laekhanukit, Pasin Manurangsi, Danupon Nanongkai, and Luca Trevisan. From Gap-Exponential Time Hypothesis to fixed parameter tractable inapproximability: Clique, dominating set, and more. SIAM J. Comput., 49(4):772–810, 2020. doi:10.1137/18M1166869.
  • [8] Maria Chudnovsky, Jochen Pascal Gollin, Matjaž Krnc, and Martin Milanič. Dominated balanced separators in wheel-induced-minor-free graphs. CoRR, abs/2512.12329, 2025. doi:10.48550/arXiv.2512.12329.
  • [9] Maria Chudnovsky, Rose McCarty, Marcin Pilipczuk, Michał Pilipczuk, and Paweł Rzążewski. Sparse induced subgraphs in P6-free graphs. In David P. Woodruff, editor, Proceedings of the 2024 ACM-SIAM Symposium on Discrete Algorithms, SODA 2024, Alexandria, VA, USA, January 7-10, 2024, pages 5291–5299. SIAM, 2024. doi:10.1137/1.9781611977912.190.
  • [10] Maria Chudnovsky, Marcin Pilipczuk, Michal Pilipczuk, and Stéphan Thomassé. Quasi-polynomial time approximation schemes for the maximum weight independent set problem in H-free graphs. SIAM J. Comput., 53(1):47–86, 2024. doi:10.1137/20M1333778.
  • [11] Marek Cygan, Fedor V. Fomin, Lukasz 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.
  • [12] Clément Dallard, Martin Milanič, and Kenny Štorgel. Treewidth versus clique number. III. Tree-independence number of graphs with a forbidden structure. Journal of Combinatorial Theory, Series B, 167:338–391, 2024. doi:10.1016/j.jctb.2024.03.005.
  • [13] M.R. Garey, D.S. Johnson, and L. Stockmeyer. Some simplified NP-complete graph problems. Theoretical Computer Science, 1(3):237–267, 1976. doi:10.1016/0304-3975(76)90059-1.
  • [14] Peter Gartland. Quasi-Polynomial Time Techniques for Independent Set and Beyond in Hereditary Graph Classes. PhD thesis, University of California Santa Barbara, 2023.
  • [15] Peter Gartland and Daniel Lokshtanov. Independent set on Pk-free graphs in quasi-polynomial time. In Sandy Irani, editor, 61st IEEE Annual Symposium on Foundations of Computer Science, FOCS 2020, Durham, NC, USA, November 16-19, 2020, pages 613–624. IEEE, 2020. doi:10.1109/FOCS46700.2020.00063.
  • [16] Peter Gartland, Daniel Lokshtanov, Tomás Masařík, Marcin Pilipczuk, Michał Pilipczuk, and Paweł Rzążewski. Maximum weight independent set in graphs with no long claws in quasi-polynomial time. In Bojan Mohar, Igor Shinkar, and Ryan O’Donnell, editors, Proceedings of the 56th Annual ACM Symposium on Theory of Computing, STOC 2024, Vancouver, BC, Canada, June 24-28, 2024, pages 683–691. ACM, 2024. doi:10.1145/3618260.3649791.
  • [17] Peter Gartland, Daniel Lokshtanov, Marcin Pilipczuk, Michał Pilipczuk, and Paweł Rzążewski. Finding large induced sparse subgraphs in C>t-free graphs in quasipolynomial time. In Samir Khuller and Virginia Vassilevska Williams, editors, STOC ’21: 53rd Annual ACM SIGACT Symposium on Theory of Computing, Virtual Event, Italy, June 21-25, 2021, pages 330–341. ACM, 2021. doi:10.1145/3406325.3451034.
  • [18] Andrzej Grzesik, Tereza Klimošová, Marcin Pilipczuk, and Michał Pilipczuk. Polynomial-time algorithm for maximum weight independent set on P6-free graphs. ACM Trans. Algorithms, 18(1):4:1–4:57, 2022. doi:10.1145/3414473.
  • [19] Johan Håstad. Clique is hard to approximate within n(1ϵ). In Acta Mathematica, pages 627–636, 1996.
  • [20] Richard M. Karp. Reducibility among combinatorial problems. In Raymond E. Miller, James W. Thatcher, and Jean D. Bohlinger, editors, Complexity of Computer Computations: Proceedings of a symposium on the Complexity of Computer Computations, held March 20–22, 1972, at the IBM Thomas J. Watson Research Center, Yorktown Heights, New York, and sponsored by the Office of Naval Research, Mathematics Program, IBM World Trade Corporation, and the IBM Research Mathematical Sciences Department, pages 85–103, Boston, MA, 1972. Springer US. doi:10.1007/978-1-4684-2001-2_9.
  • [21] Bingkai Lin, Xuandi Ren, Yican Sun, and Xiuhan Wang. Improved hardness of approximating k-Clique under ETH. In 64th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2023, Santa Cruz, CA, USA, November 6-9, 2023, pages 285–306. IEEE, 2023. doi:10.1109/FOCS57990.2023.00025.
  • [22] Daniel Lokshtanov, Martin Vatshelle, and Yngve Villanger. Independent set in P5-free graphs in polynomial time. In Chandra Chekuri, editor, Proceedings of the Twenty-Fifth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2014, Portland, Oregon, USA, January 5-7, 2014, pages 570–581. SIAM, 2014. doi:10.1137/1.9781611973402.43.
  • [23] Vadim V. Lozin and Martin Milanič. A polynomial algorithm to find an independent set of maximum weight in a fork-free graph. J. Discrete Algorithms, 6(4):595–604, 2008. doi:10.1016/j.jda.2008.04.001.
  • [24] George J. Minty. On maximal independent sets of vertices in claw-free graphs. Journal of Combinatorial Theory, Series B, 28(3):284–304, 1980. doi:10.1016/0095-8956(80)90074-X.
  • [25] Andrea Munaro. On line graphs of subcubic triangle-free graphs. Discret. Math., 340(6):1210–1226, 2017. doi:10.1016/J.DISC.2017.01.006.
  • [26] Jaroslav Nešetřil and Patrice Ossona de Mendez. Sparsity - Graphs, Structures, and Algorithms, volume 28 of Algorithms and combinatorics. Springer, 2012. doi:10.1007/978-3-642-27875-4.
  • [27] Giacomo Paesani, Daniël Paulusma, and Paweł Rzążewski. Feedback Vertex Set and Even Cycle Transversal for H-free graphs: Finding large block graphs. SIAM J. Discret. Math., 36(4):2453–2472, 2022. doi:10.1137/22m1468864.
  • [28] Marcin Pilipczuk, Michał Pilipczuk, and Paweł Rzążewski. Quasi-polynomial-time algorithm for independent set in Pt-free graphs via shrinking the space of induced paths. In Hung Viet Le and Valerie King, editors, 4th Symposium on Simplicity in Algorithms, SOSA 2021, Virtual Conference, January 11-12, 2021, pages 204–209. SIAM, 2021. doi:10.1137/1.9781611976496.23.
  • [29] Svatopluk Poljak. A note on stable sets and colorings of graphs. Commentationes Mathematicae Universitatis Carolinae, 15:307–309, 1974.
  • [30] Najiba Sbihi. Algorithme de recherche d’un stable de cardinalite maximum dans un graphe sans etoile. Discrete Mathematics, 29(1):53–76, 1980. doi:10.1016/0012-365X(90)90287-R.