NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hitting forbidden subgraphs in graphs of bounded treewidth

Marek Cygan, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk

Introduction

The problem of "hitting" a set of objects in a graph involves selecting a minimum subset of vertices such that every object in the target set contains at least one selected vertex. A fundamental instance is the Vertex Cover problem, which seeks to hit all edges (isomorphic to $P_2$). This research generalizes this concept to the $H$-Subgraph Hitting problem: given a fixed pattern graph $H$ and an input graph $G$, identify the smallest vertex set in $G$ that intersects every subgraph isomorphic to $H$.

While $H$-Subgraph Hitting is generally NP-hard, its complexity can be parameterized by the treewidth ($t$) of the input graph $G$. This paper explores the optimal dependence of the running time on $t$, specifically investigating whether the complexity follows a $2^{O(t)}$, $2^{O(t^2)}$, or more complex growth pattern.

Methodology

The authors utilize two primary theoretical frameworks to establish tight complexity bounds:

Dynamic Programming and Witness Graphs

To derive upper bounds, the authors develop dynamic programming (DP) algorithms operating on tree decompositions of $G$. A significant challenge in subgraph hitting is that an $H$-subgraph may be distributed across multiple bags in the decomposition. To address this, the authors introduce witness graphs. These are compact representative structures that maintain essential connectivity information, allowing the algorithm to track potential $H$-subgraphs without storing every possible partial isomorphism.

Complexity Reductions under ETH

Lower bounds are established through reductions from 3-SAT, assuming the Exponential Time Hypothesis (ETH). The authors construct sophisticated gadgets—including OR-gadgets and cycle-gadgets—to map Boolean logic onto the presence of $H$-subgraphs within graphs of constrained treewidth.

The Role of Graph Structure

A central finding is that the complexity of the "colorful" variant of the problem is governed by the structural properties of $H$. In the colorful version, vertices in $G$ are pre-assigned colors corresponding to specific roles in $H$.

Comparison of colorful and standard graph instances.

The complexity is precisely determined by $\mu(H)$, the maximum size of a minimal vertex separator in $H$. This parameter represents the minimum number of vertices required to disconnect $H$ into smaller components. For the colorful version, the authors prove a matching upper and lower bound of $2^{\Theta(t^{\mu(H)})}$.

Key Results and Special Cases

The research provides a comprehensive map of the complexity landscape:

  • Colorful $H$-Subgraph Hitting: Solvable in $2^{O(t^{\mu(H)})} \cdot |V(G)|$ time. This is optimal under ETH.
  • Standard $H$-Subgraph Hitting: The authors provide a general upper bound of $2^{O(t^{\mu^*(H)} \log t)} \cdot |V(G)|$, where $\mu^*(H)$ is a related structural parameter.
  • Symmetry and Complexity: Interestingly, symmetries in $H$ can reduce complexity. For instance, hitting "pumpkin" graphs ($K_{2,h}$) is more efficient than hitting asymmetric variants.
Example of a pumpkin graph $K_{2,h}$.

Specific results for common patterns include:

  • Paths ($P_h$): Solvable in $2^{O(t \log t)}$, avoiding the higher exponents suggested by general bounds.
  • Pumpkins ($K_{2,h}$): Solvable in $2^{O(t^2 \log t)}$.

Conclusion

This work provides a definitive characterization of the colorful $H$-Subgraph Hitting problem and significantly advances our understanding of the standard version. Future research aims to bridge the remaining gaps in the standard version's complexity and apply these witness-graph techniques to minor-hitting problems, which currently suffer from double-exponential dependencies on treewidth.

Summary updated

BibTeX
@article{cygan2017hitting,
  author = {Marek Cygan and Dániel Marx and Marcin Pilipczuk and Michal Pilipczuk},
  title = {{Hitting forbidden subgraphs in graphs of bounded treewidth}},
  journal = {Inf. Comput.},
  year = {2017},
  doi = {10.1016/j.ic.2017.04.009},
}
Figure