[Paper Review] The Fine-Grained Complexity of Boolean Conjunctive Queries and Sum-Product Problems
This paper introduces the clique embedding power (emb(H)) as a new measure to establish tight, semiring-oblivious conditional lower bounds for Boolean Conjunctive Queries (BCQs) and sum-product problems over arbitrary semirings. By reducing the k-clique problem to any hypergraph query structure, the authors show that existing combinatorial algorithms like PANDA are optimal up to polylogarithmic factors for many query classes, including cycles, Loomis-Whitney joins, and chordal graphs.
We study the fine-grained complexity of evaluating Boolean Conjunctive Queries and their generalization to sum-of-product problems over an arbitrary semiring. For these problems, we present a general semiring-oblivious reduction from the k-clique problem to any query structure (hypergraph). Our reduction uses the notion of embedding a graph to a hypergraph, first introduced by Marx. As a consequence of our reduction, we can show tight conditional lower bounds for many classes of hypergraphs, including cycles, Loomis-Whitney joins, some bipartite graphs, and chordal graphs. These lower bounds have a dependence on what we call the clique embedding power of a hypergraph H, which we believe is a quantity of independent interest. We show that the clique embedding power is always less than the submodular width of the hypergraph, and present a decidable algorithm for computing it. We conclude with many open problems for future research.
Motivation & Objective
- To close the gap between known upper bounds (e.g., PANDA) and conditional lower bounds for Boolean Conjunctive Query evaluation.
- To develop a general framework for deriving fine-grained lower bounds that are independent of the underlying semiring.
- To characterize the inherent hardness of BCQs and sum-product problems using a new structural parameter: clique embedding power.
- To establish tight lower bounds for specific query classes such as cycles, Loomis-Whitney joins, and chordal graphs under standard fine-grained conjectures.
- To explore the relationship between clique embedding power and submodular width, identifying a potential source of looseness in current lower bounds.
Proposed method
- Introduce the notion of clique embedding power (emb(H)) as the supremum over all k for which a k-clique can be embedded into a hypergraph H.
- Construct a semiring-oblivious reduction from the k-clique problem to any hypergraph query, valid across all commutative semirings.
- Use the Boolean k-Clique Conjecture and Min-Weight k-Clique Conjecture to derive conditional lower bounds for query evaluation time.
- Prove that the reduction preserves hardness regardless of the semiring, enabling transfer of lower bounds to sum-of-product problems.
- Design a parametrized reduction from a hypergraph query to a Boolean query to analyze runtime trade-offs and hardness transfer.
- Present a decidable algorithm for computing emb(H), establishing its computability and theoretical significance.
Experimental results
Research questions
- RQ1Can we establish tight, combinatorial lower bounds for Boolean Conjunctive Queries that match the performance of the PANDA algorithm?
- RQ2Is the clique embedding power (emb(H)) a meaningful and decidable measure of query complexity that captures the hardness of sum-product problems?
- RQ3To what extent does emb(H) relate to the submodular width (subw(H)), and can this relationship be tightened?
- RQ4Can the semiring-oblivious reduction be used to transfer hardness results across different database query semantics (e.g., set, bag, tropical)?
- RQ5Are there query classes where the current best algorithm (e.g., PANDA) is not optimal, or is the gap between emb(H) and subw(H) the source of suboptimality?
Key findings
- The clique embedding power emb(H) is always less than or equal to the submodular width subw(H), and it is decidable to compute.
- For cycles, Loomis-Whitney joins, and chordal graphs, the paper establishes tight conditional lower bounds matching the PANDA algorithm's runtime up to polylogarithmic factors.
- The reduction from k-clique to any hypergraph query is semiring-oblivious, meaning the same lower bound applies to sum-of-product problems over any commutative semiring.
- The paper shows that if a Boolean query admits a truly subquadratic algorithm, then so does its hypergraph counterpart, and vice versa, under parametrized reductions.
- For the boat query, the submodular width is 2 but the clique embedding power is 7/4, indicating a gap between current lower bounds and upper bounds, suggesting either PANDA is not universally optimal or better lower bounds are needed.
- The work demonstrates that existing hardness assumptions like the Boolean k-Clique Conjecture can be leveraged to derive strong, fine-grained lower bounds for a broad class of database queries.
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.