[Paper Review] Likelihood-free MCMC with Amortized Approximate Ratio Estimators
This paper proposes a likelihood-free MCMC method that uses an amortized neural network to approximate the likelihood-to-evidence ratio, enabling efficient posterior sampling when the likelihood is intractable. By training a ratio estimator once and reusing it across MCMC iterations, the approach achieves accurate posterior inference with improved numerical stability and diagnostic tools for approximation quality.
Posterior inference with an intractable likelihood is becoming an increasingly common task in scientific domains which rely on sophisticated computer simulations. Typically, these forward models do not admit tractable densities forcing practitioners to make use of approximations. This work introduces a novel approach to address the intractability of the likelihood and the marginal model. We achieve this by learning a flexible amortized estimator which approximates the likelihood-to-evidence ratio. We demonstrate that the learned ratio estimator can be embedded in MCMC samplers to approximate likelihood-ratios between consecutive states in the Markov chain, allowing us to draw samples from the intractable posterior. Techniques are presented to improve the numerical stability and to measure the quality of an approximation. The accuracy of our approach is demonstrated on a variety of benchmarks against well-established techniques. Scientific applications in physics show its applicability.
Motivation & Objective
- Address the challenge of posterior inference in scientific models with intractable likelihoods and intractable marginal models.
- Develop a method to approximate the likelihood-to-evidence ratio without requiring explicit likelihood evaluations.
- Enable efficient MCMC sampling by amortizing the ratio estimation across multiple parameter proposals.
- Improve numerical stability and provide diagnostics for assessing approximation quality in likelihood-free settings.
- Demonstrate applicability to real-world scientific problems in physics and complex simulations.
Proposed method
- Train a neural network to estimate the likelihood-to-evidence ratio $ r(\mathbf{x}|\bm{\theta}) = \frac{p(\mathbf{x}|\bm{\theta})}{p(\mathbf{x})} $ using simulated data from the forward model.
- Use the learned ratio estimator to compute acceptance ratios in Metropolis-Hastings and Hamiltonian Monte Carlo samplers, bypassing direct likelihood evaluation.
- Amortize the ratio estimation by training the network once on a dataset of $ (\bm{\theta}, \mathbf{x}) $ pairs, enabling reuse across MCMC transitions.
- Introduce a diagnostic metric based on the ratio estimator's variance across multiple forward simulations to assess approximation quality.
- Apply normalization and stabilization techniques to the ratio estimator to improve numerical robustness during MCMC sampling.
- Use both fully connected and convolutional architectures (e.g., LeNet, ResNet) to evaluate generalization and capacity of the ratio estimator.
Experimental results
Research questions
- RQ1Can a neural network be trained to approximate the likelihood-to-evidence ratio in a way that supports efficient MCMC sampling with intractable likelihoods?
- RQ2How does amortized ratio estimation compare to standard likelihood-free inference methods in terms of sampling accuracy and efficiency?
- RQ3Can the learned ratio estimator be used reliably across multiple MCMC iterations without retraining?
- RQ4What diagnostic tools can effectively assess the quality of the ratio approximation in intractable settings?
- RQ5Does the method scale to complex scientific models such as those in physics with high-dimensional observations?
Key findings
- The proposed method achieves posterior sampling accuracy comparable to established likelihood-free inference techniques on benchmark problems, including the circle model and the g-and-k distribution.
- The amortized ratio estimator enables stable and efficient MCMC sampling by reusing a single trained network across all transitions, reducing computational overhead.
- Diagnostic metrics based on the variance of the ratio estimator across multiple simulations effectively identify regions of poor approximation, particularly for parameters like $ r $ in the circle model.
- The method demonstrates strong performance on a physics-based simulation model, showing applicability to real scientific inference tasks.
- Models with higher capacity (e.g., ResNet-18) outperform simpler architectures (e.g., fully connected) in estimating the ratio, especially for complex posteriors.
- Using ReLU activations in the ratio estimator leads to more stable and accurate marginal posterior estimates compared to other activation choices.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.