Fine-grained complexity of the graph homomorphism problem for bounded-treewidth graphs
Abstract
For graphs and , a \emph{homomorphism} from to is an edge-preserving mapping from the vertex set of to the vertex set of . For a fixed graph , by \textsc{Hom()} we denote the computational problem which asks whether a given graph admits a homomorphism to . If is a complete graph with vertices, then \textsc{Hom()} is equivalent to the -\textsc{Coloring} problem, so graph homomorphisms can be seen as generalizations of colorings. It is known that \textsc{Hom()} is polynomial-time solvable if is bipartite or has a vertex with a loop, and NP-complete otherwise [Hell and Ne\v{s}et\v{r}il, JCTB 1990]. In this paper we are interested in the complexity of the problem, parameterized by the treewidth of the input graph . If has vertices and is given along with its tree decomposition of width , then the problem can be solved in time , using a straightforward dynamic programming. We explore whether this bound can be improved. We show that if is a \emph{projective core}, then the existence of such a faster algorithm is unlikely: assuming the Strong Exponential Time Hypothesis (SETH), the \textsc{Hom()} problem cannot be solved in time , for any . This result provides a full complexity characterization for a large class of graphs , as almost all graphs are projective cores. We also notice that the naive algorithm can be improved for some graphs , and show a complexity classification for all graphs , assuming two conjectures from algebraic graph theory. In particular, there are no known graphs which are not covered by our result. In order to prove our results, we bring together some tools and techniques from algebra and from fine-grained complexity.
Cite
@article{arxiv.1906.08371,
title = {Fine-grained complexity of the graph homomorphism problem for bounded-treewidth graphs},
author = {Karolina Okrasa and Paweł Rzążewski},
journal= {arXiv preprint arXiv:1906.08371},
year = {2020}
}
Comments
An extended abstract of this paper appeared on SODA 2020