Abstract
Weighted Model Integration (WMI) is a powerful framework for probabilistic inference in hybrid domains involving both discrete and continuous variables. Traditionally, WMI has been defined as a "patchwork" extension of Weighted Model Counting (WMC) using Riemann integration. This paper provides a rigorous measure-theoretic foundation for WMI by shifting to Lebesgue integration. This shift allows for a unified treatment of discrete and continuous variables, demonstrating that WMC is a special case of WMI. The proposed framework, Lebesgue-WMI (L-WMI), offers greater theoretical robustness and clarity for future research in automated reasoning.
Introduction
In automated reasoning and probabilistic AI, calculating the "weight" of a logical formula is essential for determining the probability of its truth. For purely discrete domains, Weighted Model Counting (WMC) is the standard. When continuous variables are introduced, Weighted Model Integration (WMI) is used. Historically, WMI was defined by embedding Riemann integrals within the summation over discrete models.
However, this approach lacks a principled theoretical core. Riemann integration has inherent limitations when dealing with complex sets or limiting processes. This paper addresses the gap by providing a cohesive measure-theoretic framework that treats Boolean bits and real numbers on equal footing, moving beyond the "mathematical patchwork" of previous definitions.
Methodology: A Unified Measure Space
The authors leverage Measure Theory and Lebesgue Integration to redefine WMI from the ground up. The core of this approach is the construction of a unified product measure space: $(\mathbb{B}^M \times \mathbb{R}^N, \mathcal{P}(\mathbb{B}^M) \otimes \mathcal{B}(\mathbb{R}^N), \mu \times \lambda)$
In this space:
- $\mu$ represents the counting measure, which handles discrete Boolean variables.
- $\lambda$ represents the Lebesgue measure, which handles continuous real variables.
By defining the weighted model integral as a single Lebesgue integral over the set of models in this hybrid space, the authors introduce Lebesgue WMI (L-WMI). They provide formal proofs (Theorems 12 and 16) ensuring that this new definition remains consistent with existing WMC and WMI definitions for standard problems.
Key Insights
A major contribution of this work is the realization that WMC is a degenerate case of WMI. Corollary 17 shows that in a space with zero continuous variables, the product measure simplifies to the counting measure, and L-WMI becomes L-WMC. This unifies "summing" and "integrating" as instances of the same operation: integration with respect to a specific measure.
Furthermore, Lebesgue integration's power allows the framework to handle a wider class of "pathological" weight functions that were previously undefined in Riemann-based WMI. The paper also demonstrates that hybrid weight functions can be uniquely factorized into Boolean and continuous parts, a property crucial for developing efficient solvers.
Key Results and Formalization
The primary result is the successful transition of WMI from an extension of WMC to a unified theory. This framework is naturally extensible to other domains, such as integer variables ($\mathbb{Z}^K$), by incorporating additional counting measures.
To bridge the gap between the automated reasoning and measure theory communities, the authors provide a comprehensive glossary of technical terms.
Limitations and Future Work
While this measure-theoretic foundation provides significant theoretical clarity and soundness, it does not immediately yield faster algorithms for current WMI solvers. Future work will explore practical implementations and the extension of this framework to handle models with an infinite number of variables (stochastic processes). Additionally, investigating the boundaries of measurability in more exotic logical theories beyond Linear Real Arithmetic (LRA) remains an open challenge.
Summary updated