Abstract
Sum-Product Networks (SPNs) offer a powerful framework for tractable probabilistic modeling, yet their structure learning often depends on sensitive hyperparameters like correlation thresholds. We present Prometheus, an algorithm that leverages graph partitioning via Maximum Spanning Trees (MSTs) to generate multiple variable decompositions. This approach eliminates the need for manual threshold tuning and directly induces efficient Directed Acyclic Graph (DAG) structures. Our evaluation across 30 benchmark datasets and the MNIST image dataset demonstrates that Prometheus achieves state-of-the-art performance, particularly in low-data regimes, while maintaining model compactness.
Introduction
Sum-Product Networks (SPNs) have gained prominence due to their ability to perform exact inference in linear time relative to the model size. However, the efficacy of an SPN is heavily dependent on its structure. Traditional top-down learning algorithms rely on recursive variable partitioning based on statistical independence tests. A significant bottleneck in these methods is the reliance on a "correlation threshold" hyperparameter to decide when to split variables into independent groups. Poorly tuned thresholds lead to either underfitting or excessive model complexity, making SPNs difficult to deploy without extensive cross-validation.
The Prometheus Algorithm
Prometheus addresses the brittleness of threshold-based splitting by adopting a robust graph-partitioning strategy. Instead of a binary decision based on a fixed threshold, the algorithm considers a spectrum of possible decompositions simultaneously.
As illustrated in the methodology overview, the process begins by representing variables as nodes in a complete graph where edge weights correspond to pairwise correlations. The algorithm proceeds in four key stages:
- MST Construction: It identifies the Maximum Spanning Tree (MST) of the correlation graph, capturing the most significant dependencies in the data.
- Sequential Cutting: Rather than using a threshold, Prometheus removes edges from the MST in increasing order of weight. Each removal creates a new partition of variables.
- DAG Induction: These multiple partitions are unified under a sum node, representing a mixture of decompositions. Because different partitions often share variable subsets, the resulting structure is a DAG where sub-circuits are reused, ensuring computational efficiency.
- Scalability: For high-dimensional data like images, a sampling-based approximation is used to estimate the correlation matrix, reducing complexity from $O(d^2)$ to a manageable level.
Experimental Results
Prometheus was evaluated against standard benchmarks, including 20 discrete and 10 continuous datasets. The results indicate that Prometheus is highly competitive, matching or exceeding state-of-the-art performance on 19 out of 30 datasets.
On the MNIST dataset, Prometheus achieved an accuracy of 98.37%, the highest reported for an SPN trained directly on raw pixels. Furthermore, the algorithm demonstrated exceptional robustness in low-data scenarios. In tests on the Abalone and CA datasets, Prometheus maintained stable performance even when training data was reduced to 10-20% of the original size, whereas threshold-based models experienced significant degradation.
Conclusion and Future Work
Prometheus represents a significant step forward in making SPN structure learning more automated and robust. By replacing brittle hyperparameters with a principled graph-partitioning approach, it simplifies the deployment of tractable probabilistic models. Future work will explore extending the algorithm to hybrid domains with mixed data types and incorporating explicit model compression techniques to further optimize the learned DAGs for resource-constrained environments.
Summary updated