Abstract
This paper introduces a new probabilistic architecture called Sum-Product Graphical Model (SPGM). SPGMs combine traits from Sum-Product Networks (SPNs) and Graphical Models (GMs): Like SPNs, SPGMs always enable tractable inference using a class of models that incorporate context specific independence. Like GMs, SPGMs provide a high-level model interpretation in terms of conditional independence assumptions and corresponding factorizations. Thus, the new architecture represents a class of probability distributions that combines, for the first time, the semantics of graphical models with the evaluation efficiency of SPNs. We also propose a novel algorithm for learning both the structure and the parameters of SPGMs. A comparative empirical evaluation demonstrates competitive performances of our approach in density estimation.
Introduction: The Tractability-Interpretability Trade-off
In probabilistic modeling, researchers often face a fundamental conflict between expressiveness and tractability. Traditional Graphical Models (GMs), such as Bayesian Networks, are highly interpretable; they explicitly map conditional independence through graph structures. However, inference in GMs with high treewidth is NP-hard, limiting their use in complex domains.
Conversely, Sum-Product Networks (SPNs) offer guaranteed linear-time inference. While computationally efficient, SPNs are "low-level" representations. They describe a sequence of arithmetic operations rather than clear variable dependencies, making it difficult for humans to extract insights or incorporate prior knowledge.
The SPGM Architecture
Sum-Product Graphical Models (SPGMs) bridge this gap by representing probability distributions as massive mixtures of trees with shared sub-components. An SPGM is a rooted Directed Acyclic Graph (DAG) consisting of three node types:
- Variable Nodes (Vnodes): Represent random variables, maintaining the semantic clarity of GMs.
- Sum Nodes: Represent mixtures of sub-models. These can be conditioned on "context variables" to model context-specific independence (CSI).
- Product Nodes: Represent factorizations where groups of variables are assumed independent.
By using sum nodes to branch based on specific variable values (e.g., "If Z=0, then..."), SPGMs can represent complex dependencies that would require "loopy" (and thus intractable) graphs in standard GMs, all while maintaining the efficiency of an underlying SPN structure.
Learning SPGMs: The LearnSPGM Algorithm
The authors propose LearnSPGM, a greedy structure-learning algorithm designed to build these models from data:
- Initialization: The process begins by fitting a Chow-Liu tree, the optimal single-tree approximation.
- Expansion: The algorithm identifies "sub-optimal" edges—pairs of variables with high mutual information not captured by the current tree.
- Insertion: It iteratively adds these edges by creating new mixture branches. Crucially, these branches share as much existing structure as possible to keep the model compact.
- Optimization: Expectation-Maximization (EM) is used to fine-tune the weights of the mixture components.
Empirical Evaluation
The model was tested on 20 real-world benchmark datasets (e.g., NLTCS, EachMovie, 20Newsgrp) consisting of binary variables. SPGMs achieved state-of-the-art results on 6 of these datasets and remained highly competitive across the rest.
Key findings include:
- Overfitting Resistance: SPGMs outperformed standard "mixtures of trees," suggesting that the structural sharing inherent in SPGMs acts as an effective regularizer.
- Semantic Utility: Unlike SPNs, SPGMs allow for the use of standard tools like D-separation to determine variable independence directly from the graph.
Conclusion and Future Directions
SPGMs provide a unified framework that combines the semantic power of graphical models with the computational guarantees of sum-product networks. Future work includes extending the architecture to continuous variables via the exponential family and exploring more sophisticated non-greedy search strategies for structure learning. SPGMs also hold promise as a tool for approximating intractable GMs, potentially replacing complex approximate inference methods with exact inference on a tractable mixture.
Summary updated