Introduction
Representing local structure in Bayesian networks (BNs) remains a significant challenge, particularly as the number of parent variables increases. Traditional Conditional Probability Tables (CPTs) scale exponentially, leading to prohibitive memory requirements and data sparsity issues. While Context-Specific Independence (CSI) offers a solution by grouping parent configurations with identical child probabilities, standard learning methods—primarily decision tree searches—often fail to capture complex functional relationships like parity or cardinality.
This paper introduces Functional Context-Specific CPDs (FoCS CPDs), a hybrid approach that combines the predictive power of deep learning with the rigorous reasoning capabilities of probabilistic graphical models. By learning a continuous functional representation and subsequently quantizing it into discrete contexts, FoCS CPDs achieve high accuracy with remarkable succinctness.
Methodology: From Functions to Contexts
The core of the FoCS framework is a two-stage pipeline designed to extract symbolic structure from neural learners.
1. Functional Learning
Instead of performing a discrete search over variable splits, the model first trains a Multi-Layer Perceptron (MLP) to approximate the conditional probability distribution. The MLP learns a continuous function $f(u)$ that maps parent configurations to the probability of the child variable. This allows the model to capture global patterns across all parents simultaneously.
2. Context Quantization and Compilation
The continuous output of the MLP is then "quantized" by identifying optimal thresholds. These thresholds partition the input space into a small set of discrete "contexts." To ensure the resulting model remains tractable for exact inference, the authors leverage Knowledge Compilation. By treating the thresholded MLP as a binary neural network, they compile these contexts into Sentential Decision Diagrams (SDDs). This symbolic representation enables efficient marginal inference and the calculation of the Most Probable Explanation (MPE) via Mixed-Integer Linear Programming (MILP).
Experimental Results
The authors evaluated FoCS CPDs against traditional ID3 decision trees and baseline MLPs across synthetic cardinality constraints, MNIST digit classification, and channel coding tasks.
Performance and Succinctness
A key finding is the efficiency of the FoCS representation. In synthetic benchmarks involving cardinality (where a variable depends on the count of active parents), FoCS CPDs converged to near-optimal negative log-likelihood with only a few contexts. In contrast, ID3 decision trees required thousands of leaves to achieve comparable performance, highlighting the difficulty of capturing functional logic through axis-aligned variable splits.
Real-World Application: Channel Coding
In a "learning to decode" case study, the FoCS model successfully learned the underlying parity-check codes of a noisy channel. It achieved approximately 90% bit accuracy without prior knowledge of the encoding equations, demonstrating its ability to extract latent logical rules from raw data.
Conclusion
FoCS CPDs provide a robust bridge between the "black box" nature of deep learning and the interpretability of rule-based graphical models. By prioritizing functional learning over heuristic search, this approach yields models that are both more accurate and more succinct than traditional tree-based methods. Future work may extend this framework to multi-valued variables and explore more sophisticated quantization techniques to further enhance scalability.
Summary updated