Skip to main content
QUICK REVIEW

[Paper Review] Learning Arbitrary Sum-Product Network Leaves with Expectation-Maximization

Mattia Desana, Christoph Schnörr|arXiv (Cornell University)|Apr 25, 2016
Bayesian Modeling and Causal InferenceComputer Science20 references4 citations
TL;DR

This paper proposes an Expectation-Maximization (EM) framework for learning complex, arbitrary leaf distributions in Sum-Product Networks (SPNs), transforming leaf parameter updates into weighted maximum likelihood problems. The method enables efficient, linear-time training with guaranteed convergence even under partial optimization, outperforming state-of-the-art density estimation methods using significantly fewer parameters when using tree-structured graphical models as leaves.

ABSTRACT

Sum-Product Networks with complex probability distribution at the leaves have been shown to be powerful tractable-inference probabilistic models. However, while learning the internal parameters has been amply studied, learning complex leaf distribution is an open problem with only few results available in special cases. In this paper we derive an efficient method to learn a very large class of leaf distributions with Expectation-Maximization. The EM updates have the form of simple weighted maximum likelihood problems, allowing to use any distribution that can be learned with maximum likelihood, even approximately. The algorithm has cost linear in the model size and converges even if only partial optimizations are performed. We demonstrate this approach with experiments on twenty real-life datasets for density estimation, using tree graphical models as leaves. Our model outperforms state-of-the-art methods for parameter learning despite using SPNs with much fewer parameters.

Motivation & Objective

  • To address the open problem of learning complex, arbitrary leaf distributions in Sum-Product Networks (SPNs), which are otherwise limited to simple distributions like indicators.
  • To develop a principled, scalable method for training high-capacity leaf distributions while maintaining tractable inference.
  • To enable the use of any distribution amenable to maximum likelihood estimation—exact or approximate—as SPN leaves.
  • To demonstrate that modeling complexity in the leaves reduces the need for large, deep SPN structures.

Proposed method

  • Derive a novel EM algorithm for SPNs by establishing a theoretical link between SPN structure and a subset of its encoded mixture, enabling leaf updates via weighted maximum likelihood.
  • Transform the M-step for leaf parameters into a weighted maximum likelihood problem, where weights are derived from the SPN’s structure and activation probabilities.
  • Use the derivative of the SPN output with respect to leaf nodes to compute effective sample weights for each leaf distribution update.
  • Ensure convergence by guaranteeing improvement at each EM step, even when the M-step is only partially optimized.
  • Leverage the exponential family’s closed-form solutions for efficient optimization when leaf distributions belong to this family.
  • Apply the method to SPNs with tree-structured graphical models as leaves, enabling flexible, high-capacity density modeling.

Experimental results

Research questions

  • RQ1Can we learn complex, arbitrary leaf distributions in SPNs using a principled EM framework?
  • RQ2Does transforming leaf updates into weighted maximum likelihood problems enable efficient and scalable training?
  • RQ3Can SPNs with complex, trainable leaves outperform standard SPNs with simple leaves in density estimation, even with fewer parameters?
  • RQ4Is convergence of the EM algorithm guaranteed when only partial optimizations are performed in the M-step?
  • RQ5Can this method be applied to a wide range of distributions, including those requiring approximate maximum likelihood estimation?

Key findings

  • The proposed EM method achieves linear computational cost in the number of SPN edges, enabling efficient training of complex leaf distributions.
  • Convergence is guaranteed even if the M-step is only partially optimized, making the method robust and practical for approximate inference.
  • On twenty real-world density estimation datasets, the model with tree-structured graphical model leaves outperformed state-of-the-art parameter learning methods despite using significantly fewer parameters.
  • The method enables the use of any distribution that supports maximum likelihood learning, including approximate methods, greatly expanding the range of applicable leaf models.
  • The results suggest that modeling capacity can be shifted from the SPN structure to the leaf distributions, reducing the need for large, deep SPN architectures.
  • For exponential family leaves, the M-step has a single global optimum, allowing efficient closed-form updates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.