TL;DR
This paper introduces Tree Decision Diagrams (TDDs), a novel representation language for Boolean functions that generalizes Ordered Binary Decision Diagrams (OBDDs) by swapping linear variable orderings for tree structures. TDDs retain all of OBDD's highly desirable tractability properties—including an efficient apply operation and a unique, minimal canonical form—while achieving exponential gains in succinctness for structured problems like bounded treewidth formulas.
What Problem Does This Paper Address?
In the field of knowledge compilation, researchers map out the trade-offs between the succinctness of a data structure (how compactly it represents a Boolean function) and its tractability (which operations can be computed efficiently).
For decades, Ordered Binary Decision Diagrams (OBDDs) have been a gold standard because they support a wide array of tractable operations and possess a unique, minimal canonical form. This canonicity makes equivalence testing trivial and helps control size blow-ups during bottom-up compilation. However, OBDDs are notoriously verbose; for instance, they cannot compactly represent Conjunctive Normal Form (CNF) formulas with bounded treewidth.
Newer languages like Sentential Decision Diagrams (SDDs) and deterministic Decomposable Negation Normal Forms (d-DNNFs) offer better succinctness but sacrifice key properties: SDD's canonical form is not necessarily minimal, and d-DNNFs lack an efficient conjunction (apply) operation and canonicity altogether. This paper tackles the challenge of designing a representation language that combines the best of both worlds: the strict minimality and operational power of OBDDs with the structural flexibility and succinctness of tree-structured representations.
Methods
The authors introduce Tree Decision Diagrams (TDDs). Instead of evaluating variables in a rigid, linear sequence like an OBDD, a TDD organizes variables into a rooted binary tree called a vtree (variable tree).
Key methodological components include:
- Syntactic Determinism: Unlike general d-DNNFs where checking determinism is coNP-complete, TDDs enforce determinism through strict syntactic rules at the leaf and internal nodes, making it checkable in polynomial time.
- Twin Contraction Minimization: The authors introduce an algorithm that identifies "twin" nodes—gates that interact with the rest of the circuit in an identical manner—and merges them. Repeatedly applying twin contraction reduces any TDD to a unique, minimal canonical form for its given vtree.
- Bottom-Up Compilation: Leveraging the fact that TDDs support efficient bounded conjunction (
apply), the authors present a clean, iterative algorithm (Algorithm 1) to compile CNF formulas by conjoining clauses one by one and minimizing the intermediate results to prevent size explosion.
The structural relationship between a vtree, a TDD, and its corresponding DNNF representation is illustrated below:
Datasets
This is a purely theoretical paper focused on language design and complexity analysis; no empirical datasets or benchmarks were used or introduced.
Key Insights and Ideas
- Tree Structure Beats Linear Order: By relaxing the variable ordering from a line to a tree, TDDs can exploit the underlying graph structure (treewidth) of a Boolean formula. This allows them to compactly represent functions that cause OBDDs to blow up exponentially.
- True Minimality Retained: While SDDs also use vtrees, their canonization can actually make the diagram exponentially larger than its non-canonical counterpart. TDDs avoid this pitfall: their canonical form is mathematically proven to match the semantic lower bound of non-trivial subfunctions.
- Simplifying Compilation: Traditionally, compiling bounded treewidth formulas into tractable circuits required highly complex dynamic programming algorithms on tree decompositions. TDDs allow researchers to achieve the same FPT upper bounds using a simple, standard bottom-up
applyandminimizeloop.
Key Results
The paper comprehensively positions TDDs within the existing knowledge compilation map, demonstrating that they match OBDD's operational power while strictly exceeding its succinctness.
The tractable transformations supported by TDDs compared to other languages are summarized in the paper's overview table:
- Treewidth Tractability: The authors prove that any CNF formula with primal or incidence treewidth $k$ can be compiled into a TDD of fixed-parameter tractable (FPT) size in $2^{O(k)} \cdot mn$ time.
- Circuit Compilation: This result naturally extends to Boolean circuits, showing that circuits of treewidth $k$ can be compiled into TDDs of size $2^{O(k)}|C|$.
- Theoretical Separations: The paper establishes a quasi-polynomial separation from OBDDs (proving TDDs can be exponentially smaller) and demonstrates that compressed SDDs cannot polynomially simulate TDDs without changing the underlying vtree.
Limitations and Future Work
- The Vtree Search Problem: Like OBDDs (which depend heavily on variable ordering), the size of a TDD is highly sensitive to the chosen vtree. Finding an optimal vtree in practical applications remains a major open challenge.
- The "Smoothness" Constraint: The current definition of TDDs requires them to be "smooth," meaning nodes can only connect to their immediate children in the vtree. Relaxing this constraint to allow connections to any descendant could yield significant practical size reductions.
- Vtree Transformations: The complexity of dynamically re-ordering or transforming a TDD from one vtree structure to another is not yet understood and represents a vital direction for future tool development.
Summary updated