English

Everything you always wanted to know about the parameterized complexity of Subgraph Isomorphism (but were afraid to ask)

Data Structures and Algorithms 2013-08-27 v3 Computational Complexity

Abstract

Given two graphs HH and GG, the Subgraph Isomorphism problem asks if HH is isomorphic to a subgraph of GG. 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(\tw(H))2^{O(|V(H)|)}\cdot n^{O(\tw(H))} using the color-coding technique of Alon, Yuster, and Zwick; (2) in time f(V(H),\tw(G))nf(|V(H)|,\tw(G))\cdot n using Courcelle's Theorem; (3) in time f(V(H),\genus(G))nf(|V(H)|,\genus(G))\cdot n using a result on first-order model checking by Frick and Grohe; or (4) in time f(\maxdeg(H))nO(\tw(G))f(\maxdeg(H))\cdot n^{O(\tw(G)}) for connected HH using the algorithm of Matou\v{s}ek 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 HH and GG (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) f_1(p_1,p_2,..., p_\ell)\cdot n^{f_2(p_{\ell+1},..., p_k)} exist, where each of p1,...,pkp_1,..., p_k is one of the 10 parameters depending only on HH or GG. We show that {\em 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 GG 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 HH is a bounded-degree tree of constant pathwidth and GG is a planar graph of bounded pathwidth.

Keywords

Cite

@article{arxiv.1307.2187,
  title  = {Everything you always wanted to know about the parameterized complexity of Subgraph Isomorphism (but were afraid to ask)},
  author = {Dániel Marx and Michał Pilipczuk},
  journal= {arXiv preprint arXiv:1307.2187},
  year   = {2013}
}

Comments

85 pages, 16 figures; program and input data file can be found as ancillary files. Version [v2]: revised conclusions, ancillary files added properly. Version [v3]: added a remark about fixed-parameter tractability of the Conjoining Matching problem following from Lemma 3.2