Papers
Topics
Authors
Recent
Search
2000 character limit reached

Tree Decision Diagrams (TDD) Overview

Updated 4 July 2026
  • Tree Decision Diagrams (TDDs) are canonical Boolean-function representations that replace linear variable orders with tree-structured decompositions (vtree), enhancing succinctness on tree-like instances.
  • They support tractable operations such as model counting, enumeration, conditioning, and efficient conjunction/disjunction, making them ideal for bounded-treewidth CNF compilation.
  • TDDs maintain canonicity and minimality under a fixed vtree and can be efficiently translated to structured d-DNNF, although they differ from SDDs, decision trees, and tensor decision diagrams.

Tree Decision Diagrams (TDDs) are a representation of Boolean functions introduced as a canonical generalization of ordered binary decision diagrams (OBDDs). They replace the linear variable order of OBDDs by a vtree TT, i.e., a rooted binary tree over the variables, and can be viewed as a restriction of structured d-DNNF that respects that vtree. For a fixed vtree, TDDs retain the core tractability properties associated with OBDDs—including model counting, enumeration, conditioning, negation, and apply—while being more succinct on structurally tree-like instances; in particular, CNF formulas of treewidth kk admit TDD representations of fixed-parameter tractable size, a phenomenon known to be impossible for OBDDs (Capelli et al., 7 Apr 2026).

1. Terminology and definitional scope

The term “TDD” is not uniform across the literature, and the distinction is material.

Usage Meaning Source
TDD Tree Decision Diagram, a Boolean-function formalism over a vtree (Capelli et al., 7 Apr 2026)
TDD Not defined as a formalism; closest notions are decision trees and vtree-structured circuits (Amarilli et al., 2024)
TDD Tensor Decision Diagram, for tensor and quantum-circuit representations, not Tree Decision Diagram (Hong et al., 1 Apr 2025)

In the strict Boolean-function sense, a TDD is the formalism of (Capelli et al., 7 Apr 2026). In that work, TDDs are positioned between OBDDs and general structured d-DNNF: they are more general than the former because they allow tree-shaped variable decomposition rather than a single chain, but more restrictive than the latter because their internal organization is syntactically constrained by the vtree.

A common misconception is to equate TDDs with ordinary decision trees. The survey in (Amarilli et al., 2024) makes clear that decision trees are tree-shaped binary decision diagrams without sharing, whereas the TDD of (Capelli et al., 7 Apr 2026) is a layered-by-vtree DAG formalism with shared substructure. Another source of confusion is the acronym collision with Tensor Decision Diagrams in quantum-information work; (Hong et al., 1 Apr 2025) explicitly states that its “TDD” refers to tensors rather than tree-guided Boolean decision structures.

2. Formal structure and semantics

Let TT be a vtree over variables XX. A non-deterministic TDD (nTDD) respecting TT is a pair C=(N,E)C=(N,E) whose nodes are partitioned by vtree node,

N=tTNt,N=\biguplus_{t\in T} N_t,

with one distinguished output node $\out\in N_r$, where rr is the root of TT (Capelli et al., 7 Apr 2026).

At a leaf kk0 labeled by variable kk1, each node in kk2 is labeled by one of

kk3

If kk4 is internal with children kk5, then each node kk6 stores a set of allowed child pairs

kk7

The semantics is bottom-up. Each kk8-node kk9 computes a Boolean function over TT0, and for internal TT1,

TT2

Because TT3 and TT4 are disjoint, these conjunctions are decomposable.

The model admits a certificate semantics. A certificate for an assignment TT5 selects exactly one node TT6 in each layer TT7, such that the chosen leaves are compatible with TT8 and each chosen internal node contains the chosen children as an input pair. The paper proves that TT9 is a model of XX0 if and only if XX1 has a certificate for XX2 (Capelli et al., 7 Apr 2026).

A deterministic TDD is an nTDD satisfying layerwise syntactic determinism. At leaves, no two nodes of XX3 can be simultaneously satisfiable; at internal nodes, for all distinct XX4,

XX5

This yields a stronger semantic property: for every vtree node XX6 and distinct XX7-nodes XX8, the functions XX9 and TT0 have disjoint models. Hence every satisfying assignment has a unique certificate.

Two structural parameters are central. The size of an nTDD TT1 is

TT2

and the width is

TT3

If the width is TT4, then

TT5

because the vtree has at most TT6 nodes and each TT7-node can contain at most TT8 child-pairs (Capelli et al., 7 Apr 2026).

3. Canonicality, minimality, and tractable operations

For a fixed vtree, TDDs are canonical in the strong sense that every Boolean function has a unique minimal TDD representation up to isomorphism (Capelli et al., 7 Apr 2026). This parallels the canonicity of OBDDs under a fixed variable order, but over a tree-structured decomposition.

The minimality theorem is phrased via subfunctions. For a Boolean function TT9 and vtree node C=(N,E)C=(N,E)0, let C=(N,E)C=(N,E)1 denote the number of non-trivial C=(N,E)C=(N,E)2-subfunctions of C=(N,E)C=(N,E)3. Then every TDD computing C=(N,E)C=(N,E)4 needs at least C=(N,E)C=(N,E)5 many C=(N,E)C=(N,E)6-nodes, and the minimized TDD has exactly C=(N,E)C=(N,E)7 many C=(N,E)C=(N,E)8-nodes. This gives a semantic characterization of width and underlies a polynomial-time minimization algorithm.

The tractability profile closely matches OBDD. Because every TDD can be translated in linear time into a structured d-DNNF respecting the same vtree, standard structured-d-DNNF queries transfer. In particular, model counting is polynomial-time, model enumeration has polynomial preprocessing and delay C=(N,E)C=(N,E)9, and given an assignment N=tTNt,N=\biguplus_{t\in T} N_t,0, one can construct the unique certificate or reject in time N=tTNt,N=\biguplus_{t\in T} N_t,1 (Capelli et al., 7 Apr 2026).

The main efficient transformations are likewise inherited or reproved in TDD-specific form. Conditioning is supported: given a TDD N=tTNt,N=\biguplus_{t\in T} N_t,2 of width N=tTNt,N=\biguplus_{t\in T} N_t,3, one can build in time N=tTNt,N=\biguplus_{t\in T} N_t,4 a TDD N=tTNt,N=\biguplus_{t\in T} N_t,5 of size at most N=tTNt,N=\biguplus_{t\in T} N_t,6 and width at most N=tTNt,N=\biguplus_{t\in T} N_t,7 computing N=tTNt,N=\biguplus_{t\in T} N_t,8, respecting N=tTNt,N=\biguplus_{t\in T} N_t,9. Negation is supported after making the diagram full; given width $\out\in N_r$0, one can construct a TDD for $\out\in N_r$1 of width at most $\out\in N_r$2, size at most $\out\in N_r$3, in time $\out\in N_r$4. Bounded conjunction is implemented by a product construction: if $\out\in N_r$5 and $\out\in N_r$6 have widths $\out\in N_r$7 and $\out\in N_r$8, one can build a TDD for $\out\in N_r$9 in time rr0, with size at most rr1 and width at most rr2. Bounded disjunction follows via De Morgan, and singleton forgetting follows from

rr3

The principal limitation is full forgetting. If one allows non-deterministic TDDs, forgetting a variable set rr4 can be done in time rr5 without increasing width or size. However, determinism may be lost, so deterministic TDDs are not closed under general forgetting in polynomial time (Capelli et al., 7 Apr 2026). Another practical restriction is that efficient apply-style operations assume that the inputs respect the same vtree.

4. Succinctness, factor width, and compilation from CNF

The central succinctness gain of TDD over OBDD arises from replacing a linear order by a vtree. OBDDs are exactly the special case of TDDs over linear vtrees: given an OBDD rr6 over order rr7, one can construct an equivalent TDD respecting a corresponding linear vtree in time rr8, with size at most rr9; conversely, a TDD over a linear vtree can be turned into an OBDD in time TT0 (Capelli et al., 7 Apr 2026).

This generalization yields strict succinctness gains. There exists a family TT1 of CNFs with polynomial-size TDDs but for which every OBDD has size at least TT2. The separation is obtained by combining Razgon’s lower bound for OBDDs on bounded-treewidth CNFs with the TDD upper bound below (Capelli et al., 7 Apr 2026).

The key combinatorial invariant is factor width. For Boolean function TT3 and vtree TT4,

TT5

where TT6 is the number of non-trivial TT7-subfunctions. The smallest TDD respecting TT8 has width exactly TT9, and size kk00. In this sense, factor width is the precise TDD analogue of classical OBDD subfunction width.

The paper studies a bottom-up CNF compilation algorithm:

  1. start with a TDD for constant kk01;
  2. for each clause kk02, compile kk03 into a TDD;
  3. conjoin with the current TDD using apply;
  4. minimize after each conjunction.

Each clause can be compiled into a TDD of width kk04 over the chosen vtree in kk05 time. The resulting complexity is

kk06

where

kk07

Thus the running time is governed not only by the final formula but by the largest factor width encountered during intermediate conjunctions (Capelli et al., 7 Apr 2026).

For bounded-treewidth CNFs, the paper proves fixed-parameter tractability. Given a CNF formula kk08 of primal or incidence treewidth kk09, one can construct a TDD of width at most kk10 computing kk11 in time

kk12

where kk13 is the number of variables and kk14 the number of clauses. This implies FPT-size deterministic TDDs for bounded-treewidth CNFs and is the main formal basis for the claim that TDDs can represent classes of formulas efficiently that are provably hard for OBDDs (Capelli et al., 7 Apr 2026).

5. Position among decision diagrams, circuits, and automata

TDDs occupy a specific place in the knowledge-compilation landscape. They strictly contain OBDDs under the linear-vtree equivalence above, but they are strictly contained in structured d-DNNF. Given a TDD kk15 respecting kk16, one can construct in time kk17 a structured d-DNNF kk18 respecting kk19 and computing the same function. The containment is strict: the Hidden Weighted Bit function kk20 has polynomial-size structured d-DNNF, whereas every TDD requires exponential size, because

kk21

Hence TDDs gain succinctness over OBDDs without reaching the generality of all structured d-DNNF (Capelli et al., 7 Apr 2026).

The relation to SDD is more nuanced. TDDs and SDDs are both structured deterministic representations supporting efficient apply-style operations, but their notions of canonicity differ. TDDs are canonical and minimal with respect to a fixed vtree; SDDs have a canonical compressed form for a fixed vtree, but that canonical form need not be minimal and may be exponentially larger than the smallest equivalent SDD. At the same time, SDDs can be exponentially more succinct than TDDs: Bova’s result on kk22 gives polynomial-size SDDs where TDDs are exponential. TDDs can be translated to SDDs with quadratic overhead,

kk23

though generally not on the same vtree (Capelli et al., 7 Apr 2026).

The broader tutorial literature situates these connections in a wider circuit-automata picture. The survey “A Circus of Circuits” does not define a formalism called TDD, but it shows that OBDDs correspond to circuits structured by a right-linear v-tree, and that tree automata compile naturally to smooth SDNNF or d-SDNNF rather than to a named TDD class (Amarilli et al., 2024). This is significant because it suggests that TDDs should be read not as isolated diagrams but as a rigid, automata-like layer within the family of vtree-structured deterministic representations.

Historically, related planning formalisms had already demonstrated the value of replacing trees by shared DAGs. SPUDD represents value functions and policies of factored MDPs with algebraic decision diagrams (ADDs), and reports “up to a thirty-fold reduction in the number of nodes required to represent optimal value functions” compared to tree-structured representations, while solving some large structured MDPs exactly (Hoey et al., 2013). That work is not about TDDs in the formal sense of (Capelli et al., 7 Apr 2026), but it exemplifies the same representational principle: identical substructure should be shared rather than duplicated.

A first misunderstanding is to treat TDD as merely a synonym for “decision tree.” In the terminology of (Amarilli et al., 2024), a deterministic decision tree is a BDD with no sharing and a single source; TDDs, by contrast, are DAGs organized over a vtree with bottom-up pairwise composition. This difference is not cosmetic: it is precisely what allows canonicity, width-based analysis, and fixed-parameter compilation results.

A second misunderstanding is to assume that TDDs dominate all neighboring representations. The formal picture is more balanced. TDDs are more succinct than OBDDs, but not than general structured d-DNNF or SDD in all cases; efficient transformations rely on a fixed common vtree; and general forgetting destroys determinism (Capelli et al., 7 Apr 2026). Compactness therefore depends critically on the quality of the vtree and on whether the target Boolean function aligns with a recursive variable partition.

A third misunderstanding comes from adjacent application domains where “tree-like decision diagrams” appear without adopting the formal TDD definition. In classification, “Optimal Decision Diagrams for Classification” studies optimal decision diagrams (ODDs), not Tree Decision Diagrams, but the model is a rooted DAG with layered structure, bounded width, node sharing, and local branching semantics. The paper emphasizes that the width of a decision diagram is not forced to double with depth and that such models are less prone to data fragmentation; empirically, over 54 UCI datasets, average test accuracy was kk24 for multivariate ODDs versus kk25 for multivariate optimal decision trees, with a paired Wilcoxon signed-rank test yielding kk26 (Florio et al., 2022). This does not make ODDs instances of the Boolean-function TDD formalism, but it does show that the core DAG-sharing idea has migrated into optimization-based machine learning.

A fourth misunderstanding is purely terminological: in quantum computing, “TDD” frequently denotes Tensor Decision Diagram. The LimTDD work is explicit that its TDD is tensorial rather than tree-decomposition-based, and its edge labels are operator-valued rather than Boolean-function states (Hong et al., 1 Apr 2025). The shared acronym obscures a substantive difference in semantics, operations, and application domain.

Taken together, these adjacent literatures suggest two broader conclusions. First, the specific contribution of Tree Decision Diagrams is not simply “using a tree” but combining vtree-guided decomposition, determinism, and canonical minimality in a form that preserves OBDD-style algorithmics. Second, the general idea of replacing duplicated tree structure by shared DAG structure has independent manifestations in planning, classification, and tensor methods, but only the formalism of (Capelli et al., 7 Apr 2026) provides the fixed-vtree, canonical, minimal Boolean representation now denoted by TDD.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Tree Decision Diagrams (TDD).