Skip to main content
QUICK REVIEW

[Paper Review] Sensitivity Analysis for Predictive Uncertainty in Bayesian Neural Networks

Stefan Depeweg, JM Hernández-Lobato|arXiv (Cornell University)|Dec 10, 2017
Fault Detection and Control SystemsEngineering4 references6 citations
TL;DR

This paper introduces a novel sensitivity analysis method for quantifying how input features influence epistemic and aleatoric uncertainty in Bayesian neural networks with latent variables. By computing gradients of predictive uncertainty components with respect to inputs, the approach reveals which features drive model confidence (epistemic) or inherent noise (aleatoric), offering interpretability for complex probabilistic models on real-world datasets.

ABSTRACT

We derive a novel sensitivity analysis of input variables for predictive epistemic and aleatoric uncertainty. We use Bayesian neural networks with latent variables as a model class and illustrate the usefulness of our sensitivity analysis on real-world datasets. Our method increases the interpretability of complex black-box probabilistic models.

Motivation & Objective

  • To improve interpretability of black-box probabilistic models by analyzing how input features affect predictive uncertainty.
  • To decompose predictive uncertainty into epistemic (model uncertainty) and aleatoric (data noise) components and analyze their sensitivity to inputs.
  • To develop a sensitivity analysis framework that extends standard gradient-based methods to uncertainty components in Bayesian neural networks.
  • To provide actionable insights for model monitoring and safety by identifying features that significantly impact uncertainty.

Proposed method

  • The method uses Bayesian neural networks with latent variables to model complex stochastic functions and quantify both epistemic and aleatoric uncertainty.
  • It applies the law of total variance to decompose predictive variance into epistemic and aleatoric components for each output dimension.
  • Sensitivity scores are computed as the average absolute gradient of epistemic and aleatoric uncertainty components with respect to input features over test data.
  • The epistemic sensitivity is defined as the gradient of the variance of the expected output over model weights, while aleatoric sensitivity is the gradient of the expected variance over latent variables.
  • The approach uses Monte Carlo sampling over weights and latent variables (200 samples each) to estimate uncertainty components and their gradients.
  • Model training uses black-box α-divergence minimization with α=1.0, optimizing approximate posterior distributions over weights and latent variables.

Experimental results

Research questions

  • RQ1Which input features most significantly influence epistemic uncertainty in Bayesian neural network predictions?
  • RQ2Which input features most significantly influence aleatoric uncertainty, indicating dependence on unobserved latent factors?
  • RQ3How do the sensitivities of epistemic and aleatoric uncertainty compare across diverse real-world regression datasets?
  • RQ4Can sensitivity analysis of uncertainty components reveal meaningful patterns consistent with known data-generating mechanisms?

Key findings

  • On a toy dataset with heteroskedastic noise, the method correctly identified that input $x_1$ drives epistemic uncertainty and $x_2$ drives aleatoric uncertainty, matching the data-generating process.
  • In the power-plant dataset, temperature and ambient pressure were identified as the primary sources of aleatoric uncertainty, consistent with complex combustion processes affecting energy output.
  • In the naval-propulsion-plant dataset, compressor inlet temperature and pressure showed high epistemic uncertainty due to their constant values in the dataset, indicating model sensitivity to out-of-distribution shifts.
  • The method revealed mixed patterns across UCI datasets: some problems were dominated by epistemic sensitivity, others by aleatoric, and others by a combination, reflecting dataset size and intrinsic heterogeneity.
  • The sensitivity scores provided actionable insights, such as identifying features requiring safety monitoring (high epistemic sensitivity) or those linked to unobserved stochastic processes (high aleatoric sensitivity).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.