Skip to main content
QUICK REVIEW

[Paper Review] Sensitivity-Aware Amortized Bayesian Inference

Lasse Elsemüller, Hans Olischläger|arXiv (Cornell University)|Oct 17, 2023
Gaussian Processes and Bayesian InferenceComputer Science6 citations
TL;DR

This paper introduces Sensitivity-Aware Amortized Bayesian Inference (SA-ABI), a method that efficiently integrates sensitivity analysis into neural network-based Bayesian inference by encoding multiple likelihoods, priors, and data configurations as context variables in a shared deep ensemble. It enables rapid, low-overhead assessment of model sensitivity to structural choices and data perturbations without refitting, demonstrating scalability across 100,000+ configurations in real-world applications.

ABSTRACT

Sensitivity analyses reveal the influence of various modeling choices on the outcomes of statistical analyses. While theoretically appealing, they are overwhelmingly inefficient for complex Bayesian models. In this work, we propose sensitivity-aware amortized Bayesian inference (SA-ABI), a multifaceted approach to efficiently integrate sensitivity analyses into simulation-based inference with neural networks. First, we utilize weight sharing to encode the structural similarities between alternative likelihood and prior specifications in the training process with minimal computational overhead. Second, we leverage the rapid inference of neural networks to assess sensitivity to data perturbations and preprocessing steps. In contrast to most other Bayesian approaches, both steps circumvent the costly bottleneck of refitting the model for each choice of likelihood, prior, or data set. Finally, we propose to use deep ensembles to detect sensitivity arising from unreliable approximation (e.g., due to model misspecification). We demonstrate the effectiveness of our method in applied modeling problems, ranging from disease outbreak dynamics and global warming thresholds to human decision-making. Our results support sensitivity-aware inference as a default choice for amortized Bayesian workflows, automatically providing modelers with insights into otherwise hidden dimensions.

Motivation & Objective

  • Address the inefficiency of classical sensitivity analysis in complex Bayesian models, which requires costly refitting for each model variant.
  • Overcome the computational bottleneck of evaluating sensitivity to likelihoods, priors, and data preprocessing in amortized Bayesian inference.
  • Integrate established sensitivity analysis techniques into neural network-based inference workflows with minimal computational overhead.
  • Enable real-time assessment of model robustness to structural and data-related perturbations using a single trained model.
  • Detect model misspecification and approximation uncertainty via deep ensemble uncertainty estimates in a unified inference framework.

Proposed method

  • Encode multiple likelihood and prior specifications as context variables in a single neural network architecture using weight sharing.
  • Train a deep ensemble of neural networks where each member learns to infer posterior distributions conditioned on different model configurations.
  • Condition posterior inference on context vectors representing alternative likelihoods, priors, or data perturbations, enabling fast prediction without retraining.
  • Use the predictive variance across ensemble members to detect approximation sensitivity and potential model misspecification.
  • Leverage the speed of neural network inference to perform large-scale sensitivity analysis across thousands of model configurations with near-instantaneous evaluation.
  • Apply established sensitivity analysis methods—such as Sobol' indices and data perturbation studies—within the context-conditional inference framework.
Figure 1: Our proposed approach for sensitivity-aware amortized Bayesian inference (SA-ABI). During training, multiple likelihood , prior , and data configurations are encoded as contexts in a deep ensemble of neural approximators. During inference, our sensitivity-aware method casts model refits as
Figure 1: Our proposed approach for sensitivity-aware amortized Bayesian inference (SA-ABI). During training, multiple likelihood , prior , and data configurations are encoded as contexts in a deep ensemble of neural approximators. During inference, our sensitivity-aware method casts model refits as

Experimental results

Research questions

  • RQ1Can sensitivity analysis be efficiently integrated into amortized Bayesian inference without refitting the model for each configuration?
  • RQ2How can structural model choices (likelihood, prior) be systematically evaluated for their impact on posterior inference using neural networks?
  • RQ3To what extent can deep ensemble uncertainty detect approximation errors or model misspecification in amortized inference?
  • RQ4Can data perturbation sensitivity be assessed rapidly and at scale using a single neural network inference pass?
  • RQ5How does the proposed method scale to high-dimensional model configuration spaces in real-world scientific applications?

Key findings

  • SA-ABI enables sensitivity analysis across more than 100,000 model configurations with negligible inference-time overhead, demonstrating scalability in real-world applications.
  • The method achieves accurate sensitivity estimation with minimal loss in posterior approximation quality, even when encoding diverse likelihood and prior specifications.
  • Deep ensemble variance effectively identifies unreliable posterior approximations, serving as a proxy for model misspecification or approximation error.
  • Context-conditional inference allows for rapid assessment of data perturbation effects, enabling near-instant sensitivity checks without retraining.
  • The approach successfully detects sensitivity in complex scientific models, including disease outbreak dynamics and climate change threshold estimation.
  • By integrating sensitivity analysis as a default component, SA-ABI reveals hidden uncertainties in Bayesian workflows that would otherwise remain undetected.
(a) Bivariate posteriors.
(a) Bivariate posteriors.

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.