Introduction
Probabilistic inference in real-world scenarios often requires reasoning over hybrid domains—spaces where discrete Boolean logic meets continuous real or integer variables. For instance, determining the probability of an event given temperature ranges and binary sensor states requires integrating a probability density function over a region defined by logical constraints. This task is formalized as Weighted Model Integration (WMI).
While Weighted Model Counting (WMC) has matured for purely discrete problems, WMI remains computationally challenging. Existing solvers often rely on "block-clause" strategies that enumerate valid models one by one, failing to exploit the underlying structural symmetries of the problem. This paper presents a high-performance approach to WMI using Extended Algebraic Decision Diagrams (XADDs) and a novel integration algorithm that leverages symbolic caching to achieve significant speedups.
Symbolic Representation with XADDs
The authors utilize XADDs to represent piecewise polynomial functions over hybrid domains. An XADD is a directed acyclic graph (DAG) where internal nodes represent inequalities (e.g., $x + y \geq 5$) and leaf nodes represent polynomial expressions. This representation is powerful because it allows for symbolic manipulation of complex distributions.
The paper provides a formal top-down compilation scheme to transform Satisfiability Modulo Theories (SMT) formulas and weight functions into XADDs. By representing the problem as a DAG rather than a tree, the XADD can compactly encode shared sub-structures, which is the first step toward efficient inference.
The Bound Resolution Algorithm
The core contribution of this work is the Bound Resolution (BR) algorithm. Historically, symbolic integration on XADDs was performed via Path Enumeration (PE), which effectively treats the DAG as a tree and visits every path from root to leaf. This approach is inherently exponential because it ignores the fact that many paths lead to identical sub-problems.
The BR algorithm introduces caching to symbolic integration. To make caching effective, the algorithm must be context-independent. The authors achieve this by maintaining symbolic upper and lower bounds during recursion. By using symbolic placeholders for these bounds, the result of a sub-integral becomes independent of the specific constraints encountered higher up in the DAG. When the solver encounters a previously solved sub-problem, it simply retrieves the result from the cache, potentially turning an exponential-time search into a linear-time operation for structured problems.
Experimental Results
The proposed approach was evaluated against the previous state-of-the-art "Predicate Abstraction" (PA) solver and the original Path Enumeration (PE) method.
On structured synthetic benchmarks, such as XOR and Mutual Exclusivity formulas, the BR algorithm demonstrated an exponential speedup. As shown in the figure above, while PE and PA solvers exhibit rapid time increases and frequent timeouts as the number of terms grows, the BR algorithm's execution time scales linearly.
On a broader suite of 50 WMI benchmarks, the XADD-based solver remained highly competitive. It solved nearly all instances within the time limit, often outperforming the PA solver in terms of raw speed and robustness.
Amortized Inference and Extensions
Beyond standard WMI, the authors demonstrate the flexibility of the XADD framework through Partial WMI. In many applications, the underlying model is static while queries change. XADDs allow for "integrating out" background variables once, resulting in a parameterized solution. Subsequent queries then require only minimal additional computation, significantly reducing the amortized cost of inference.
Additionally, the framework was extended to support Linear Integer Arithmetic (LIA). This allows the solver to handle problems involving Boolean, Real, and Integer variables simultaneously, broadening its applicability to domains like scheduling and resource allocation.
Conclusion
By combining the structural efficiency of XADDs with a novel, cache-enabled integration algorithm, this work significantly advances the state-of-the-art in hybrid probabilistic inference. While challenges such as node explosion and variable ordering remain, the Bound Resolution algorithm provides a robust foundation for efficient symbolic integration in complex, real-world domains.
Summary updated