[Paper Review] A More General Theory of Static Approximations for Conjunctive Queries
This paper resolves two long-standing open problems in hypergraph decomposition: it proves that checking fractional hypertree width (fhw) ≤ k and generalized hypertree width (ghw) ≤ 2 are both NP-complete, settling decades-old questions. The authors further identify tractable restrictions—such as bounded multi-intersection property (BMIP) and bounded intersection property (BIP)—that enable polynomial-time approximation of fhw within a logarithmic factor, offering practical algorithms for conjunctive query and CSP optimization.
Conjunctive query (CQ) evaluation is NP-complete, but becomes tractable for fragments of bounded hypertreewidth. If a CQ is hard to evaluate, it is thus useful to evaluate an approximation of it in such fragments. While underapproximations (i.e., those that return correct answers only) are well-understood, the dual notion of overapproximations that return complete (but not necessarily sound) answers, and also a more general notion of approximation based on the symmetric difference of query results, are almost unexplored. In fact, the decidability of the basic problems of evaluation, identification, and existence of those approximations, is open. We develop a connection with existential pebble game tools that allows the systematic study of such problems. In particular, we show that the evaluation and identification of overapproximations can be solved in polynomial time. We also make progress in the problem of existence of overapproximations, showing it to be decidable in 2EXPTIME over the class of acyclic CQs. Furthermore, we look at when overapproximations do not exist, suggesting that this can be alleviated by using a more liberal notion of overapproximation. We also show how to extend our tools to study symmetric difference approximations. We observe that such approximations properly extend under- and over-approximations, settle the complexity of its associated identification problem, and provide several results on existence and evaluation.
Motivation & Objective
- To resolve the open problem of whether checking fractional hypertree width (fhw) ≤ k is tractable for fixed k ≥ 2.
- To settle the complexity of generalized hypertree width (ghw) ≤ 2, which had remained unresolved despite known hardness for k ≥ 3.
- To identify realistic, non-trivial hypergraph restrictions that enable tractable computation or approximation of bounded ghw and fhw.
- To develop polynomial-time approximation algorithms for fhw with improved approximation ratios under meaningful structural constraints.
Proposed method
- Reduction from 3-SAT to prove NP-completeness of checking fhw ≤ 2 and ghw ≤ 2 using a novel construction of hypergraphs with controlled edge intersections.
- Introduction of the bounded multi-intersection property (BMIP) as a structural restriction ensuring tractability of fhw approximation.
- Leveraging VC-dimension and fractional edge cover duality to bound approximation ratios via combinatorial properties of hypergraphs.
- Establishing that BMIP implies bounded VC-dimension, which enables logarithmic-factor approximation of fhw via integral edge cover approximation.
- Using the bounded degree property (BDP) to ensure tractability of Check(FHD,k) and BIP to allow arbitrarily close polynomial-time approximation of fhw.
- Applying results from hypergraph theory and constraint satisfaction to derive approximation guarantees under structural assumptions.
Experimental results
Research questions
- RQ1Is the problem of checking whether fhw(H) ≤ k is NP-complete for fixed k ≥ 2?
- RQ2Is the problem of checking whether ghw(H) ≤ 2 tractable or NP-complete?
- RQ3Can meaningful, non-trivial structural restrictions on hypergraphs ensure tractable recognition of bounded ghw or fhw?
- RQ4Can polynomial-time algorithms achieve better-than-cubic approximation ratios for fhw under realistic constraints?
- RQ5Does the bounded multi-intersection property (BMIP) enable polynomial-time approximation of fhw within a logarithmic factor?
Key findings
- Checking fhw(H) ≤ k is NP-complete for k = 2, resolving a 13-year open problem in database theory.
- Checking ghw(H) ≤ 2 is also NP-complete, closing a gap left open since 2006.
- The bounded multi-intersection property (BMIP) enables a polynomial-time algorithm that approximates fhw within a factor of O(k · log k).
- The bounded intersection property (BIP) allows for arbitrarily close polynomial-time approximation of fhw.
- The bounded degree property (BDP) ensures tractability of the Check(FHD,k) problem.
- Classes of hypergraphs with bounded VC-dimension—such as those satisfying BMIP—admit efficient approximation of fractional hypertree width.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.