Full complexity classification of the list homomorphism problem for bounded-treewidth graphs

A homomorphism from a graph $G$ to a graph $H$ is an edge-preserving mapping from $V(G)$ to $V(H)$. Let $H$ be a fixed graph with possible loops. In the list homomorphism problem, denoted by LHom($H$), we are given a graph $G$, whose every vertex $v$ is assigned with a list $L(v)$ of vertices of $H$. We ask whether there exists a homomorphism $h$ from $G$ to $H$, which respects lists $L$, i.e., for every $v \in V(G)$ it holds that $h(v) \in L(v)$. The complexity dichotomy for LHom($H$) was proven by Feder, Hell, and Huang [JGT 2003]. We are interested in the complexity of the problem, parameterized by the treewidth of the input graph. This problem was investigated by Egri, Marx, and Rzązewski [STACS 2018], who obtained tight complexity bounds for the special case of reflexive graphs $H$. In this paper we extend and generalize their results for \emph{all} relevant graphs $H$, i.e., those, for which the LHom{H} problem is NP-hard. For every such $H$ we find a constant $k = k(H)$, such that LHom($H$) on instances with $n$ vertices and treewidth $t$ * can be solved in time $k^{t} \cdot n^{\mathcal{O}(1)}$, provided that the input graph is given along with a tree decomposition of width $t$, * cannot be solved in time $(k-\varepsilon)^{t} \cdot n^{\mathcal{O}(1)}$, for any $\varepsilon >0$, unless the SETH fails. For some graphs $H$ the value of $k(H)$ is much smaller than the trivial upper bound, i.e., $|V(H)|$. Obtaining matching upper and lower bounds shows that the set of algorithmic tools we have discovered cannot be extended in order to obtain faster algorithms for LHom($H$) in bounded-treewidth graphs. Furthermore, neither the algorithm, nor the proof of the lower bound, is very specific to treewidth. We believe that they can be used for other variants of LHom($H$), e.g. with different parameterizations.

[1]  Jaroslav Nesetril,et al.  Graphs and homomorphisms , 2004, Oxford lecture series in mathematics and its applications.

[2]  Pascal Tesson,et al.  The Complexity of the List Homomorphism Problem for Graphs , 2011, Theory of Computing Systems.

[3]  P. Hell,et al.  Sparse pseudo-random graphs are Hamiltonian , 2003 .

[4]  Marcin Pilipczuk,et al.  Deleting Vertices to Graphs of Bounded Genus , 2017, Algorithmica.

[5]  Michal Pilipczuk,et al.  A ck n 5-Approximation Algorithm for Treewidth , 2016, SIAM J. Comput..

[6]  Paul S. Bonsma,et al.  The Fine Details of Fast Dynamic Programming over Tree Decompositions , 2013, IPEC.

[7]  Russell Impagliazzo,et al.  Which problems have strongly exponential complexity? , 1998, Proceedings 39th Annual Symposium on Foundations of Computer Science (Cat. No.98CB36280).

[8]  Pavol Hell,et al.  List Homomorphisms to Reflexive Graphs , 1998, J. Comb. Theory, Ser. B.

[9]  Pawel Rzka.zewski Exact Algorithm for Graph Homomorphism and Locally Injective Graph Homomorphism , 2013 .

[10]  Andreas Björklund,et al.  Set Partitioning via Inclusion-Exclusion , 2009, SIAM J. Comput..

[11]  Pawel Rzazewski,et al.  Subexponential algorithms for variants of the homomorphism problem in string graphs , 2020, J. Comput. Syst. Sci..

[12]  Jirí Fiala,et al.  A complete complexity classification of the role assignment problem , 2005, Theor. Comput. Sci..

[13]  Pavol Hell,et al.  Two remarks on circular arc graphs , 1997, Graphs Comb..

[14]  Hans L. Bodlaender A linear time algorithm for finding tree-decompositions of small treewidth , 1993, STOC '93.

[15]  Dániel Marx,et al.  Known algorithms on graphs of bounded treewidth are probably optimal , 2010, SODA '11.

[16]  Fedor V. Fomin,et al.  Exact Algorithms for Graph Homomorphisms , 2005, Theory of Computing Systems.

[17]  Derek G. Corneil,et al.  Complexity of finding embeddings in a k -tree , 1987 .

[18]  Jaroslav Nesetril,et al.  On the complexity of H-coloring , 1990, J. Comb. Theory, Ser. B.

[19]  Bruno Courcelle,et al.  The Monadic Second-Order Logic of Graphs. I. Recognizable Sets of Finite Graphs , 1990, Inf. Comput..

[20]  Jirí Fiala,et al.  Matrix and Graph Orders Derived from Locally Constrained Graph Homomorphisms , 2005, MFCS.

[21]  CyganMarek,et al.  Tight Lower Bounds on Graph Embedding Problems , 2017 .

[22]  Stefan Arnborg,et al.  Linear time algorithms for NP-hard problems restricted to partial k-trees , 1989, Discret. Appl. Math..

[23]  Andrei A. Bulatov,et al.  Constraint satisfaction problems: complexity and algorithms , 2018, SIGL.

[24]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[25]  J. Pach,et al.  Wiley‐Interscience Series in Discrete Mathematics and Optimization , 2011 .

[26]  Martin Grohe,et al.  The complexity of first-order and monadic second-order logic revisited , 2002, Proceedings 17th Annual IEEE Symposium on Logic in Computer Science.

[27]  Peter Rossmanith,et al.  Dynamic Programming on Tree Decompositions Using Generalised Fast Subset Convolution , 2009, ESA.

[28]  Mark Siggers A New Proof of the $H$-Coloring Dichotomy , 2009 .

[29]  Paweł Rzewski Exact algorithm for graph homomorphism and locally injective graph homomorphism , 2014 .

[30]  Russell Impagliazzo,et al.  Complexity of k-SAT , 1999, Proceedings. Fourteenth Annual IEEE Conference on Computational Complexity (Formerly: Structure in Complexity Theory Conference) (Cat.No.99CB36317).

[31]  Jirí Fiala,et al.  Cantor-Bernstein type theorem for locally constrained graph homomorphisms , 2006, Eur. J. Comb..

[32]  Bart M. P. Jansen,et al.  Computing the Chromatic Number Using Graph Decompositions via Matrix Rank , 2018, ESA.

[33]  Jakub W. Pachocki,et al.  Tight Lower Bounds on Graph Embedding Problems , 2016, J. ACM.

[34]  Stefan Kratsch,et al.  Deterministic Single Exponential Time Algorithms for Connectivity Problems Parameterized by Treewidth , 2013, ICALP.

[35]  Magnus Wahlström,et al.  New Plain-Exponential Time Classes for Graph Homomorphism , 2009, Theory of Computing Systems.

[36]  Dániel Marx,et al.  Finding List Homomorphisms from Bounded-treewidth Graphs to Reflexive Graphs: a Complete Complexity Characterization , 2018, STACS.

[37]  Dániel Marx,et al.  List H-Coloring a Graph by Removing Few Vertices , 2013, Algorithmica.

[38]  Pawel Rzazewski,et al.  Fine-grained complexity of graph homomorphism problem for bounded-treewidth graphs , 2019, SODA.

[39]  Arie M. C. A. Koster,et al.  Combinatorial Optimization on Graphs of Bounded Treewidth , 2008, Comput. J..

[40]  Jeremy P. Spinrad Circular-arc graphs with clique cover number two , 1988, J. Comb. Theory, Ser. B.

[41]  Pawel Rzazewski,et al.  Subexponential algorithms for variants of homomorphism problem in string graphs , 2018, WG.

[42]  Michal Pilipczuk,et al.  Problems Parameterized by Treewidth Tractable in Single Exponential Time: A Logical Approach , 2011, MFCS.

[43]  Andrei A. Bulatov H-Coloring dichotomy revisited , 2005, Theor. Comput. Sci..

[44]  William T. Trotter,et al.  Characterization problems for graphs, partially ordered sets, lattices, and families of sets , 1976, Discret. Math..

[45]  Pavol Hell,et al.  List Homomorphisms and Circular Arc Graphs , 1999, Comb..

[46]  Stefan Kratsch,et al.  Optimality and tight results in parameterized complexity (Dagstuhl Seminar 14451) , 2014, Dagstuhl Reports.

[47]  Béla Bollobás,et al.  The Diameter of Random Graphs , 1981 .