Skip to main content
QUICK REVIEW

[Paper Review] Scaling up Hybrid Probabilistic Inference with Logical and Arithmetic Constraints via Message Passing

Zhe Zeng, Paolo Morettin|arXiv (Cornell University)|Feb 28, 2020
Bayesian Modeling and Causal InferenceComputer Science6 citations
TL;DR

This paper proposes MP-WMI, a novel message-passing-based WMI solver that enables exact inference on tree-structured WMI problems with logical and arithmetic constraints. It achieves state-of-the-art scalability, handling up to 100 variables, and supports inter-query amortization for simultaneous marginal density computation, significantly outperforming prior exact solvers in runtime and scalability.

ABSTRACT

Weighted model integration (WMI) is a very appealing framework for probabilistic inference: it allows to express the complex dependencies of real-world problems where variables are both continuous and discrete, via the language of Satisfiability Modulo Theories (SMT), as well as to compute probabilistic queries with complex logical and arithmetic constraints. Yet, existing WMI solvers are not ready to scale to these problems. They either ignore the intrinsic dependency structure of the problem at all, or they are limited to too restrictive structures. To narrow this gap, we derive a factorized formalism of WMI enabling us to devise a scalable WMI solver based on message passing, MP-WMI. Namely, MP-WMI is the first WMI solver which allows to: 1) perform exact inference on the full class of tree-structured WMI problems; 2) compute all marginal densities in linear time; 3) amortize inference inter query. Experimental results show that our solver dramatically outperforms the existing WMI solvers on a large set of benchmarks.

Motivation & Objective

  • To address the scalability limitations of existing WMI solvers, which either ignore problem structure or are restricted to narrow classes of problems.
  • To extend the boundaries of tractable WMI inference beyond existing classes, particularly for problems with complex logical and arithmetic constraints.
  • To design a message-passing framework that enables exact inference on tree-structured WMI problems, supporting both single-query and multi-query workloads.
  • To achieve inter-query amortization by computing all variable marginal densities simultaneously, reducing overall inference cost.
  • To empirically validate the scalability and efficiency of the proposed solver on large-scale benchmarks with real-world structure.

Proposed method

  • Derives a factorized WMI computation framework based on the primal graph structure of SMT formulas, enabling message-passing over tree-structured factor graphs.
  • Designs a novel message-passing algorithm that propagates symbolic weight functions and integrates them locally using symbolic integration, avoiding numerical reconstruction.
  • Employs symbolic integration to compute univariate and multivariate polynomial integrals efficiently, with average-case linear complexity in the number of monomials.
  • Supports inter-query amortization by computing all marginals and moments simultaneously during a single pass over the factor graph.
  • Leverages the SMT(ℝ) framework to express hybrid continuous-discrete problems with complex logical and arithmetic constraints.
  • Reduces WMI inference to a series of local computations over a tree-structured factor graph, enabling exact inference in polynomial time for this class.

Experimental results

Research questions

  • RQ1Can MP-WMI scale WMI inference to larger problem sizes than existing exact solvers?
  • RQ2How effective is inter-query amortization in reducing cumulative query answering time across multiple queries?
  • RQ3Does symbolic integration in MP-WMI lead to better performance than numerical integration in existing solvers?
  • RQ4Can MP-WMI handle the full class of tree-structured WMI problems with polynomial weights and complex constraints?
  • RQ5How does MP-WMI compare in performance to state-of-the-art WMI solvers on benchmarks with varying tree topologies?

Key findings

  • MP-WMI scales to 60 variables on star-shaped graphs and up to 90 variables on path and complete ternary tree structures, far exceeding the 20-variable limit of WMI-PA and F-XSDD(BR).
  • For single-query inference, MP-WMI is up to two orders of magnitude faster than SMI due to symbolic integration, which has lower average-case complexity than numerical interpolation.
  • MP-WMI achieves inter-query amortization by computing all marginal densities simultaneously, reducing cumulative runtime across 100 queries by up to two orders of magnitude compared to SMI.
  • The solver supports exact inference on the largest known class of tractable WMI problems, including those with polynomial weights and complex logical constraints.
  • Empirical results confirm that MP-WMI outperforms all existing exact WMI solvers in both scalability and efficiency on tree-structured benchmarks.
  • The use of symbolic integration in MP-WMI leads to superior performance on high-degree polynomials, where numerical methods in SMI scale quadratically with degree.

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.