Sequential Likelihood-Free Inference with Neural Proposal

Dongjun Kim, Kyungwoo Song, Yoon-Yeong Kim, Yongjin Shin, Wanmo Kang, Il-Chul Moon, Weonyoung Joo · DOI

TL;DR

This paper introduces a novel "Neural Proposal" (NP) sampler for likelihood-free inference (LFI) that addresses the issue of biased data collection in sequential LFI methods. By generating i.i.d. simulation inputs, NP significantly improves posterior inference quality, especially for complex, multi-modal posteriors, while maintaining computational efficiency.

What Problem Does This Paper Address?

Many scientific and engineering disciplines rely on simulations to model real-world phenomena. However, directly evaluating the likelihood function (the probability of observing data given model parameters) is often intractable. Likelihood-free inference (LFI) methods aim to estimate the posterior distribution of model parameters without explicit likelihood evaluation. A key challenge in LFI is efficiently gathering simulation data to train neural networks that approximate the posterior. Sequential LFI methods iteratively refine the posterior by collecting new simulation data based on the current approximation. A common approach involves using Markov Chain Monte Carlo (MCMC) to draw new simulation parameters. However, when the posterior is multi-modal (has multiple peaks), MCMC can suffer from slow mixing and mode collapse, leading to biased data collection and degraded posterior inference. This paper tackles this problem by proposing a new sampling strategy that avoids these MCMC limitations.

Methods

The core contribution is the Neural Proposal (NP) sampler. Instead of relying on MCMC to draw simulation inputs, NP uses a trained neural network (specifically, a normalizing flow) to generate these inputs. This neural network is trained on samples obtained from the current approximate posterior (which itself is learned by another neural network in the LFI framework). The key advantages of NP are:

  • i.i.d. Sampling: NP generates independent and identically distributed (i.i.d.) samples, directly addressing the auto-correlation and mode degeneracy issues of MCMC.
  • Feed-forward Generation: Once trained, NP generates simulation inputs through a fast, feed-forward computation, making it computationally efficient.
  • Unrestricted Number of Chains: Unlike MCMC, the number of "chains" (or rather, the number of samples used for training NP) is not limited by the total simulation budget, allowing for more robust training.

The paper integrates NP into existing Sequential Likelihood-Free Inference (SLFI) frameworks, such as Sequential Neural Likelihood (SNL) and Amortized Approximate Likelihood Ratio (AALR), replacing their MCMC-based sampling steps.

Datasets

The paper introduces two new benchmark simulation models:

  • SLCP-16: A 5-dimensional input, 50-dimensional output simulation with 15 alternative modes for the true posterior.
  • SLCP-256: An 8-dimensional input, 40-dimensional output simulation with 255 symmetric alternative modes.

These models are designed to test inference algorithms on complex, multi-modal posteriors in high-dimensional output spaces. The authors also evaluate their method on existing benchmarks like M/G/1 and Competitive Lotka-Volterra (CLV).

Key Insights and Ideas

  • The "Degeneracy" of Data Collection is the Bottleneck: The paper argues that the primary reason for poor performance in multi-modal posteriors isn't necessarily the neural network model itself, but the biased data collection process driven by MCMC.
  • i.i.d. Samples are Crucial for Efficient Inference: By generating i.i.d. samples, NP ensures that the collected data is more representative of the true posterior, leading to faster and more accurate convergence.
  • Neural Proposal as a Direct Replacement for MCMC: NP can seamlessly replace MCMC sampling in existing SLFI pipelines, offering a significant performance boost without requiring a complete overhaul of the inference framework.
  • Theoretical Justification for NP's Advantage: The paper provides theoretical arguments and empirical evidence showing that NP's sampling error decreases with the number of training samples, and it can find all modes, unlike MCMC which can miss them.

Key Results

  • Improved Inference Quality: NP consistently outperforms MCMC-based sampling methods across various metrics (NLTP, MMD, IS, Missed Mode) on both synthetic (SLCP-16, SLCP-256) and real-world (CLV) simulations, especially for multi-modal posteriors.
  • Mitigation of Mode Collapse: Figures and tables demonstrate that NP effectively captures all modes of the posterior, whereas MCMC struggles with mode collapse, particularly in highly multi-modal scenarios.
  • Scalability with Training Data: NP's performance improves as the number of samples used for its training increases, showing a clear advantage over MCMC where increasing chains is computationally prohibitive. For instance, on SLCP-256, NP with 10,000 samples outperforms MCMC even with 1,000 chains.
  • Competitive with State-of-the-Art: While APT (Automatic Posterior Transformation) sometimes captures modes faster initially, SNL with NP ultimately achieves better inference quality.

Limitations and Future Work

  • Computational Cost of NP Training: While NP inference is fast, training the Neural Proposal itself requires a significant number of simulation samples, which can still be a bottleneck for extremely expensive simulations.
  • Choice of Divergence Metric: The theoretical analysis relies on the convexity of the divergence metric used. The paper notes that Integral Probability Metrics and KL-divergence satisfy this.
  • Future Work: The paper implicitly suggests exploring more efficient ways to train the Neural Proposal and potentially integrating it with other advanced LFI techniques. The success on complex posteriors also opens doors for applying NP to even more challenging scientific modeling problems.

Summary updated

BibTeX
@article{kim2023sequential,
  author = {Dongjun Kim and Kyungwoo Song and Yoon-Yeong Kim and Yongjin Shin and Wanmo Kang and Il-Chul Moon and Weonyoung Joo},
  title = {{Sequential Likelihood-Free Inference with Neural Proposal}},
  journal = {Pattern Recognition Letters},
  year = {2023},
  doi = {10.1016/j.patrec.2023.03.021},
}
Figure