[Paper Review] Automatic Variational ABC
This paper introduces Automatic Variational ABC (AVABC), a likelihood-free Bayesian inference method that combines stochastic variational inference with automatic differentiation and variance reduction techniques to enable efficient, end-to-end optimization of variational posteriors for simulation models. By reparameterizing both the simulator and variational distributions, AVABC achieves significantly lower gradient variance and faster convergence than existing SVI methods like BBVI and VBIL, demonstrating superior performance on toy and real-world problems including the blowfly data set.
Approximate Bayesian Computation (ABC) is a framework for performing likelihood-free posterior inference for simulation models. Stochastic Variational inference (SVI) is an appealing alternative to the inefficient sampling approaches commonly used in ABC. However, SVI is highly sensitive to the variance of the gradient estimators, and this problem is exacerbated by approximating the likelihood. We draw upon recent advances in variance reduction for SV and likelihood-free inference using deterministic simulations to produce low variance gradient estimators of the variational lower-bound. By then exploiting automatic differentiation libraries we can avoid nearly all model-specific derivations. We demonstrate performance on three problems and compare to existing SVI algorithms. Our results demonstrate the correctness and efficiency of our algorithm.
Motivation & Objective
- To address the inefficiency of traditional sampling-based Approximate Bayesian Computation (ABC) methods, which require many simulator calls and suffer from slow mixing.
- To overcome the high variance in gradient estimators that hinders stochastic variational inference (SVI) in likelihood-free settings.
- To enable end-to-end, automatic optimization of variational posteriors for simulation models by leveraging automatic differentiation and reparameterization.
- To reduce the need for manual derivation of gradients and model-specific implementations in variational inference for complex simulators.
- To demonstrate that AVABC achieves faster convergence and lower variance than existing SVI baselines like BBVI and VBIL on both synthetic and real-world problems.
Proposed method
- AVABC formulates a variational lower bound for likelihood-free inference using a simulator that generates synthetic data from parameters and a likelihood approximation via an ABC kernel.
- It reparameterizes the simulator and variational posterior as deterministic functions of parameters and noise variables, enabling backpropagation through the simulator.
- The method applies reparameterization gradients and control variates to reduce variance in the gradient estimator of the variational lower bound.
- It leverages automatic differentiation libraries to eliminate manual derivation of gradients, enabling full end-to-end optimization of the lower bound.
- Adaptive optimization algorithms like Adam or Adagrad are used to adjust learning rates based on gradient variance, improving training stability.
- The approach supports summary statistics and uses Monte Carlo approximations of the ABC likelihood, with variance reduction applied to both the likelihood and posterior gradient estimators.
Experimental results
Research questions
- RQ1Can stochastic variational inference be made efficient and stable for simulation-based models with intractable likelihoods?
- RQ2Can variance in gradient estimators for likelihood-free variational inference be significantly reduced using reparameterization and control variates?
- RQ3Can automatic differentiation eliminate the need for manual gradient derivation in complex simulation models?
- RQ4How does AVABC compare in convergence speed and stability to existing SVI methods like BBVI and VBIL on likelihood-free inference tasks?
- RQ5To what extent can AVABC scale to real-world simulation models with high-dimensional or complex simulator outputs?
Key findings
- AVABC achieves significantly lower gradient variance than BBVI and VBIL, as evidenced by flatter and more stable lower bound curves during optimization.
- In the blowfly experiment, AVABC required only about 175 iterations to stabilize, compared to nearly 2,750 iterations for BBVI, which failed to reach a stable solution.
- The posterior estimates from AVABC closely matched rejection sampling results with ε = 0.25, confirming accuracy despite the use of a likelihood approximation.
- AVABC demonstrated faster convergence and lower variance in lower bound optimization, particularly in high-dimensional parameter spaces.
- The method successfully handled the full simulator code within an autodifferentiation framework, enabling end-to-end training without manual gradient derivation.
- Despite limitations in handling non-differentiable or rejection-based distributions, AVABC provides a scalable and efficient alternative to sampling-based ABC and existing SVI methods.
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.