English

Current Algorithms for Detecting Subgraphs of Bounded Treewidth are Probably Optimal

Data Structures and Algorithms 2021-05-12 v1 Computational Complexity

Abstract

The Subgraph Isomorphism problem is of considerable importance in computer science. We examine the problem when the pattern graph H is of bounded treewidth, as occurs in a variety of applications. This problem has a well-known algorithm via color-coding that runs in time O(ntw(H)+1)O(n^{tw(H)+1}) [Alon, Yuster, Zwick'95], where nn is the number of vertices of the host graph GG. While there are pattern graphs known for which Subgraph Isomorphism can be solved in an improved running time of O(ntw(H)+1ε)O(n^{tw(H)+1-\varepsilon}) or even faster (e.g. for kk-cliques), it is not known whether such improvements are possible for all patterns. The only known lower bound rules out time no(tw(H)/log(tw(H)))n^{o(tw(H) / \log(tw(H)))} for any class of patterns of unbounded treewidth assuming the Exponential Time Hypothesis [Marx'07]. In this paper, we demonstrate the existence of maximally hard pattern graphs HH that require time ntw(H)+1o(1)n^{tw(H)+1-o(1)}. Specifically, under the Strong Exponential Time Hypothesis (SETH), a standard assumption from fine-grained complexity theory, we prove the following asymptotic statement for large treewidth tt: For any ε>0\varepsilon > 0 there exists t3t \ge 3 and a pattern graph HH of treewidth tt such that Subgraph Isomorphism on pattern HH has no algorithm running in time O(nt+1ε)O(n^{t+1-\varepsilon}). Under the more recent 3-uniform Hyperclique hypothesis, we even obtain tight lower bounds for each specific treewidth t3t \ge 3: For any t3t \ge 3 there exists a pattern graph HH of treewidth tt such that for any ε>0\varepsilon>0 Subgraph Isomorphism on pattern HH has no algorithm running in time O(nt+1ε)O(n^{t+1-\varepsilon}). In addition to these main results, we explore (1) colored and uncolored problem variants (and why they are equivalent for most cases), (2) Subgraph Isomorphism for tw<3tw < 3, (3) Subgraph Isomorphism parameterized by pathwidth, and (4) a weighted problem variant.

Keywords

Cite

@article{arxiv.2105.05062,
  title  = {Current Algorithms for Detecting Subgraphs of Bounded Treewidth are Probably Optimal},
  author = {Karl Bringmann and Jasper Slusallek},
  journal= {arXiv preprint arXiv:2105.05062},
  year   = {2021}
}

Comments

Full version of ICALP 2021 paper, 55 pages, abstract shortened to fit ArXiv requirements

R2 v1 2026-06-24T01:59:29.329Z