Analysis of Bayesian Networks via Prob-Solvable Loops [article]

Ezio Bartocci and Laura Kovács and Miroslav Stankovič
2020 arXiv   pre-print
Prob-solvable loops are probabilistic programs with polynomial assignments over random variables and parametrised distributions, for which the full automation of moment-based invariant generation is decidable. In this paper we extend Prob-solvable loops with new features essential for encoding Bayesian networks (BNs). We show that various BNs, such as discrete, Gaussian, conditional linear Gaussian and dynamic BNs, can be naturally encoded as Prob-solvable loops. Thanks to these encodings, we
more » ... n automatically solve several BN related problems, including exact inference, sensitivity analysis, filtering and computing the expected number of rejecting samples in sampling-based procedures. We evaluate our work on a number of BN benchmarks, using automated invariant generation within Prob-solvable loop analysis.
arXiv:2007.09450v2 fatcat:hiqs5qthnneytcf6obmalriwtm