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

Complexity Analysis of Generalized and Fractional Hypertree Decompositions

Georg Gottlob, Matthias Lanzinger, Reinhard Pichler, Igor Razgon · DOI

TL;DR

This paper tackles the computational complexity of hypergraph decomposition methods, specifically generalized hypertree decompositions (GHDs) and fractional hypertree decompositions (FHDs). The authors prove that checking for bounded GHD and FHD width is NP-complete, even for small widths, settling long-standing open problems. They also identify practical restrictions on hypergraphs that make these problems tractable or allow for efficient approximations.

What Problem Does This Paper Address?

Hypergraph decomposition methods like hypertree decompositions (HDs), generalized hypertree decompositions (GHDs), and fractional hypertree decompositions (FHDs) are crucial for solving problems in areas like database query answering (conjunctive queries) and constraint satisfaction. These methods assign a "width" to a hypergraph, and problems become computationally easier for hypergraphs with bounded width. A key question has been how efficiently we can determine if a hypergraph has a decomposition of a certain width (e.g., width at most k). While checking for bounded hypertree width (hw) is efficient, the complexity for generalized hypertree width (ghw) and fractional hypertree width (fhw) remained open or partially resolved for some cases. Specifically, checking if ghw(H) ≤ k is NP-complete for k ≥ 3, but the case k=2 was open. Similarly, checking if fhw(H) ≤ k for any fixed k was a decade-old open problem. This paper aims to resolve these complexities and explore conditions under which these problems become tractable.

Methods

The paper makes significant contributions by proving the NP-completeness of checking for bounded GHD and FHD widths. For Research Challenge 1 (fhw ≤ k) and Research Challenge 2 (ghw ≤ 2), the authors devise a novel reduction from the 3SAT problem. This reduction involves constructing specific hypergraph "gadgets" that encode the 3SAT instance. By carefully designing these gadgets and their interconnections, they demonstrate that the fractional or generalized hypertree width of the constructed hypergraph is 2 if and only if the original 3SAT instance is satisfiable. This construction is a key technical contribution.

For Research Challenge 3 (tractable restrictions) and Research Challenge 4 (approximations), the paper introduces and analyzes several properties of hypergraphs that lead to tractability or efficient approximations. These include:

  • Bounded Intersection Property (BIP) and its generalization, Bounded Multi-Intersection Property (BMIP): These properties limit the size of intersections between hyperedges.
  • Bounded Degree Property (BDP): This limits the number of hyperedges a vertex can belong to.
  • Vapnik-Chervonenkis (VC) dimension: A more general property related to the complexity of hypergraphs.

The authors leverage these properties to develop polynomial-time algorithms for checking GHD and FHD widths or for approximating FHD width. They also introduce a framework for candidate tree decompositions and component normal form (ComNF) to unify their tractability proofs.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Settling NP-completeness: The paper definitively proves that checking for bounded fractional hypertree width (fhw) is NP-complete, even for a width of 2. This resolves a long-standing open problem. It also proves the NP-completeness of checking for bounded generalized hypertree width (ghw) for width 2.
  • Novel Reduction Technique: The construction of hypergraph gadgets for the 3SAT reduction is a significant technical innovation, enabling the proof of NP-completeness for both fhw and ghw at width 2.
  • Identifying Tractable Fragments: The paper identifies several realistic hypergraph properties (BIP, BMIP, BDP, bounded VC-dimension) that make the otherwise hard problems tractable or allow for efficient approximations. This is crucial for practical applications.
  • Approximation Guarantees: For hypergraphs with BMIP, the paper provides a polynomial-time approximation scheme (PTAS) for finding fractional hypertree decompositions, achieving widths arbitrarily close to the optimal. For hypergraphs with bounded VC-dimension, they offer an approximation with a logarithmic factor.
  • Unified Framework: The introduction of a framework for candidate tree decompositions and component normal form (ComNF) helps to unify the tractability proofs for GHDs and FHDs.

Key Results

  • NP-completeness:
    • Checking fhw(H) ≤ k is NP-complete for any fixed k ≥ 2.
  • Checking ghw(H) ≤ 2 is NP-complete.
  • Tractability under Restrictions: For classes of hypergraphs satisfying the LogBMIP (a generalization of BMIP), CHECK(GHD, k) is tractable for any fixed k. For classes with BDP or BIP, CHECK(FHD, k) is tractable for any fixed k.
  • Approximation Results:
    • For hypergraphs with BMIP, a PTAS is provided for approximating fhw, achieving a width of k(1 + є) for any є > 0.
  • For hypergraphs with bounded VC-dimension, an approximation algorithm yields an FHD of width O(k log k).

Limitations and Future Work

  • Open Problem for FHD Tractability under BMIP: While the paper provides efficient approximations for FHDs under BMIP, it remains an open question whether BMIP alone is sufficient to ensure tractability for the exact CHECK(FHD, k) problem. The authors conjecture that it might be.
  • Special Condition for FHDs: The paper mentions the "special condition" for FHDs and asks whether efficient recognizability of FHDs satisfying this condition is possible.
  • Generalizing Approximations: The paper suggests exploring further issues regarding the computation and approximation of fractional hypertree width, particularly for classes with bounded VC dimension and the BMIP.
  • LogCFL Upper Bound: While a LogCFL upper bound is established for GHDs under LogBMIP, it's unclear if this applies to FHDs due to the complexity of fractional edge covers.

Summary updated

BibTeX
@article{gottlob2021complexity,
  author = {Georg Gottlob and Matthias Lanzinger and Reinhard Pichler and Igor Razgon},
  title = {{Complexity Analysis of Generalized and Fractional Hypertree Decompositions}},
  journal = {J. ACM},
  year = {2021},
  doi = {10.1145/3457374},
}
Figure