Posterior-Aided Regularization for Likelihood-Free Inference

Dongjun Kim, Kyungwoo Song, Seungjae Shin, Wanmo Kang, Il-Chul MoonarXiv 2021

Introduction

Likelihood-free inference (LFI), also known as simulation-based inference, is a critical tool for calibrating complex scientific simulators where the underlying likelihood function is intractable. While Sequential Neural Likelihood (SNL) has emerged as a popular approach, it often struggles with high-dimensional outputs and multi-modal posteriors. This paper introduces Neural Posterior Regularization (NPR), a technique that combines reverse KL divergence and mutual information to guide neural networks toward more accurate and diverse mode discovery.

The Challenge: Overfitting and Mode Smearing

Standard SNL typically employs forward KL divergence, which is inherently "mode-covering." In scenarios with multi-modal posteriors—where multiple parameter sets can explain the same observation—SNL tends to "smear" its probability mass across the space between modes. This leads to poor sample efficiency and inaccurate parameter estimation.

Comparison of posterior approximations: (a) True posterior, (b) SNL showing mode smearing, and (c) SNL+NPR accurately capturing modes.

As shown in the figure above, vanilla SNL fails to isolate the distinct modes of the true distribution, whereas the addition of NPR allows the model to pinpoint them accurately. This prevents the feedback loop of poor inference that often plagues standard sequential methods.

Methodology: Neural Posterior Regularization (NPR)

To address these limitations, the authors propose a constrained optimization framework. The NPR objective incorporates two key components:

  1. Reverse KL Divergence: Unlike forward KL, reverse KL is "mode-seeking," forcing the model to focus tightly on valid peaks in the parameter space.
  2. Mutual Information: This term ensures the model captures a rich representation of the data and prevents collapse into a single mode, which is vital for high-dimensional tasks.

Since these terms are intractable to compute directly, NPR uses a secondary "neural posterior" network as a proxy. To handle the difficulty of tuning the regularization weight ($\lambda$), the authors implement an exponential decay schedule, ensuring the model eventually converges to the true likelihood as the simulation budget progresses.

Performance and Scalability

The effectiveness of NPR was evaluated across various benchmarks, including toy models (SLCP), ecological models (Ricker), and high-dimensional image restoration tasks. The method consistently outperformed baselines like SMC-ABC and APT in terms of Negative Log-Likelihood of True Parameters (NLTP) and Maximum Mean Discrepancy (MMD).

Quantitative analysis of SNL vs. SNL+NPR across different failure modes: (a) Overfitting, (b) Poor Inference in multi-modal settings, and (c) Non-scalability in high dimensions.

The results demonstrate that SNL+NPR significantly reduces the generalization gap and improves inference quality. Specifically, in high-dimensional settings (up to 100 dimensions), NPR maintains low MMD where standard SNL performance degrades significantly. This robustness makes it particularly suitable for complex inverse problems like image restoration.

Conclusion

By unifying Sequential Neural Likelihood with posterior-based regularization, NPR provides a robust framework for complex LFI tasks. It successfully mitigates the "mode-smearing" problem and scales to high-dimensional observations, making it a powerful addition to the toolkit for simulation calibration. While it introduces some computational overhead due to the auxiliary network, the gains in sample efficiency and accuracy are substantial for expensive black-box simulations.

Summary updated

BibTeX
@misc{kim2021posterior,
  author = {Dongjun Kim and Kyungwoo Song and Seungjae Shin and Wanmo Kang and Il-Chul Moon},
  title = {{Posterior-Aided Regularization for Likelihood-Free Inference}},
  year = {2021},
  eprint = {2102.07770},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.07770},
}
Figure