# Generative Bayesian Inference with GANs

arXiv: https://arxiv.org/abs/2208.12113 · HTML: https://mlsanity.com/paper/2208.12113/

## Key facts

- Cited by 6 papers in the map (data through 14 Oct 2026).
- Builds on 27 of its 65 references that are in the map.
- First posted on arXiv 25 Aug 2022.

## Builds on (most cited first, 27 of 27)

- [Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distances](https://mlsanity.com/paper/1306.0895/) (2013)
- [Improved Training of Wasserstein GANs](https://mlsanity.com/paper/1704.00028/) (2017)
- [Conditional Generative Adversarial Nets](https://mlsanity.com/paper/1411.1784/) (2014)
- [Normalizing Flows for Probabilistic Modeling and Inference](https://mlsanity.com/paper/1912.02762/) (2019)
- [Spectrally-normalized margin bounds for neural networks](https://mlsanity.com/paper/1706.08498/) (2017)
- [Towards Principled Methods for Training Generative Adversarial Networks](https://mlsanity.com/paper/1701.04862/) (2017)
- [Nonparametric regression using deep neural networks with ReLU activation function](https://mlsanity.com/paper/1708.06633/) (2017)
- [Sequential Neural Likelihood: Fast Likelihood-free Inference with Autoregressive Flows](https://mlsanity.com/paper/1805.07226/) (2018)
- [Flexible statistical inference for mechanistic models of neural dynamics](https://mlsanity.com/paper/1711.01861/) (2017)
- [Adversarial Variational Bayes: Unifying Variational Autoencoders and Generative Adversarial Networks](https://mlsanity.com/paper/1701.04722/) (2017)
- [On Contrastive Learning for Likelihood-free Inference](https://mlsanity.com/paper/2002.03712/) (2020)
- [Approximating Likelihood Ratios with Calibrated Discriminative Classifiers](https://mlsanity.com/paper/1506.02169/) (2015)
- [How Well Generative Adversarial Networks Learn Distributions](https://mlsanity.com/paper/1811.03179/) (2018)
- [Bayesian Optimization for Likelihood-Free Inference of Simulator-Based Statistical Models](https://mlsanity.com/paper/1501.03291/) (2015)
- [Likelihood-free inference with emulator networks](https://mlsanity.com/paper/1805.09294/) (2018)
- [Conditional Sampling with Monotone GANs: from Generative Models to Likelihood-Free Inference](https://mlsanity.com/paper/2006.06755/) (2020)
- [Variational Inference using Implicit Distributions](https://mlsanity.com/paper/1702.08235/) (2017)
- [GATSBI: Generative Adversarial Training for Simulation-Based Inference](https://mlsanity.com/paper/2203.06481/) (2022)
- [Approximate Bayesian computation with the Wasserstein distance](https://mlsanity.com/paper/1905.03747/) (2019)
- [Unbiased Implicit Variational Inference](https://mlsanity.com/paper/1808.02078/) (2018)
- [Bayesian GAN](https://mlsanity.com/paper/1705.09558/) (2017)
- [Using Wasserstein Generative Adversarial Networks for the Design of Monte Carlo Simulations](https://mlsanity.com/paper/1909.02210/) (2019)
- [Efficient acquisition rules for model-based approximate Bayesian computation](https://mlsanity.com/paper/1704.00520/) (2017)
- [Robust Bayesian Synthetic Likelihood via a Semi-Parametric Approach](https://mlsanity.com/paper/1809.05800/) (2018)
- [Batch simulations and uncertainty quantification in Gaussian process surrogate approximate Bayesian computation](https://mlsanity.com/paper/1910.06121/) (2019)
- [An Extended Empirical Saddlepoint Approximation for Intractable Likelihoods](https://mlsanity.com/paper/1601.01849/) (2016)
- [Approximate Bayesian Computation via Classification](https://mlsanity.com/paper/2111.11507/) (2021)

## Built on by (most cited first, 6 of 6)

- [A Comprehensive Guide to Simulation-based Inference in Computational Biology](https://mlsanity.com/paper/2409.19675/) (2024)
- [Conditional Flow Matching for Bayesian Posterior Inference](https://mlsanity.com/paper/2510.09534/) (2025)
- [Generative Bayesian Computation for Maximum Expected Utility](https://mlsanity.com/paper/2408.16101/) (2024)
- [Deep Generative Quantile Bayes](https://mlsanity.com/paper/2410.08378/) (2024)
- [Tree Bandits for Generative Bayes](https://mlsanity.com/paper/2404.10436/) (2024)
- [Two-way Guidance: Simultaneous Learning of Summary Statistics for Generative Bayes](https://mlsanity.com/paper/2610.12850/) (2026)

## Abstract (arXiv)

In the absence of explicit or tractable likelihoods, Bayesians often resort to approximate Bayesian computation (ABC) for inference. Our work bridges ABC with deep neural implicit samplers based on generative adversarial networks (GANs) and adversarial variational Bayes. Both ABC and GANs compare aspects of observed and fake data to simulate from posteriors and likelihoods, respectively. We develop a Bayesian GAN (B-GAN) sampler that directly targets the posterior by solving an adversarial optimization problem. B-GAN is driven by a deterministic mapping learned on the ABC reference by conditional GANs. Once the mapping has been trained, iid posterior samples are obtained by filtering noise at a negligible additional cost. We propose two post-processing local refinements using (1) data-driven proposals with importance reweighting, and (2) variational Bayes. We support our findings with frequentist-Bayesian results, showing that the typical total variation distance between the true and approximate posteriors converges to zero for certain neural network generators and discriminators. Our findings on simulated data show highly competitive performance relative to some of the most recent likelihood-free posterior simulators.
