Parameterized Compilation Lower Bounds for Restricted CNF-Formulas

Stefan Mengel

Abstract

Knowledge compilation (KC) aims to transform Boolean formulas into tractable representations like Decomposable Negation Normal Form (DNNF) to facilitate efficient querying. While structural properties such as treewidth are known to allow for fixed-parameter tractable compilation, the limits of broader graph measures have remained largely conditional on complexity-theoretic assumptions. This paper establishes the first unconditional parameterized lower bounds for compiling restricted CNF formulas into DNNF. By leveraging communication complexity and linear codes, we demonstrate that measures such as modular treewidth and neighborhood diversity lead to an unavoidable exponential blowup in representation size, proving that existing upper bounds for these measures are essentially tight.

Introduction

In the field of Knowledge Compilation (KC), the primary objective is to bridge the gap between expressive but computationally difficult logic representations (like CNF formulas) and "tractable" ones (like DNNF circuits). Once a formula is successfully compiled into a DNNF, complex operations such as model counting, consistency checking, and entailment can be performed in time linear to the size of the representation.

However, the compilation process itself often encounters a "size explosion," where the resulting DNNF is exponentially larger than the original formula. To mitigate this, researchers identify structural properties of the formula—typically by viewing the formula as a graph—that guarantee a manageable compiled size. While it is well-established that formulas with small treewidth can be compiled efficiently, the status of broader measures like cliquewidth has remained ambiguous, often relying on unproven hypotheses such as $W[1] \neq FPT$. This work removes those dependencies, providing absolute mathematical lower bounds for these structural measures.

Methodology

The research establishes a rigorous link between logic-based knowledge compilation and the field of communication complexity. The methodology follows three primary stages:

  1. Communication Complexity Framework: The author utilizes the established relationship where the size of a DNNF circuit is lower-bounded by the size of a "multi-partition rectangle cover" for the Boolean function it represents. This allows the problem of circuit size to be treated as a problem of covering a matrix with specific combinatorial structures.
  2. Linear Codes as Hard Instances: To find functions that are inherently difficult to represent, the paper employs specific linear codes (sets of vectors satisfying systems of linear equations). These codes are known in communication theory to require large rectangle covers, making them ideal candidates for proving lower bounds.
  3. Structural Encoding: The core technical challenge lies in constructing CNF formulas that represent these hard linear codes while maintaining strict control over their graph-theoretic properties. The author develops a "blocked" encoding technique. Unlike a naive encoding, which would cause the graph width to spike, this sophisticated method keeps the modular treewidth and neighborhood diversity low, ensuring the formulas fall within the specific restricted classes being studied.

Key Results

The paper provides two landmark theorems that define the limits of DNNF compilation:

  • Theorem 1 (Modular Pathwidth): For a CNF formula of size $n$ and modular pathwidth $k$, any equivalent DNNF must have a size of at least $n^{\Omega(k)}$. This result is significant because it proves that the previously known upper bounds for modular pathwidth are essentially tight and cannot be improved.
  • Theorem 2 (Neighborhood Diversity): For formulas with neighborhood diversity $k$, the lower bound on DNNF size is established at $n^{\Omega(\sqrt{k})}$.

Crucially, these results are unconditional. Unlike previous literature that framed these bounds as consequences of the Exponential Time Hypothesis (ETH), these theorems are fundamental mathematical realities that do not depend on unproven complexity assumptions.

Discussion and Insights

Treewidth as a Unique Threshold

In many areas of graph algorithms, problems that are tractable for treewidth are also tractable for cliquewidth. This research highlights a rare and significant exception. In the context of knowledge compilation, treewidth is "special." Moving beyond treewidth to cliquewidth-related measures (like modular treewidth) results in a qualitative jump in difficulty, where fixed-parameter tractability is lost.

Logic vs. Linear Algebra

A compelling insight from this work is the divergence between logic-based and algebraic representations. The formulas proven to be "hard" for DNNFs (which are logic-based) are actually "easy" to handle using linear algebra. This suggests that standard logic-based compilers are fundamentally ill-suited for certain mathematical constraints. This observation motivates the exploration of alternative representations, such as Affine Decision Trees (ADTs), which may bridge this gap.

The Role of Modules

The findings suggest that graph measures stable under "adding modules"—the process of adding a new vertex that mimics the connections of an existing one—are inherently problematic for DNNF compilation. This structural property appears to be a primary driver of the exponential size blowup.

Conclusion and Future Work

This work clarifies the landscape of parameterized knowledge compilation by providing definitive lower bounds for several structural measures. While it proves that DNNFs have inherent limitations when dealing with certain graph structures, it opens the door for new research into alternative languages.

A primary direction for future inquiry is the search for a "holy grail" measure: a graph width measure that allows for dense graphs (unlike treewidth) while still permitting efficient, fixed-parameter compilation. The author identifies sm-width as a potential candidate for this role, which could eventually lead to more powerful and practical compilers for complex real-world systems.

Summary updated

BibTeX
@inproceedings{mengel2016parameterized,
  author = {Stefan Mengel},
  title = {{Parameterized Compilation Lower Bounds for Restricted CNF-Formulas}},
  booktitle = {SAT},
  year = {2016},
  doi = {10.1007/978-3-319-40970-2\_1},
}
Figure