BayesFlow can reliably detect Model Misspecification and Posterior Errors in Amortized Bayesian Inference

12/16/2021
by   Marvin Schmitt, et al.
0

Neural density estimators have proven remarkably powerful in performing efficient simulation-based Bayesian inference in various research domains. In particular, the BayesFlow framework uses a two-step approach to enable amortized parameter estimation in settings where the likelihood function is implicitly defined by a simulation program. But how faithful is such inference when simulations are poor representations of reality? In this paper, we conceptualize the types of model misspecification arising in simulation-based inference and systematically investigate the performance of the BayesFlow framework under these misspecifications. We propose an augmented optimization objective which imposes a probabilistic structure on the latent data space and utilize maximum mean discrepancy (MMD) to detect potentially catastrophic misspecifications during inference undermining the validity of the obtained results. We verify our detection criterion on a number of artificial and realistic misspecifications, ranging from toy conjugate models to complex models of decision making and disease outbreak dynamics applied to real data. Further, we show that posterior inference errors increase as a function of the distance between the true data-generating distribution and the typical set of simulations in the latent summary space. Thus, we demonstrate the dual utility of MMD as a method for detecting model misspecification and as a proxy for verifying the faithfulness of amortized Bayesian inference.

READ FULL TEXT

page 9

page 11

page 21

research
02/01/2022

Black-box Bayesian inference for economic agent-based models

Simulation models, in particular agent-based models, are gaining popular...
research
05/24/2023

Generalized Bayesian Inference for Scientific Simulators via Amortized Cost Estimation

Simulation-based inference (SBI) enables amortized Bayesian inference fo...
research
02/09/2022

Robust Bayesian Inference for Simulator-based Models via the MMD Posterior Bootstrap

Simulator-based models are models for which the likelihood is intractabl...
research
09/22/2022

Simulation-based inference of Bayesian hierarchical models while checking for model misspecification

This paper presents recent methodological advances to perform simulation...
research
01/27/2023

Optimally-Weighted Estimators of the Maximum Mean Discrepancy for Likelihood-Free Inference

Likelihood-free inference methods typically make use of a distance betwe...
research
09/29/2021

Simulation-based Bayesian inference for multi-fingered robotic grasping

Multi-fingered robotic grasping is an undeniable stepping stone to unive...
research
09/19/2022

Physics-Informed Machine Learning of Dynamical Systems for Efficient Bayesian Inference

Although the no-u-turn sampler (NUTS) is a widely adopted method for per...

Please sign up or login with your details

Forgot password? Click here to reset