[Paper Review] On Polynomials Defined by Acyclic Conjunctive Queries and Weighted Counting Problems
This paper investigates weighted counting problems for acyclic conjunctive queries (ACQ), proving that counting solutions to quantifier-free ACQs with weights is tractable in polynomial time. It identifies a new parameter for quantified ACQs that, under standard complexity assumptions, fully characterizes tractable subclasses for weighted solution counting.
This paper is a study of weighted counting problems associated to acyclic conjunctive queries ($\ACQ$) and the polynomials they define. We prove that summing the weights of solutions of quantifier-free $\ACQ$ queries can be done in polynomial time. We also show that minimalistic extensions of the problem (introducing one quantified variable, considering disjunction or conjunction of two $\ACQ$ instances) lead to intractable problems. However, we introduce a new parameter for quantified queries that permits to isolate large island of tractability. We show that, up to a standard assumption from parameterized complexity, this parameter fully characterizes tractable subclasses for counting weighted solutions of $\ACQ$ queries.
Motivation & Objective
- To analyze the complexity of weighted counting problems associated with acyclic conjunctive queries (ACQ).
- To determine the boundary between tractable and intractable cases when extending ACQs with quantifiers, disjunction, or conjunction.
- To introduce and validate a new parameter for quantified ACQs that isolates tractable subclasses.
- To characterize, up to standard complexity assumptions, the complete set of tractable subclasses for weighted solution counting in ACQs.
Proposed method
- Formalizing weighted counting problems over acyclic conjunctive queries using algebraic and logical structures.
- Proving polynomial-time tractability for quantifier-free ACQ instances with arbitrary weights.
- Extending ACQs with one quantified variable, disjunction, or conjunction to analyze complexity blow-up.
- Introducing a novel parameter for quantified ACQs to capture tractable subclasses.
- Applying parameterized complexity theory to show that the proposed parameter fully characterizes tractability under standard assumptions.
- Using logical decomposition and query tree analysis to derive structural conditions for tractability.
Experimental results
Research questions
- RQ1Can weighted counting over acyclic conjunctive queries be solved in polynomial time when no quantifiers are present?
- RQ2What happens to the complexity of weighted counting when minimal extensions—such as adding one quantified variable—are introduced?
- RQ3Can disjunction or conjunction of two ACQ instances preserve tractability in weighted counting?
- RQ4Is there a parameter that can fully characterize the tractable subclasses of weighted counting for quantified ACQs?
- RQ5Under standard complexity assumptions, does the proposed parameter exactly capture the tractable cases of weighted ACQ counting?
Key findings
- Weighted counting for quantifier-free acyclic conjunctive queries is solvable in polynomial time.
- Introducing a single quantified variable into an ACQ leads to intractable counting problems.
- Combining two ACQ instances via disjunction or conjunction also results in intractable counting problems.
- A new structural parameter for quantified ACQs isolates a large tractable subclass of weighted counting problems.
- Under the standard assumption from parameterized complexity, this parameter fully characterizes the tractable subclasses for weighted solution counting in ACQs.
- The results establish a tight characterization of tractability in terms of the proposed parameter, closing a key theoretical gap.
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.