Explaining Control Policies through Predicate Decision Diagrams

Debraj Chakraborty, Clemens Dubslaff, Sudeep Kanav, Jan Kretínský, Christoph Weinhuber

TL;DR

Researchers have introduced Predicate Decision Diagrams (PDDs), a new data structure that combines the human-readable clarity of decision trees with the mathematical efficiency of binary decision diagrams. By allowing for shared decision-making paths and pruning logically impossible branches, PDDs can represent complex control policies up to 25x more compactly than traditional decision trees without losing interpretability.

What Problem Does This Paper Address?

In the world of automated control—think self-driving cars or industrial robots—we often use algorithms to "synthesize" or learn policies that tell the system what to do in every possible state. However, these policies usually end up as massive, "black-box" lookup tables or cryptic neural networks that no human engineer can verify or trust.

To fix this, researchers often use Decision Trees (DTs) because they are easy to read. But DTs have a major flaw: they are redundant. If two different scenarios require the same logic, a DT repeats that logic in two separate branches. On the other hand, Binary Decision Diagrams (BDDs) are incredibly efficient at "sharing" these common paths, but they usually require "bit-blasting"—breaking down high-level variables (like temperature) into raw bits, which makes the resulting diagram unreadable to humans. This paper tackles the "explainability vs. efficiency" trade-off.

Methods

The authors propose a synthesis pipeline to create Predicate Decision Diagrams (PDDs). A PDD is essentially a BDD where the nodes aren't just bits, but high-level predicates (e.g., temp ≤ 21).

The pipeline consists of several key stages:

  1. DT Learning: They start by learning a standard decision tree from a controller policy.
  2. BDD Compilation: They convert the tree into a diagram structure, allowing different branches to point to the same sub-diagrams (node sharing).
  3. Variable Reordering: They use "sifting" heuristics to find an optimal order for the predicates, which can drastically shrink the diagram's size.
  4. Consistency Checking: Reordering predicates can create "impossible" paths (e.g., a path that requires temp ≤ 19 to be true but temp ≤ 20 to be false). The authors use Satisfiability Modulo Theories (SMT) solvers to detect and prune these logically inconsistent branches.
  5. Care-set Reduction: They simplify the diagram further by ignoring "don't care" states—situations the controller will never actually encounter in the real world.

Datasets

The authors evaluated their approach using the standard benchmark suite from dtControl. This includes a wide variety of control problems:

  • Cyber-physical systems: Benchmarks like cartpole, cruise-latest, and helicopter.
  • Formal Verification models: Policies exported from tools like SCOTS, UPPAAL, Prism, and Storm.
  • Specific Case Studies: A "triangle-tireworld" navigation problem and an Israeli-Jalfon self-stabilizing protocol.

Key Insights and Ideas

  • The Power of Sharing: The "aha moment" is that many complex controllers repeat the same logic across different states. By merging these "isomorphic subdiagrams," PDDs reveal the underlying structure of the decision-making process that a standard tree hides.
  • Semantic vs. Structural Reduction: Traditional BDDs only care about the structure of the bits. PDDs add a semantic layer—using SMT solvers to understand the meaning of the predicates allows the tool to realize that certain paths are mathematically impossible, leading to further compression.
  • Bridging the Gap: The paper demonstrates that you don't have to choose between a small, unreadable model (bit-blasted BDD) and a large, readable one (DT). PDDs "close the gap," offering sizes comparable to or smaller than DTs while remaining fully interpretable.

Key Results

  • Significant Compression: PDDs were, on average, 77% smaller than bit-blasted BDDs and 16% smaller than standard decision trees.
  • Extreme Cases: In the 10rooms benchmark, the PDD was 25 times smaller than the corresponding decision tree.
  • Scalability: As systems grow more complex (e.g., increasing the number of processes in a protocol), the "sharing" benefit of PDDs increases. In a 17-process model, over 80% of the nodes in the PDD were shared across multiple paths.
  • Explainability: The authors show that PDDs can be read as a set of high-level rules. For example, in the "triangle-tireworld" navigation task, the PDD clearly shows the policy: "If at locations 3, 4, or 5, pick up a spare tire; otherwise, follow the optimal route."

Limitations and Future Work

  • Starting Point: Currently, the pipeline requires learning a Decision Tree first. The authors suggest that future work could involve learning PDDs directly from data, which might result in even more efficient representations.
  • Predicate Complexity: While the paper focuses on "axis-aligned" predicates (single-variable comparisons), extending this to more complex linear combinations of variables is a logical next step.
  • Tool Integration: The current implementation is a research prototype. Integrating these techniques into mature, industry-standard BDD packages would make them more accessible to engineers.
  • Theoretical Bounds: The authors note that while PDDs work well in practice, establishing formal theoretical guarantees on PDD sizes compared to other structures remains an open challenge.

Summary updated

BibTeX
@inproceedings{chakraborty2025explaining,
  author = {Debraj Chakraborty and Clemens Dubslaff and Sudeep Kanav and Jan Kretínský and Christoph Weinhuber},
  title = {{Explaining Control Policies through Predicate Decision Diagrams}},
  booktitle = {HSCC},
  year = {2025},
  doi = {10.1145/3716863.3718049},
}

Loading related content...

Figure