[Paper Review] Detecting and diagnosing prior and likelihood sensitivity with power-scaling
This paper introduces a computationally efficient sensitivity analysis method for Bayesian models using power-scaling of priors and likelihoods, enabling rapid detection of prior-data conflict and likelihood noninformativity via importance sampling with PSIS. The approach integrates seamlessly into existing MCMC workflows and is implemented in the R package priorsense, offering automated diagnostics with minimal code changes.
Determining the sensitivity of the posterior to perturbations of the prior and likelihood is an important part of the Bayesian workflow. We introduce a practical and computationally efficient sensitivity analysis approach using importance sampling to estimate properties of posteriors resulting from power-scaling the prior or likelihood. On this basis, we suggest a diagnostic that can indicate the presence of prior-data conflict or likelihood noninformativity and discuss limitations to this power-scaling approach. The approach can be easily included in Bayesian workflows with minimal effort by the model builder and we present an implementation in our new R package priorsense. We further demonstrate the workflow on case studies of real data using models varying in complexity from simple linear models to Gaussian process models.
Motivation & Objective
- To develop a computationally efficient sensitivity analysis method for Bayesian models that requires minimal changes to existing workflows.
- To detect prior-data conflict and likelihood noninformativity through power-scaling of priors and likelihoods.
- To provide automated diagnostics using PSIS-based importance sampling that self-reports reliability.
- To enable widespread adoption by integrating into probabilistic programming tools like Stan, PyMC, and higher-level interfaces such as brms and rstanarm.
- To support model builders in identifying accidentally misspecified priors without requiring repeated model refitting.
Proposed method
- Power-scale the prior or likelihood by an exponent α > 0 to generate perturbed posteriors.
- Use Pareto smoothed importance sampling (PSIS) to estimate posterior properties from existing MCMC draws without refitting.
- Compute the derivative of the cumulative Jensen-Shannon divergence between base and perturbed posteriors with respect to α as a sensitivity diagnostic.
- Apply the diagnostic to detect prior sensitivity (e.g., prior-data conflict) and likelihood sensitivity (e.g., noninformativity).
- Implement the method in the R package priorsense for integration into Stan, PyMC, brms, rstanarm, and bambi workflows.
- Use Monte Carlo standard errors to assess uncertainty in sensitivity estimates.
Experimental results
Research questions
- RQ1How can prior and likelihood sensitivity be detected efficiently in MCMC-based Bayesian workflows?
- RQ2Can power-scaling combined with PSIS provide a reliable and automated diagnostic for prior-data conflict and likelihood noninformativity?
- RQ3To what extent does the proposed method reduce computational cost compared to full model re-fitting?
- RQ4How well does the method detect unexpected sensitivity patterns in real-world models, including complex Gaussian process models?
- RQ5Can the diagnostic reliably flag priors that are accidentally misspecified or overly influential?
Key findings
- The method detects prior-data conflict and likelihood noninformativity through changes in posterior distributions induced by power-scaling, with sensitivity thresholds set at 0.05 for practical interpretation.
- In the COVID-19 case study, prior sensitivity in posterior predictions exceeded 0.05 in Germany, Italy, and the UK, particularly for the κ prior, indicating potential model instability.
- The approach achieved high computational efficiency, estimating sensitivity diagnostics in seconds using existing MCMC draws, avoiding costly model re-fitting.
- PSIS-based importance sampling provided reliable estimates with self-diagnostic warnings when estimates were untrustworthy, enhancing robustness.
- The method successfully identified that the prior on τ in the Gaussian process model was highly sensitive, suggesting the need for more careful specification.
- The workflow integrates smoothly into existing Bayesian modeling pipelines, with minimal code changes, and is available in the priorsense R package for immediate use.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.