Skip to main content
QUICK REVIEW

[Paper Review] Tractable Querying and Learning in Hybrid Domains via Sum-Product Networks

Andreas Bueff, Stefanie Speichert|arXiv (Cornell University)|Jul 14, 2018
Bayesian Modeling and Causal InferenceComputer Science19 references11 citations
TL;DR

This paper proposes a framework that integrates sum-product networks (SPNs) with weighted model integration (WMI) to enable tractable learning and querying in hybrid discrete-continuous domains using piecewise polynomial approximations of arbitrary-shaped density functions. By leveraging propositional abstractions and minimizing interference with existing SPN structure learning, the approach supports efficient, exact inference over complex interval queries, achieving high predictive performance with scalable, non-parametric modeling of continuous features.

ABSTRACT

Probabilistic representations, such as Bayesian and Markov networks, are fundamental to much of statistical machine learning. Thus, learning probabilistic representations directly from data is a deep challenge, the main computational bottleneck being inference that is intractable. Tractable learning is a powerful new paradigm that attempts to learn distributions that support efficient probabilistic querying. By leveraging local structure, representations such as sum-product networks (SPNs) can capture high tree-width models with many hidden layers, essentially a deep architecture, while still admitting a range of probabilistic queries to be computable in time polynomial in the network size. The leaf nodes in SPNs, from which more intricate mixtures are formed, are tractable univariate distributions, and so the literature has focused on Bernoulli and Gaussian random variables. This is clearly a restriction for handling mixed discrete-continuous data, especially if the continuous features are generated from non-parametric and non-Gaussian distribution families. In this work, we present a framework that systematically integrates SPN structure learning with weighted model integration, a recently introduced computational abstraction for performing inference in hybrid domains, by means of piecewise polynomial approximations of density functions of arbitrary shape. Our framework is instantiated by exploiting the notion of propositional abstractions, thus minimally interfering with the SPN structure learning module, and supports a powerful query interface for conditioning on interval constraints. Our empirical results show that our approach is effective, and allows a study of the trade off between the granularity of the learned model and its predictive power.

Motivation & Objective

  • To address the limitation of existing SPN frameworks that rely on restrictive parametric distributions (e.g., Gaussian, Bernoulli) for continuous variables in hybrid data.
  • To enable tractable, exact probabilistic inference over complex interval constraints in mixed discrete-continuous domains.
  • To support non-parametric modeling of continuous features through piecewise polynomial approximations of arbitrary density shapes.
  • To maintain compatibility with existing SPN structure learning pipelines by minimizing architectural modifications.
  • To provide a scalable, query-efficient interface for reasoning over continuous and hybrid distributions using weighted model integration.

Proposed method

  • The framework extends SPN structure learning by replacing standard univariate leaf distributions with piecewise polynomial approximations of arbitrary continuous density functions.
  • It employs weighted model integration (WMI) as the computational abstraction for inference, mapping intervals to propositional logic atoms.
  • Propositional abstractions are used to interface WMI with SPN inference, enabling efficient computation via existing propositional solvers.
  • The method supports arbitrary interval constraints in queries, including overlapping and nested intervals not aligned with density approximation bins.
  • The approach allows for end-to-end unsupervised learning of SPNs with non-parametric continuous components, maintaining tractability.
  • The system supports both parametric and non-parametric density modeling by adjusting the granularity and degree of polynomial approximations.

Experimental results

Research questions

  • RQ1Can SPNs be extended to model arbitrary continuous distributions beyond exponential families, such as non-Gaussian or non-parametric densities?
  • RQ2How can tractable inference be maintained while supporting complex interval queries over continuous variables in hybrid domains?
  • RQ3To what extent does the use of piecewise polynomial approximations improve modeling accuracy compared to standard parametric assumptions in SPNs?
  • RQ4Can the integration of WMI with SPNs enable efficient, exact inference over complex conditional queries involving both discrete and continuous variables?
  • RQ5How does the trade-off between model granularity (number of bins, polynomial degree) and predictive performance manifest in practice?

Key findings

  • The proposed WMISPN framework achieves high predictive performance on hybrid datasets, with normalized log-likelihoods comparable or superior to baseline SPN methods.
  • Inference times for complex queries remain in the nanosecond range, with linear scaling as query length increases, demonstrating efficiency and scalability.
  • The system supports rich interval queries, including mixed continuous and discrete atoms, with no significant performance degradation.
  • At 5 bins per feature, the model learns a 3rd-degree polynomial approximation for the first bin of the pixel mean feature in the Cloud dataset, and a 4th-degree polynomial at 15 bins, showing adaptive granularity.
  • The framework enables non-parametric modeling of continuous features without sacrificing tractability, supporting arbitrary density shapes through piecewise polynomial approximation.
  • Empirical results confirm that the trade-off between model granularity and predictive power is effectively balanced, with improved modeling fidelity at higher bin counts.

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.