A Dichotomy for the Generalized Model Counting Problem for Unions of Conjunctive Queries
Batya Kenig, Dan Suciu

TL;DR
This paper investigates the computational complexity of generalized model counting for unions of conjunctive queries, establishing that unsafe queries remain #P-hard even with restricted probabilities, and identifying specific hard cases.
Contribution
The paper strengthens existing hardness results by proving #P-hardness for unsafe UCQs with limited probabilities and introduces new techniques for the hardness proof.
Findings
Unsafe UCQ queries are #P-hard even with probabilities in {0, 1/2, 1}.
Model counting is #P-hard for Type-I forbidden unsafe queries.
The hardness proof was completely redesigned using novel techniques.
Abstract
We study the , defined as follows: given a database, and a set of deterministic tuples, count the number of subsets of the database that include all deterministic tuples and satisfy the query. This problem is computationally equivalent to the evaluation of the query over a tuple-independent probabilistic database where all tuples have probabilities in . Previous work has established a dichotomy for Unions of Conjunctive Queries (UCQ) when the probabilities are arbitrary rational numbers, showing that, for each query, its complexity is either in polynomial time or #P-hard. The query is called in the first case, and in the second case. Here, we strengthen the hardness proof, by proving that an unsafe UCQ query remains #P-hard even if the probabilities are restricted to . This requires a complete…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBayesian Modeling and Causal Inference · Data Management and Algorithms · Markov Chains and Monte Carlo Methods
