Variance Computation for Weighted Model Counting with Knowledge Compilation Approach

· Source: cs.AI updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics, Mathematics & Computational Sciences · Depth: Expert, extended

Summary

This paper introduces a novel query for computing the variance of Weighted Model Counting (WMC), a critical operation in knowledge compilation applied to probabilistic inference, particularly in Bayesian networks. The authors present a polynomial-time algorithm for evaluating WMC variance when the input is a structured d-DNNF (st-d-DNNF). This is significant because st-d-DNNFs subsume Sentential Decision Diagrams (SDDs), which are widely used. Conversely, the study proves the intractability of this problem for broader representations like structured DNNFs, d-DNNFs, and FBDDs, even though WMC itself is polynomial-time for the latter two. An application is demonstrated for measuring uncertainty in Bayesian network inference, showing that the algorithm can evaluate the variance of marginal probability on real-world Bayesian networks and identify parameters whose variances most impact the marginal's uncertainty. Experiments on 70 binary Bayesian networks from bnRep confirm the practical tractability, with maximum variance computation taking 0.025 seconds for an SDD size of 3,888.

Key takeaway

Research scientists working with probabilistic inference in Bayesian networks should prioritize compiling their models into structured d-DNNFs (like SDDs) to enable efficient, polynomial-time computation of WMC variance. This capability allows you to quantify the uncertainty in inference outcomes and identify specific model parameters whose variances most significantly impact overall uncertainty, guiding targeted data collection efforts to improve model reliability and decision-making.

Key insights

Computing WMC variance is tractable for structured d-DNNFs but intractable for broader DNNF variants.

Principles

Method

The proposed algorithm recursively decomposes covariance calculations using vtrees and caches results, adjusting variable sets with pre-computed expectations and variances for efficient WMC variance computation.

In practice

Topics

Code references

Best for: Research Scientist, AI Scientist, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.AI updates on arXiv.org.