Bayesian Learning of Sum-Product Networks

Martin Trapp, Robert Peharz, Hong Ge, Franz Pernkopf, Zoubin Ghahramani
5/26/2019
cs.LGstat.ML
bayesian

Official code: trappmartin/BayesianSumProductNetworks (13 stars, Julia, MIT, last commit 2020-05-19).

Abstract

Sum-product networks (SPNs) are flexible density estimators and have received significant attention due to their attractive inference properties. While parameter learning in SPNs is well developed, structure learning leaves something to be desired: Even though there is a plethora of SPN structure learners, most of them are somewhat ad-hoc and based on intuition rather than a clear learning principle.

Show full abstract

In this paper, we introduce a well-principled Bayesian framework for SPN structure learning. First, we decompose the problem into i) laying out a computational graph, and ii) learning the so-called scope function over the graph. The first is rather unproblematic and akin to neural network architecture validation. The second represents the effective structure of the SPN and needs to respect the usual structural constraints in SPN, i.e. completeness and decomposability. While representing and learning the scope function is somewhat involved in general, in this paper, we propose a natural parametrisation for an important and widely used special case of SPNs. These structural parameters are incorporated into a Bayesian model, such that simultaneous structure and parameter learning is cast into monolithic Bayesian posterior inference. In various experiments, our Bayesian SPNs often improve test likelihoods over greedy SPN learners. Further, since the Bayesian framework protects against overfitting, we can evaluate hyper-parameters directly on the Bayesian model score, waiving the need for a separate validation set, which is especially beneficial in low data regimes. Bayesian SPNs can be applied to heterogeneous domains and can easily be extended to nonparametric formulations. Moreover, our Bayesian approach is the first, which consistently and robustly learns SPN structures under missing data.

View on arXivView PDF

Code Implementations(1)

MIT

Implementation of Bayesian Sum-Product Networks

136Julia, ShellMay 17, 20196 years agoMIT

Similar Papers

Cite this paper

@article{trapp2019bayesian,
  title  = {Bayesian Learning of Sum-Product Networks},
  author = {Martin Trapp and Robert Peharz and Hong Ge and Franz Pernkopf and Zoubin Ghahramani},
  year   = {2019},
  eprint = {1905.10884},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.10884}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1905.10884.svg)](https://codeofpaper.com/paper/1905.10884)

Discussion