Skip to main content
QUICK REVIEW

[Paper Review] Current Algorithms for Detecting Subgraphs of Bounded Treewidth Are Probably Optimal

Karl Bringmann, Jasper Slusallek|arXiv (Cornell University)|Jan 1, 2021
Advanced Graph Theory ResearchComputer Science64 references3 citations
TL;DR

This paper demonstrates that current algorithms for detecting subgraphs of bounded treewidth are likely optimal under standard complexity assumptions. Using fine-grained complexity theory, it proves that for any treewidth t ≥ 3, there exist pattern graphs H of treewidth t for which Subgraph Isomorphism cannot be solved in time O(n^{t+1−ε}) for any ε > 0, under the 3-uniform Hyperclique Hypothesis or the Strong Exponential Time Hypothesis (SETH).

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(n^{tw(H)+1})$ [Alon, Yuster, Zwick'95], where $n$ is the number of vertices of the host graph $G$. While there are pattern graphs known for which Subgraph Isomorphism can be solved in an improved running time of $O(n^{tw(H)+1-\varepsilon})$ or even faster (e.g. for $k$-cliques), it is not known whether such improvements are possible for all patterns. The only known lower bound rules out time $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 $H$ that require time $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 $t$: For any $\varepsilon > 0$ there exists $t \ge 3$ and a pattern graph $H$ of treewidth $t$ such that Subgraph Isomorphism on pattern $H$ has no algorithm running in time $O(n^{t+1-\varepsilon})$. Under the more recent 3-uniform Hyperclique hypothesis, we even obtain tight lower bounds for each specific treewidth $t \ge 3$: For any $t \ge 3$ there exists a pattern graph $H$ of treewidth $t$ such that for any $\varepsilon>0$ Subgraph Isomorphism on pattern $H$ has no algorithm running in time $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 < 3$, (3) Subgraph Isomorphism parameterized by pathwidth, and (4) a weighted problem variant.

Motivation & Objective

  • To determine whether the classic color-coding algorithm for Subgraph Isomorphism on bounded-treewidth graphs can be significantly improved.
  • To investigate whether there exist 'maximally hard' pattern graphs H for which no algorithm runs in time O(n^{tw(H)+1−ε}) for any ε > 0.
  • To establish tight conditional lower bounds for Subgraph Isomorphism parameterized by treewidth, under widely accepted complexity hypotheses.
  • To unify and extend results across variants: colored vs. uncolored, pathwidth vs. treewidth, and weighted vs. unweighted subgraph isomorphism.
  • To explore the limits of algorithmic improvements for subgraph detection in structured graphs, especially in practical settings like bioinformatics and program analysis.

Proposed method

  • Uses the Strong Exponential Time Hypothesis (SETH) and the 3-uniform Hyperclique Hypothesis as foundational assumptions for fine-grained complexity lower bounds.
  • Constructs a reduction from a known hard problem (e.g., Hyperclique) to Subgraph Isomorphism on carefully designed pattern graphs H with treewidth t.
  • Employs a signature-based weight encoding technique to simulate injective mappings in weighted variants, ensuring solutions pick exactly one vertex from each preimage.
  • Adapts and unifies existing algorithms, including color-coding and Curticapean-Dell-Marx methods, into a single framework for treewidth-based subgraph detection.
  • Applies a transformation to convert colored or weighted instances into uncolored, unweighted instances with modified weights, preserving solution structure.
  • Uses a layered construction of host graphs G from pattern graphs H via preimages under a homomorphism f, ensuring structural fidelity in reductions.

Experimental results

Research questions

  • RQ1Are there pattern graphs H of treewidth t for which Subgraph Isomorphism cannot be solved in time O(n^{t+1−ε}) for any ε > 0?
  • RQ2Can the color-coding algorithm be significantly improved for all pattern graphs of bounded treewidth, or are there inherent limits?
  • RQ3Do tight lower bounds hold for each specific treewidth t ≥ 3 under the 3-uniform Hyperclique Hypothesis?
  • RQ4How do the complexities of Subgraph Isomorphism vary across variants: colored, uncolored, pathwidth-parameterized, or weighted?
  • RQ5Can the hardness of pattern graphs be classified based on structural properties beyond treewidth?

Key findings

  • Under the 3-uniform Hyperclique Hypothesis, for every t ≥ 3, there exists a pattern graph H of treewidth t such that Subgraph Isomorphism on H cannot be solved in time O(n^{t+1−ε}) for any ε > 0.
  • Under SETH, for any ε > 0, there exists t ≥ 3 and a pattern graph H of treewidth t such that Subgraph Isomorphism on H has no algorithm running in time O(n^{t+1−ε}).
  • The paper establishes tight bounds for both colored and uncolored variants of Subgraph Isomorphism, showing they are asymptotically equivalent in complexity for bounded treewidth.
  • For pathwidth-parameterized Subgraph Isomorphism, the paper shows that the exponent ω(p−1) in known algorithms cannot be improved without breaking known complexity assumptions.
  • The weighted variant, Exact Weight Subgraph Isomorphism, is reduced to the unweighted case via signature encoding, preserving the O(n^{tw(H)+1−ε}) lower bound under the same hypotheses.
  • The paper provides a unifying framework that combines the color-coding and Curticapean-Dell-Marx algorithms, showing both can be captured within a single theoretical model.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.