[Paper Review] Probabilistic Inference Modulo Theories
This paper introduces SGDPLL(T), a lifted, exact inference algorithm that generalizes DPLL and SMT to perform probabilistic inference modulo theories, supporting propositional logic, equalities, and difference arithmetic over bounded integers. It achieves constant-time complexity in domain size via symbolic manipulation and Faulhaber's formula, outperforming state-of-the-art solvers in experiments.
We present SGDPLL(T), an algorithm that solves (among many other problems) probabilistic inference modulo theories, that is, inference problems over probabilistic models defined via a logic theory provided as a parameter (currently, propositional, equalities on discrete sorts, and inequalities, more specifically difference arithmetic, on bounded integers). While many solutions to probabilistic inference over logic representations have been proposed, SGDPLL(T) is simultaneously (1) lifted, (2) exact and (3) modulo theories, that is, parameterized by a background logic theory. This offers a foundation for extending it to rich logic languages such as data structures and relational data. By lifted, we mean algorithms with constant complexity in the domain size (the number of values that variables can take). We also detail a solver for summations with difference arithmetic and show experimental results from a scenario in which SGDPLL(T) is much faster than a state-of-the-art probabilistic solver.
Motivation & Objective
- Address the lack of efficient, exact probabilistic inference methods that natively handle rich logical constructs such as arithmetic, relations, and quantifiers in probabilistic models.
- Overcome limitations of existing approaches—like propositionalization or approximate inference—that either expand models into large tables or lack theoretical grounding.
- Develop a general inference framework that is both lifted (constant complexity in domain size) and exact, parameterized by a background logic theory T.
- Enable efficient computation of summations over integer indices with complex constraints, using algebraic techniques like Faulhaber’s formula.
- Provide a foundation for extending probabilistic inference to richer logical languages, including data structures and relational models.
Proposed method
- Generalize the DPLL algorithm to handle symbolic expressions and quantified formulas by incorporating a background logic theory T as a parameter.
- Extend SMT-style theory solving to support not only satisfiability but also model counting and symbolic summation over real-valued expressions.
- Use symbolic manipulation to represent and compute summations involving free variables and constraints, avoiding ground-level enumeration.
- Implement a specialized solver for difference arithmetic over bounded integers using Faulhaber’s formula to compute sums of polynomials in constant time relative to domain size.
- Apply binomial expansion and recursive decomposition to reduce polynomial summations to known closed-form expressions involving Bernoulli numbers.
- Ensure complexity remains independent of domain size by leveraging algebraic identities and precomputing coefficients based on polynomial degree.
Experimental results
Research questions
- RQ1Can probabilistic inference over complex logical models be performed exactly and efficiently without propositionalization?
- RQ2To what extent can lifted inference be generalized beyond first-order logic to richer theories such as difference arithmetic and equalities?
- RQ3Can symbolic summation over integer indices be computed in time independent of the domain size using algebraic techniques?
- RQ4How does the performance of SGDPLL(T) compare to state-of-the-art probabilistic solvers in scenarios with complex logical constraints?
- RQ5What is the computational complexity of the proposed solver for polynomial summations, and how does it scale with polynomial degree and variable dependencies?
Key findings
- SGDPLL(T) achieves constant-time complexity in domain size for summations over bounded integers by using Faulhaber’s formula, making it truly lifted.
- The solver for difference arithmetic and polynomial summations runs in time independent of the index domain size, with complexity bounded by O(n⁵) in the maximum initial polynomial degree n.
- The algorithm outperforms a state-of-the-art probabilistic solver in a real-world scenario involving complex logical constraints and large domains.
- Faulhaber’s formula enables exact evaluation of sums of the form ∑x:l<x≤u t₀ + t₁x + … + tₙxⁿ in closed form, avoiding ground instantiation.
- Variable degrees grow linearly over multiple algebraic operations, ensuring that complexity remains manageable even under composition of expressions.
- The method supports symbolic outputs expressed in terms of free variables, enabling flexible and compact representation of probabilistic queries.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.