Tractable QBF by Knowledge Compilation

Florent Capelli, Stefan Mengel

TL;DR

This paper introduces a new notion of "width" for a specific type of circuit called structured DNNF, which allows for efficient elimination of quantifiers in Quantified Boolean Formulas (QBF). This new approach generalizes existing tractability results for QBF with restricted structures, offering a more unified and simpler framework for solving these problems.

What Problem Does This Paper Address?

Quantified Boolean Formulas (QBF) are a powerful formalism for expressing complex logical statements, but deciding their truth or counting their models is generally computationally hard. While restricting the structure of the underlying Boolean formulas (e.g., using treewidth for CNF formulas) can make these problems tractable, extending these results to QBF, which involve quantifiers, has been challenging. Existing methods often rely on complex dynamic programming on graph structures. This paper aims to provide a more general and unified approach to QBF tractability by leveraging knowledge compilation techniques and introducing a novel circuit-based measure of complexity.

Methods

The core of the paper's approach is to transform QBFs into a specialized circuit representation called "complete structured d-DNNF" (deterministic Directed Acyclic Graph of Negation Normal Form). This transformation is achieved by first compiling the underlying CNF formula into a structured DNNF using existing algorithms. Then, a novel concept of "width" is introduced for these structured DNNFs, inspired by the width of ordered binary decision diagrams (OBDDs). The key innovation is an algorithm that efficiently eliminates quantifiers from these structured DNNFs, with the complexity depending on this new width measure rather than the size of the circuit. This allows for a more modular and iterative approach to handling multiple quantifier blocks.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Width as a Circuit Complexity Measure: The paper introduces a new notion of "width" for structured DNNFs, which is crucial for understanding the tractability of quantifier elimination. This measure is independent of the circuit's size and is more amenable to analysis than graph-based measures for QBF.
  • Knowledge Compilation for QBF Tractability: By leveraging existing knowledge compilation techniques to transform QBFs into structured DNNFs, the authors can then apply their novel width-based quantifier elimination algorithm. This provides a unified framework that generalizes previous results.
  • Iterative Quantifier Elimination: The approach breaks down the problem of handling multiple quantifier blocks into a series of simpler, iterative steps, making the overall argument and algorithm design more manageable compared to direct dynamic programming.
  • Generalization of Existing Results: The framework naturally extends tractability results from treewidth to more general graph measures like incidence treewidth and signed cliquewidth, demonstrating its broad applicability.

Key Results

  • The paper presents an algorithm for quantifier elimination on structured DNNFs that depends on the "width" of the DNNF, not its size. This algorithm results in a size blow-up that is exponential only in the width, not the size.
  • This approach leads to generalized fixed-parameter tractable algorithms for QBF with bounded quantifier alternations and restricted graph structures (e.g., treewidth, incidence treewidth, signed cliquewidth).
  • Specifically, they show that counting models of QBF with free variables and l quantifier blocks can be computed in time $exp^{l+1}(O(k))|F|$ for formulas with incidence treewidth k. This generalizes previous results for projected model counting and decision problems.
  • Lower bounds are provided to show that the introduced width definition and the resulting algorithms are essentially optimal.

Limitations and Future Work

  • Structuredness Requirement: The current approach relies on the input DNNF being "structured" according to a vtree. The authors acknowledge that removing this structuredness requirement is a significant open problem, as it would allow for broader applicability.
  • General Graph Measures: While the framework extends to incidence treewidth and signed cliquewidth, it is shown that extending it to modular treewidth or cliquewidth is not possible due to inherent limitations in the expressiveness of DNNFs for certain formulas.
  • Future Work: The authors suggest exploring the application of their width notion to non-monotone reasoning problems in artificial intelligence. They also propose investigating whether their iterative compilation and refinement approach can be adapted to other problems where direct dynamic programming is complex.

Summary updated

BibTeX
@inproceedings{capelli2019tractable,
  author = {Florent Capelli and Stefan Mengel},
  title = {{Tractable QBF by Knowledge Compilation}},
  booktitle = {STACS},
  year = {2019},
  doi = {10.4230/lipics.stacs.2019.18},
}
Figure