Abstract
Knowledge Compilation (KC) aims to transform complex logical formulas into tractable formats like deterministic Decomposable Negation Normal Form (d-DNNF) to enable efficient model counting and probabilistic reasoning. However, these compiled forms often suffer from exponential size blow-up. This paper explores whether settling for an approximate representation can circumvent these size barriers. We formalize two notions of approximation—weak and strong—and prove that for certain classes of functions, even approximate d-DNNFs must be exponentially large. Using the discrepancy method from communication complexity, we show that "strong" approximation, which is essential for reliable AI reasoning, does not offer a general escape from the fundamental complexity of exact reasoning.
Introduction
In artificial intelligence, many critical tasks such as model counting and probabilistic inference are computationally hard (#P-complete). Knowledge Compilation (KC) addresses this by pre-processing formulas into "tractable" circuits, such as d-DNNFs. Once compiled, these queries can be answered in time linear to the size of the representation. The primary bottleneck is the size of the compiled circuit, which is frequently exponential relative to the original formula. A natural question arises: can we achieve significant space savings if we allow for a small margin of error?
Defining Approximation: Weak vs. Strong
The authors distinguish between two types of approximation:
- Weak Approximation: The approximate function matches the original on most inputs under a uniform distribution.
- Strong Approximation: The error is bounded relative to the number of actual solutions (models). This is critical for tasks like probabilistic inference where the ratio of solutions matters more than the total input space.
The paper highlights that weak approximation can be trivial; for functions with few solutions, a constant "False" function is a "good" weak approximation but is useless for reasoning. Strong approximation is thus the more meaningful metric for AI applications.
The Discrepancy Method and Rectangle Covers
To establish lower bounds, the authors employ the Discrepancy Method from communication complexity. This technique involves analyzing "rectangle covers"—decompositions of Boolean functions into simpler components.
By demonstrating that certain functions cannot be partitioned into a small number of "rectangles" without incurring significant error, the authors prove that any d-DNNF representing these functions must be massive. This approach "lifts" lower bound techniques from simpler models like Ordered Binary Decision Diagrams (OBDDs) to the more general d-DNNF framework.
Key Results
The theoretical analysis yields two primary results:
- Exponential Lower Bounds: Theorem 2 proves that for specific classes of Boolean functions (specifically those based on linear codes), even a weak approximation requires a d-DNNF of size $2^{\Omega(n)}$.
- The Approximation Gap: Theorem 4 identifies functions that are trivial to weakly approximate (size 1) but remain exponentially hard to strongly approximate. This underscores the inherent difficulty of maintaining relative error bounds in knowledge compilation.
Conclusion
This work provides a rigorous foundation for understanding the limits of approximate reasoning. While approximation is a powerful tool, it is not a "silver bullet" for the state-space explosion in Knowledge Compilation. The exponential size bottleneck remains a persistent feature for "hard" function classes, particularly when strong approximation guarantees are required for reliable probabilistic inference. Future research may extend these bounds to non-deterministic DNNFs and explore the average-case complexity for real-world Bayesian networks.
Summary updated