Abstract
Weighted Model Counting (WMC) is a cornerstone of probabilistic inference, yet it typically assumes fixed parameters. In reality, parameters learned from data carry inherent uncertainty. This paper addresses the challenge of computing the variance of WMC results to quantify this uncertainty. The authors present a polynomial-time algorithm for structured d-DNNFs and demonstrate its efficiency on real-world Bayesian networks, while also proving the problem's hardness for other common representations.
Quantifying Uncertainty in Probabilistic Inference
In probabilistic reasoning, such as predicting a disease's likelihood based on symptoms, Weighted Model Counting (WMC) is frequently employed. Standard WMC assumes that the weights—the probabilities of individual events—are fixed, known constants. However, in practice, these parameters are often estimated from finite datasets, introducing "fuzziness" or uncertainty into the model.
If the input parameters are uncertain, the inference result must also be uncertain. The authors propose computing the variance of the inference outcome to measure this reliability. High variance indicates that the model's output is sensitive to parameter estimates, signaling a potential need for more data to refine the model.
Methods: The Power of Structured Knowledge Compilation
The researchers leverage Knowledge Compilation, a technique that transforms complex logical formulas into tractable circuits. Their approach centers on two main contributions:
- The Algorithm: They developed a recursive, polynomial-time algorithm to compute variance and covariance. The key requirement is that the input must be a structured d-DNNF (Deterministic Decomposable Negation Normal Form).
- The Role of Vtrees: The algorithm utilizes a "vtree"—a hierarchical decomposition of variables. This structure acts as a blueprint, allowing the algorithm to break down the variance of a large system into smaller, manageable parts while correctly accounting for variable interactions.
The Tractability Gap
A significant theoretical finding is the tractability gap. While standard WMC is computationally easy for formats like d-DNNFs and FBDDs, the authors prove that computing variance on these same formats is NP-hard without the "structured" property (the vtree). This highlights that uncertainty quantification requires stricter structural constraints than standard reasoning.
Key Results and Applications
The approach was validated using bnRep, a repository of 70 real-world Bayesian networks. The results were compelling:
- Efficiency: Once compiled into a structured format, variance computation took less than 0.03 seconds for all 70 networks.
- Scalability: Even for large models like the "propellant" network (8,000+ parameters), the entire pipeline finished in roughly 10 seconds.
- Sensitivity Analysis: In a case study on the "algalactivity2" network, the authors demonstrated that by identifying parameters with the highest impact on output variance, engineers can strategically target data collection to improve model reliability most effectively.
Limitations and Future Work
While the variance calculation itself is extremely fast, the initial step of compiling a formula into a structured d-DNNF can be computationally expensive for certain models. Future research directions include exploring higher-order moments (like skewness or kurtosis) to provide a fuller picture of the probability distribution and investigating newer representations like "and-sum circuits" to further enhance uncertainty quantification in AI.
Summary updated