Fine-grained complexity of the graph homomorphism problem for bounded-treewidth graphs

preprint2020arXivOpen access

Abstract

For graphs GG and HH, a \emph{homomorphism} from GG to HH is an edge-preserving mapping from the vertex set of GG to the vertex set of HH. For a fixed graph HH, by \textsc{Hom(HH)} we denote the computational problem which asks whether a given graph GG admits a homomorphism to HH. If HH is a complete graph with kk vertices, then \textsc{Hom(HH)} is equivalent to the kk-\textsc{Coloring} problem, so graph homomorphisms can be seen as generalizations of colorings. It is known that \textsc{Hom(HH)} is polynomial-time solvable if HH is bipartite or has a vertex with a loop, and NP-complete otherwise [Hell and Nešetřil, JCTB 1990]. In this paper we are interested in the complexity of the problem, parameterized by the treewidth of the input graph GG. If GG has nn vertices and is given along with its tree decomposition of width tw(G)\mathrm{tw}(G), then the problem can be solved in time ∣V(H)∣tw(G)⋅nO(1)|V(H)|^{\mathrm{tw}(G)} \cdot n^{\mathcal{O}(1)}, using a straightforward dynamic programming. We explore whether this bound can be improved. We show that if HH 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(HH)} problem cannot be solved in time (∣V(H)∣−ε)tw(G)⋅nO(1)(|V(H)|-ε)^{\mathrm{tw}(G)} \cdot n^{\mathcal{O}(1)}, for any ε>0ε> 0. This result provides a full complexity characterization for a large class of graphs HH, as almost all graphs are projective cores. We also notice that the naive algorithm can be improved for some graphs HH, and show a complexity classification for all graphs HH, assuming two conjectures from algebraic graph theory. In particular, there are no known graphs HH 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.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.