Skip to main content
QUICK REVIEW

[Paper Review] Robust Neural Posterior Estimation and Statistical Model Criticism

Daniel L. Ward, Patrick Cannon|arXiv (Cornell University)|Oct 12, 2022
Neural Networks and ApplicationsComputer Science9 citations
TL;DR

This paper proposes Robust Neural Posterior Estimation (RNPE), a method that enhances neural posterior estimation (NPE) by explicitly modeling discrepancies between simulator outputs and real data to enable both robust inference and interpretable model criticism under misspecification. RNPE outperforms standard NPE in maintaining accurate, conservative posteriors when simulators are misspecified, as demonstrated across synthetic and real-world examples with controlled model errors.

ABSTRACT

Computer simulations have proven a valuable tool for understanding complex phenomena across the sciences. However, the utility of simulators for modelling and forecasting purposes is often restricted by low data quality, as well as practical limits to model fidelity. In order to circumvent these difficulties, we argue that modellers must treat simulators as idealistic representations of the true data generating process, and consequently should thoughtfully consider the risk of model misspecification. In this work we revisit neural posterior estimation (NPE), a class of algorithms that enable black-box parameter inference in simulation models, and consider the implication of a simulation-to-reality gap. While recent works have demonstrated reliable performance of these methods, the analyses have been performed using synthetic data generated by the simulator model itself, and have therefore only addressed the well-specified case. In this paper, we find that the presence of misspecification, in contrast, leads to unreliable inference when NPE is used naively. As a remedy we argue that principled scientific inquiry with simulators should incorporate a model criticism component, to facilitate interpretable identification of misspecification and a robust inference component, to fit 'wrong but useful' models. We propose robust neural posterior estimation (RNPE), an extension of NPE to simultaneously achieve both these aims, through explicitly modelling the discrepancies between simulations and the observed data. We assess the approach on a range of artificially misspecified examples, and find RNPE performs well across the tasks, whereas naively using NPE leads to misleading and erratic posteriors.

Motivation & Objective

  • To address the critical limitation of standard neural posterior estimation (NPE) in producing unreliable inferences when simulators are misspecified.
  • To develop a unified framework that simultaneously enables robust parameter inference and interpretable model criticism for simulator-based models.
  • To provide diagnostic tools for identifying which summary statistics are most likely misspecified, using explicit misspecification probability estimates.
  • To decouple model criticism from inference, avoiding confounding of poor inference with actual model misspecification.
  • To demonstrate the practical utility of RNPE in realistic scenarios where simulators fail to fully capture true data-generating processes.

Proposed method

  • RNPE extends NPE by introducing a spike-and-slab error model to explicitly represent the probability that each summary statistic is misspecified.
  • It models the observed data as a perturbed version of simulator outputs, using a denoising mechanism to estimate the underlying 'true' data distribution.
  • The method jointly learns the posterior over parameters and the misspecification status of each summary statistic via a hierarchical Bayesian model.
  • It uses MCMC to sample from the joint posterior of parameters and misspecification indicators, enabling robust inference even when the simulator is wrong.
  • The framework allows for diagnostic interpretation: summary statistics with high misspecification probability are flagged as sources of model discrepancy.
  • It leverages normalising flows for density estimation, enabling flexible and scalable posterior approximation in high-dimensional settings.

Experimental results

Research questions

  • RQ1How does standard neural posterior estimation (NPE) perform under model misspecification, particularly when observed data lie far from the simulator's support?
  • RQ2Can a unified framework be developed to simultaneously perform robust parameter inference and model criticism in simulation-based inference?
  • RQ3To what extent can explicit misspecification probability diagnostics help identify which summary statistics are most responsible for model-data discrepancies?
  • RQ4How does the performance of RNPE compare to standard NPE in terms of posterior accuracy and coverage when simulators are artificially misspecified?
  • RQ5Can the proposed method detect and diagnose model misspecification in real-world simulation tasks, such as those involving biological or epidemiological models?

Key findings

  • In the Gaussian example, standard NPE produced overconfident and erratic posteriors when the observed data were outside the simulator's support, while RNPE maintained accurate and conservative posterior estimates.
  • For the SIR model with reporting delays, NPE inferred a posterior concentrated on incorrect parameter values, whereas RNPE correctly identified the misspecification and produced a more accurate posterior.
  • In the CS (cancer simulation) model with necrotic tumor regions, RNPE correctly flagged the N Cancer summary statistic as misspecified, aligning with domain knowledge about tissue necrosis.
  • RNPE demonstrated consistent performance across all tasks, placing more posterior mass on the true parameters and showing better coverage properties than NPE under misspecification.
  • The method successfully identified trade-offs in misspecification, such as when only one of two summary statistics could be well-specified, revealing indeterminacy in model fit.
  • The spike-and-slab error model provided interpretable diagnostics, with misspecification probabilities clearly indicating which statistics were most inconsistent with observed data.

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.