Everything you always wanted to know about the parameterized complexity of Subgraph Isomorphism (but were afraid to ask)
Abstract
Given two graphs H and G, the Subgraph Isomorphism problem asks if H is isomorphic to a subgraph of G. While NP-hard in general, algorithms exist for various parameterized versions of the problem: for example, the problem can be solved (1) in time 2O(|V(H)|)· nO((H)) using the color-coding technique of Alon, Yuster, and Zwick; (2) in time f(|V(H)|,(G))· n using Courcelle's Theorem; (3) in time f(|V(H)|,(G))· n using a result on first-order model checking by Frick and Grohe; or (4) in time f((H))· nO((G)) for connected H using the algorithm of Matousek and Thomas. Already this small sample of results shows that the way an algorithm can depend on the parameters is highly nontrivial and subtle. We develop a framework involving 10 relevant parameters for each of H and G (such as treewidth, pathwidth, genus, maximum degree, number of vertices, number of components, etc.), and ask if an algorithm with running time \[ f1(p1,p2,..., p)· nf2(p+1,..., pk) \] exist, where each of p1,..., pk is one of the 10 parameters depending only on H or G. We show that all the questions arising in this framework are answered by a set of 11 maximal positive results (algorithms) and a set of 17 maximal negative results (hardness proofs); some of these results already appear in the literature, while others are new in this paper. On the algorithmic side, our study reveals for example that an unexpected combination of bounded degree, genus, and feedback vertex set number of G gives rise to a highly nontrivial algorithm for Subgraph Isomorphism. On the hardness side, we present W[1]-hardness proofs under extremely restricted conditions, such as when H is a bounded-degree tree of constant pathwidth and G is a planar graph of bounded pathwidth.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.