Conditional PSDDs: Modeling and Learning With Modular Knowledge

Yujia Shen, Arthur Choi, Adnan Darwiche

Abstract

This paper introduces Conditional Probabilistic Sentential Decision Diagrams (PSDDs), a novel representation that integrates the modularity of Bayesian networks with the logical rigor of SDDs. By embedding PSDDs as local conditional distributions within a structured Bayesian network, the authors enable efficient learning and inference in domains governed by both statistical dependencies and hard Boolean constraints.

Introduction

Probabilistic modeling often involves a trade-off between two powerful paradigms. Bayesian Networks (BNs) excel at capturing conditional independence, making them modular and scalable. However, they struggle with "hard" Boolean constraints—rules that assign zero probability to certain states (e.g., a student cannot take an advanced course without prerequisites). Conversely, Probabilistic Sentential Decision Diagrams (PSDDs) are designed specifically for these constraints but lack explicit modularity, hindering their application to massive, multi-component systems.

The Hybrid Approach: Conditional PSDDs

The authors propose "Conditional PSDDs" to bridge this gap. This representation models a family of probability distributions conditioned on a fixed set of variables. By using Conditional PSDDs to represent local conditional probability distributions within a Bayesian network, the resulting "Structured Bayesian Network" can handle clusters of variables with exponential state spaces while remaining tractable.

To maintain the logical integrity of the circuit, the authors introduce "conditional vtrees," which ensure the underlying Sentential Decision Diagram (SDD) correctly separates parent variables from child variables. A significant advantage of this framework is its closed-form learning capability. Like standard PSDDs, conditional variants can be learned from complete data using simple counting, decomposed into efficient local tasks.

The pipeline from a probability distribution to its logical SDD structure, resulting PSDD, and underlying Vtree.

Evaluation and Real-World Application

The framework was tested on synthetic random networks with complex parity constraints and a real-world route modeling task in Los Angeles. In the route planning scenario, the model had to account for millions of possible paths across hierarchical map partitions (e.g., Santa Monica, Westwood, Venice).

Valid and invalid routes on a grid, demonstrating the hard logical constraints handled by the model.

Key Results and Insights

The modular approach acts as a powerful regularizer. In experiments, the conditional model required significantly fewer parameters (~648 vs. ~45,618 for a joint PSDD), leading to better generalization and robustness against overfitting, particularly with limited data. In synthetic tests, Conditional PSDDs consistently outperformed joint models in test log-likelihood. The case study demonstrated that these networks can successfully model complex, hierarchical map data without becoming computationally intractable.

Conclusion and Future Work

Conditional PSDDs offer a scalable solution for modeling complex systems with known independence structures and strict logical rules. While currently limited to complete data, future work includes extending the learning algorithm to handle missing data via Expectation-Maximization and automating the discovery of the optimal cluster DAG structure from data.

Summary updated

BibTeX
@inproceedings{shen2018conditional,
  author = {Yujia Shen and Arthur Choi and Adnan Darwiche},
  title = {{Conditional PSDDs: Modeling and Learning With Modular Knowledge}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.1609/aaai.v32i1.12119},
}
Figure