Skip to main content
QUICK REVIEW

[Paper Review] Connecting Knowledge Compilation Classes and Width Parameters

Antoine Amarilli, Florent Capelli|arXiv (Cornell University)|Nov 7, 2018
Complexity and Algorithms in GraphsComputer Science24 references10 citations
TL;DR

This paper establishes tight connections between knowledge compilation classes and structural width parameters in Boolean circuits, showing that bounded-treewidth circuits can be compiled into d-SDNNFs in linear time with singly exponential dependence on treewidth, and bounded-pathwidth circuits into uOBDDs with the same complexity. It proves matching lower bounds: monotone DNFs and CNFs of constant arity and degree require exponentially large d-SDNNFs and uOBDDs in treewidth and pathwidth, respectively, demonstrating that these width parameters precisely characterize compilability to these classes.

ABSTRACT

The field of knowledge compilation establishes the tractability of many tasks by studying how to compile them to Boolean circuit classes obeying some requirements such as structuredness, decomposability, and determinism. However, in other settings such as intensional query evaluation on databases, we obtain Boolean circuits that satisfy some width bounds, e.g., they have bounded treewidth or pathwidth. In this work, we give a systematic picture of many circuit classes considered in knowledge compilation and show how they can be systematically connected to width measures, through upper and lower bounds. Our upper bounds show that bounded-treewidth circuits can be constructively converted to d-SDNNFs, in time linear in the circuit size and singly exponential in the treewidth; and that bounded-pathwidth circuits can similarly be converted to uOBDDs. We show matching lower bounds on the compilation of monotone DNF or CNF formulas to structured targets, assuming a constant bound on the arity (size of clauses) and degree (number of occurrences of each variable): any d-SDNNF (resp., SDNNF) for such a DNF (resp., CNF) must be of exponential size in its treewidth, and the same holds for uOBDDs (resp., n-OBDDs) when considering pathwidth. Unlike most previous work, our bounds apply to any formula of this class, not just a well-chosen family. Hence, we show that pathwidth and treewidth respectively characterize the efficiency of compiling monotone DNFs to uOBDDs and d-SDNNFs with compilation being singly exponential in the corresponding width parameter. We also show that our lower bounds on CNFs extend to unstructured compilation targets, with an exponential lower bound in the treewidth (resp., pathwidth) when compiling monotone CNFs of constant arity and degree to DNNFs (resp., nFBDDs).

Motivation & Objective

  • To systematically relate knowledge compilation classes to structural width measures like treewidth and pathwidth.
  • To close the gap between knowledge compilation and width-based circuit classes, which are used in database query evaluation and probabilistic reasoning.
  • To show that treewidth and pathwidth are not just tractable parameters but also optimal for compiling monotone DNFs and CNFs into structured targets.
  • To establish tight upper and lower bounds on compilation complexity, showing that the exponential dependence on width is unavoidable under constant arity and degree assumptions.
  • To extend these results to unstructured compilation targets like DNNFs and nFBDDs, proving similar exponential lower bounds.

Proposed method

  • Proposes a systematic classification of 12 knowledge compilation classes along three axes: conjunction type (BDD vs. circuit), structuredness (structured vs. unstructured), and determinism (deterministic vs. unambiguous vs. arbitrary disjunctions).
  • Introduces a constructive compilation method that transforms bounded-treewidth circuits into d-SDNNFs in time linear in circuit size and singly exponential in treewidth.
  • Applies a similar compilation technique to convert bounded-pathwidth circuits into uOBDDs with the same complexity bounds.
  • Uses a rectangle cover argument based on trace decomposition and gate splitting to derive lower bounds on the size of compiled representations.
  • Employs a treesplitwidth parameter derived from treewidth to identify critical gates in traces of DNNF and OBDD circuits, enabling the derivation of exponential lower bounds.
  • Applies the probabilistic method and combinatorial bounds on rectangle covers to show that the number of required rectangles grows exponentially with the width parameter, leading to exponential lower bounds on circuit size.

Experimental results

Research questions

  • RQ1Can bounded-treewidth circuits be compiled into d-SDNNFs with complexity linear in circuit size and singly exponential in treewidth?
  • RQ2Is the exponential dependence on treewidth unavoidable when compiling monotone DNFs into d-SDNNFs, assuming constant arity and degree?
  • RQ3Do pathwidth and treewidth precisely characterize the size of uOBDDs and d-SDNNFs for monotone DNFs and CNFs, respectively?
  • RQ4Can the same lower bound techniques be extended to unstructured compilation targets like DNNFs and nFBDDs?
  • RQ5Is there a width parameter that captures the minimal complexity of compiling DNFs into unstructured d-DNNFs, beyond treewidth?

Key findings

  • Bounded-treewidth circuits can be compiled into d-SDNNFs in time linear in the circuit size and singly exponential in the treewidth, establishing a tight upper bound.
  • Bounded-pathwidth circuits can be compiled into uOBDDs in time linear in the circuit size and singly exponential in the pathwidth.
  • Any d-SDNNF (resp. SDNNF) for a monotone DNF (resp. CNF) of constant arity and degree must be of size at least 2^Ω(tw(φ)) (resp. 2^Ω(pw(φ))), proving a matching lower bound.
  • The same exponential lower bound holds for uOBDDs (resp. n-OBDDs) when compiling monotone DNFs (resp. CNFs) of constant arity and degree.
  • For unstructured targets, DNNFs and nFBDDs also require exponential size in treewidth and pathwidth, respectively, for monotone CNFs of constant arity and degree.
  • The lower bounds are established via a rectangle cover argument using treesplitwidth and probabilistic bounds on satisfying valuations, showing that any such representation must be exponentially large.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.