[Paper Review] Model Counting of Query Expressions: Limitations of Propositional Methods
This paper establishes the first formal separation between lifted inference and propositional model counting in probabilistic database query evaluation. It proves that while certain queries can be evaluated in polynomial time using extensional query evaluation, state-of-the-art propositional model counters require exponential time due to exponential-size decision-DNNF representations of their lineages.
Query evaluation in tuple-independent probabilistic databases is the problem of computing the probability of an answer to a query given independent probabilities of the individual tuples in a database instance. There are two main approaches to this problem: (1) in `grounded inference' one first obtains the lineage for the query and database instance as a Boolean formula, then performs weighted model counting on the lineage (i.e., computes the probability of the lineage given probabilities of its independent Boolean variables); (2) in methods known as `lifted inference' or `extensional query evaluation', one exploits the high-level structure of the query as a first-order formula. Although it is widely believed that lifted inference is strictly more powerful than grounded inference on the lineage alone, no formal separation has previously been shown for query evaluation. In this paper we show such a formal separation for the first time. We exhibit a class of queries for which model counting can be done in polynomial time using extensional query evaluation, whereas the algorithms used in state-of-the-art exact model counters on their lineages provably require exponential time. Our lower bounds on the running times of these exact model counters follow from new exponential size lower bounds on the kinds of d-DNNF representations of the lineages that these model counters (either explicitly or implicitly) produce. Though some of these queries have been studied before, no non-trivial lower bounds on the sizes of these representations for these queries were previously known.
Motivation & Objective
- To formally demonstrate that lifted inference (extensional query evaluation) is strictly more powerful than grounded inference (propositional model counting) for query evaluation in probabilistic databases.
- To identify a class of queries for which model counting is tractable via extensional query evaluation but intractable for propositional methods.
- To establish exponential lower bounds on the size of decision-DNNF representations produced by state-of-the-art propositional model counters on these queries.
- To introduce DLDDs as a generalization of decision-DNNFs that preserve efficient model counting while allowing more compact representations.
- To challenge the extension of known dichotomies (e.g., #P-hard vs. polynomial-time) to decision-DNNF-based algorithms, suggesting a need for a new dichotomy framework.
Proposed method
- Construct a class of first-order queries with high-level structure amenable to polynomial-time evaluation via inclusion-exclusion on the query expression.
- Ground these queries into Boolean lineages and analyze the size of decision-DNNF representations required by propositional model counters.
- Prove exponential lower bounds on the size of decision-DNNF representations for the lineages of these queries using structural analysis of the query and variable dependencies.
- Introduce DLDDs (Decision-Logical Decision Diagrams) as a generalized data structure that extends decision-DNNFs while preserving efficient model counting.
- Demonstrate that the construction of DLDDs from query trees preserves correctness and avoids the exponential blowup seen in decision-DNNF representations.
- Use a transformation from query trees to FBDDs (Free Binary Decision Diagrams) to simulate XOR and EQUIV operations, proving correctness and acyclicity of the resulting DAGs.
Experimental results
Research questions
- RQ1Can a formal separation be established between lifted inference and propositional model counting in probabilistic query evaluation?
- RQ2Are there queries for which extensional query evaluation runs in polynomial time, but propositional model counting requires exponential time?
- RQ3What are the inherent limitations of propositional model counting algorithms in terms of representation size for query lineages?
- RQ4Can decision-DNNF representations of query lineages be exponentially larger than the original query structure, even when the query is tractable?
- RQ5Is there a need for a new dichotomy theory tailored to decision-DNNF-based model counting, distinct from existing #P-hardness classifications?
Key findings
- The paper proves that for a specific class of queries, model counting can be performed in polynomial time using extensional query evaluation via the inclusion-exclusion principle.
- State-of-the-art propositional model counters require exponential time on these queries because they produce decision-DNNF representations of exponential size.
- Exponential lower bounds are established on the size of decision-DNNF representations for the lineages of these queries, even though the queries themselves are tractable.
- The construction of DLDDs from query trees results in a DAG of quasi-polynomial size that correctly computes the same Boolean function as the original query lineage.
- The transformation from query trees to FBDDs preserves acyclicity and variable ordering constraints, ensuring correctness and avoiding cycles.
- The results imply that no decision-DNNF-based model counting algorithm can efficiently handle this class of queries, despite their tractability under lifted inference.
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.