[Paper Review] Trading inference effort versus size in CNF Knowledge Compilation
This paper introduces a hierarchy of CNF knowledge compilation formalisms—$π_k$, $π_k^c$, and $π_k^w$—to systematically trade off inference efficiency against representation size. It proves that for each $k$, there exist boolean functions with polynomial-size representations in $π_{k+1}$, but requiring exponential size in $π_k$, establishing strict separations between levels and advancing a conjecture on the expressive power of hierarchical knowledge compilation.
Knowledge Compilation (KC) studies compilation of boolean functions f into some formalism F, which allows to answer all queries of a certain kind in polynomial time. Due to its relevance for SAT solving, we concentrate on the query type "clausal entailment" (CE), i.e., whether a clause C follows from f or not, and we consider subclasses of CNF, i.e., clause-sets F with special properties. In this report we do not allow auxiliary variables (except of the Outlook), and thus F needs to be equivalent to f. We consider the hierarchies UC_k <= WC_k, which were introduced by the authors in 2012. Each level allows CE queries. The first two levels are well-known classes for KC. Namely UC_0 = WC_0 is the same as PI as studied in KC, that is, f is represented by the set of all prime implicates, while UC_1 = WC_1 is the same as UC, the class of unit-refutation complete clause-sets introduced by del Val 1994. We show that for each k there are (sequences of) boolean functions with polysize representations in UC_{k+1}, but with an exponential lower bound on representations in WC_k. Such a separation was previously only know for k=0. We also consider PC < UC, the class of propagation-complete clause-sets. We show that there are (sequences of) boolean functions with polysize representations in UC, while there is an exponential lower bound for representations in PC. These separations are steps towards a general conjecture determining the representation power of the hierarchies PC_k < UC_k <= WC_k. The strong form of this conjecture also allows auxiliary variables, as discussed in depth in the Outlook.
Motivation & Objective
- To formalize and analyze a hierarchy of CNF-based knowledge compilation formalisms for efficient clausal entailment (CE) queries.
- To resolve the open question of worst-case size blow-up when compiling from more expressive to less expressive formalisms in knowledge compilation.
- To demonstrate that each level in the $π_k$ hierarchy offers strictly greater expressive power than the previous, even under strict size constraints.
- To investigate the role of auxiliary variables in knowledge compilation, distinguishing between absolute and relative conditions for variable quantification.
- To strengthen the theoretical foundation for using hierarchical CNF formalisms in SAT solving and automated reasoning systems.
Proposed method
- Introduces the formal hierarchies $π_k$, $π_k^c$, and $π_k^w$ as subclasses of CNF clause-sets, where each level supports polynomial-time clausal entailment (CE) queries.
- Employs doped clause-sets and extremal tree structures to construct boolean functions with controlled minimal premise sets and unsatisfiability properties.
- Applies trigger hypergraphs and total minimal premise sets to analyze the hardness of clause-sets under unit propagation and resolution.
- Uses proof techniques from minimal unsatisfiability and propagation completeness to derive exponential lower bounds on representation size in lower-level classes.
- Compares formalisms under two conditions: the absolute condition (allowing auxiliary variables in the full formula) and the relative condition (focusing on original variables only).
- Leverages known results on DNNF and Tseitin translations to contextualize the expressive power of $π_k[∃]$ and $π_k[∃]$ classes with existential quantification.
Experimental results
Research questions
- RQ1Can we formally separate the expressive power of successive levels in the $π_k$ hierarchy for CNF knowledge compilation?
- RQ2What is the worst-case size blow-up when compiling a boolean function from $π_{k+1}$ to an equivalent representation in $π_k$?
- RQ3How do auxiliary variables affect the size and inference efficiency of CNF representations under absolute versus relative conditions?
- RQ4Are there boolean functions with polynomial-size representations in $π_k$ but requiring exponential size in $π_{k-1}$, for $k \geq 1$?
- RQ5Can the class $π_k$ be used to simulate or capture known knowledge compilation languages like DNNF, especially under existential quantification?
Key findings
- For each $k \in \mathbb{N}_0$, there exist sequences of boolean functions with polynomial-size representations in $\mathcal{UC}_{k+1}$, but requiring exponential size in $\mathcal{WC}_k$.
- The paper establishes a strict separation between $\mathcal{UC}_{k+1}$ and $\mathcal{WC}_k$, generalizing a previously known separation only for $k=0$.
- There exist boolean functions with polynomial-size representations in $\mathcal{UC}$, but requiring exponential size in $\mathcal{PC}$, strengthening prior results.
- The class $\mathcal{PC}$ is strictly smaller than $\mathcal{UC}$ in terms of representation size, even though both support polynomial-time clausal entailment.
- Under the absolute condition (allowing auxiliary variables), $\mathcal{UC}[∃]$ and $\mathcal{UC}_k[∃]$ do not preserve poly-time decidability for queries like VA, IM, EQ, or SE, unlike $\mathcal{UC}_k$.
- The relative condition allows $\exists\mathcal{UC}$ to be transformed into $\exists\mathcal{PC}$, but this does not extend to all classes, highlighting structural differences in closure properties.
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.