An efficient likelihood-free Bayesian inference method based on sequential neural posterior estimation
Yifei Xiong, Xiliang Yang, Sanguo Zhang, Zhijian He
TL;DR
This paper tackles likelihood-free Bayesian inference for simulator-based models by refining sequential neural posterior estimation (SNPE-B) with adaptive calibration kernels and variance-reduction techniques. It introduces defensive sampling, multiple importance sampling with sample recycling, and an ESS-driven adaptive calibration kernel to stabilize training and improve posterior accuracy, along with a parameter-space transformation to prevent mass leakage. The proposed All-SNPE-B approach, which combines these strategies, achieves faster training and superior posterior approximations across benchmarks and a high-dimensional real-world dataset compared with SNPE-A, SNL, APT, and SMC-ABC under budget constraints. The work demonstrates the practical impact of targeted variance control and kernel adaptation for scalable, high-quality inference in likelihood-free settings, with broad applicability to other posteriors and inference frameworks.
Abstract
Sequential neural posterior estimation (SNPE) techniques have been recently proposed for dealing with simulation-based models with intractable likelihoods. Unlike approximate Bayesian computation, SNPE techniques learn the posterior from sequential simulation using neural network-based conditional density estimators by minimizing a specific loss function. The SNPE method proposed by Lueckmann et al. (2017) used a calibration kernel to boost the sample weights around the observed data, resulting in a concentrated loss function. However, the use of calibration kernels may increase the variances of both the empirical loss and its gradient, making the training inefficient. To improve the stability of SNPE, this paper proposes to use an adaptive calibration kernel and several variance reduction techniques. The proposed method greatly speeds up the process of training and provides a better approximation of the posterior than the original SNPE method and some existing competitors as confirmed by numerical experiments. We also managed to demonstrate the superiority of the proposed method for a high-dimensional model with a real-world dataset.
