You Only Derive Once (YODO): Automatic Differentiation for Efficient Sensitivity Analysis in Bayesian Networks

06/17/2022
by   Rafael Ballester-Ripoll, et al.
0

Sensitivity analysis measures the influence of a Bayesian network's parameters on a quantity of interest defined by the network, such as the probability of a variable taking a specific value. In particular, the so-called sensitivity value measures the quantity of interest's partial derivative with respect to the network's conditional probabilities. However, finding such values in large networks with thousands of parameters can become computationally very expensive. We propose to use automatic differentiation combined with exact inference to obtain all sensitivity values in a single pass. Our method first marginalizes the whole network once using e.g. variable elimination and then backpropagates this operation to obtain the gradient with respect to all input parameters. We demonstrate our routines by ranking all parameters by importance on a Bayesian network modeling humanitarian crises and disasters, and then show the method's efficiency by scaling it to huge networks with up to 100'000 parameters. An implementation of the methods using the popular machine learning library PyTorch is freely available.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/01/2023

The YODO algorithm: An efficient computational framework for sensitivity analysis in Bayesian networks

Sensitivity analysis measures the influence of a Bayesian network's para...
research
05/01/2023

Efficient Sensitivity Analysis for Parametric Robust Markov Chains

We provide a novel method for sensitivity analysis of parametric robust ...
research
03/06/2013

Sensitivity Analysis for Probability Assessments in Bayesian Networks

When eliciting probability models from experts, knowledge engineers may ...
research
08/28/2019

Forward-Mode Differentiation of Maxwell's Equations

We present a previously unexplored forward-mode differentiation method f...
research
01/10/2013

Analysing Sensitivity Data from Probabilistic Networks

With the advance of efficient analytical methods for sensitivity analysi...
research
01/16/2013

A Differential Approach to Inference in Bayesian Networks

We present a new approach for inference in Bayesian networks, which is m...
research
01/16/2013

Making Sensitivity Analysis Computationally Efficient

To investigate the robustness of the output probabilities of a Bayesian ...

Please sign up or login with your details

Forgot password? Click here to reset