[Paper Review] Metropolis-Hastings view on variational inference and adversarial training
This paper unifies variational inference and generative adversarial networks (GANs) under the Metropolis-Hastings (MH) framework by treating the generator as a proposal distribution and the discriminator as an acceptance test. It proposes maximizing the MH acceptance rate via symmetrized KL divergence minimization, improving posterior sampling and GAN performance on ImageNet with FID and Inception Score gains.
A significant part of MCMC methods can be considered as the Metropolis-Hastings (MH) algorithm with different proposal distributions. From this point of view, the problem of constructing a sampler can be reduced to the question - how to choose a proposal for the MH algorithm? To address this question, we propose to learn an independent sampler that maximizes the acceptance rate of the MH algorithm, which, as we demonstrate, is highly related to the conventional variational inference. For Bayesian inference, the proposed method compares favorably against alternatives to sample from the posterior distribution. Under the same approach, we step beyond the scope of classical MCMC methods and deduce the Generative Adversarial Networks (GANs) framework from scratch, treating the generator as the proposal and the discriminator as the acceptance test. On real-world datasets, we improve Frechet Inception Distance and Inception Score, using different GANs as a proposal distribution for the MH algorithm. In particular, we demonstrate improvements of recently proposed BigGAN model on ImageNet.
Motivation & Objective
- To improve MCMC sampling efficiency by learning proposal distributions that maximize the Metropolis-Hastings acceptance rate.
- To unify variational inference and GANs under a common MH framework, revealing their shared underlying principles.
- To demonstrate that minimizing symmetrized KL divergence between proposal and target yields better MH performance than reverse KL minimization.
- To enhance GAN training by using the MH algorithm with a learned discriminator as an acceptance test, improving sample quality.
- To validate the method on Bayesian logistic regression and large-scale image generation, showing gains in FID and Inception Score.
Proposed method
- Proposes to learn an independent proposal distribution by directly maximizing the MH acceptance rate using neural networks.
- Derives a lower bound on the acceptance rate using symmetrized KL divergence between proposal and target distribution.
- Replaces the standard variational inference objective (reverse KL) with symmetrized KL to avoid mode collapse and improve coverage.
- Reconstructs the GAN framework from scratch by interpreting the generator as a proposal and the discriminator as a density ratio estimator for the MH acceptance test.
- Employs a two-stream discriminator architecture to estimate the density ratio p(x)/q(x) for MH acceptance decisions.
- Applies the MH algorithm with the learned proposal and discriminator to generate samples, enabling improved sampling from complex posteriors and data distributions.
Experimental results
Research questions
- RQ1Can maximizing the Metropolis-Hastings acceptance rate lead to more efficient MCMC sampling with independent proposals?
- RQ2How does symmetrized KL divergence minimization compare to reverse KL minimization in the context of MH proposal learning?
- RQ3Can the GAN framework be derived from the MH algorithm by interpreting the generator as a proposal and the discriminator as an acceptance test?
- RQ4Does applying the MH algorithm with a learned proposal and discriminator improve sample quality in GANs, as measured by FID and Inception Score?
- RQ5Can this MH-based approach improve posterior sampling in Bayesian models like logistic regression?
Key findings
- The proposed method achieves higher acceptance rates than standard variational inference by minimizing symmetrized KL divergence, avoiding mode-seeking behavior.
- On Bayesian logistic regression, the MH sampler with the learned proposal outperforms baseline methods in sampling efficiency and posterior coverage.
- The MH algorithm with a GAN generator as proposal and a trained discriminator as acceptance test improves FID and Inception Score on CIFAR-10 and ImageNet.
- For BigGAN on ImageNet, the proposed MH-based refinement improves FID by 1.5 points and Inception Score by 2.1 points, demonstrating scalability.
- Samples from the MH chain show improved diversity and mixing, with successful mode transitions across digits in MNIST, unlike mode-seeking baselines.
- Conditional sampling from the proposal demonstrates Markovian dependence, confirming that the proposal is not fully independent but context-aware.
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.