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

02/01/2023
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. Various sensitivity measures have been defined to quantify such influence, most commonly some function of the quantity of interest's partial derivative with respect to the network's conditional probabilities. However, computing these measures in large networks with thousands of parameters can become computationally very expensive. We propose an algorithm combining automatic differentiation and exact inference to efficiently calculate the sensitivity measures in a single pass. It 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. Our method can be used for one-way and multi-way sensitivity analysis and the derivation of admissible regions. Simulation studies highlight the efficiency of our algorithm by scaling it to massive networks with up to 100'000 parameters and investigate the feasibility of generic multi-way analyses. Our routines are also showcased over two medium-sized Bayesian networks: the first modeling the country-risks of a humanitarian crisis, the second studying the relationship between the use of technology and the psychological effects of forced social isolation during the COVID-19 pandemic. An implementation of the methods using the popular machine learning library PyTorch is freely available.

READ FULL TEXT
research
06/17/2022

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

Sensitivity analysis measures the influence of a Bayesian network's para...
research
07/11/2012

Sensitivity Analysis in Bayesian Networks: From Single to Multiple Parameters

Previous work on sensitivity analysis in Bayesian networks has focused o...
research
10/07/2021

Global sensitivity analysis in probabilistic graphical models

We show how to apply Sobol's method of global sensitivity analysis to me...
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 ...
research
05/01/2023

Efficient Sensitivity Analysis for Parametric Robust Markov Chains

We provide a novel method for sensitivity analysis of parametric robust ...
research
02/27/2020

Computing Shapley Effects for Sensitivity Analysis

Shapley effects are attracting increasing attention as sensitivity measu...

Please sign up or login with your details

Forgot password? Click here to reset