[Paper Review] Variational Inference: A Unified Framework of Generative Models and Some Revelations
This paper proposes a unified variational inference framework that reinterprets VAEs, GANs, and related models as special cases of a single inference principle. By reformulating variational inference using joint KL divergence, the authors derive EM, VAE, GAN, AAE, and BiGAN in a consistent way, revealing that standard GANs lack a critical regularization term—leading to unstable training—whose addition improves convergence and stability.
We reinterpreting the variational inference in a new perspective. Via this way, we can easily prove that EM algorithm, VAE, GAN, AAE, ALI(BiGAN) are all special cases of variational inference. The proof also reveals the loss of standard GAN is incomplete and it explains why we need to train GAN cautiously. From that, we find out a regularization term to improve stability of GAN training.
Motivation & Objective
- To unify diverse deep generative models—VAE, GAN, AAE, BiGAN—under a single variational inference framework.
- To resolve the lack of theoretical grounding in many GAN variants by embedding them in a principled probabilistic framework.
- To identify and correct a missing regularization term in standard GAN training, which is shown to be essential for stability.
- To provide a clearer, more systematic derivation of existing models (e.g., VAE, EM) via a novel variational inference formulation.
- To demonstrate that adversarial training need not be framed as a min-max game, but can be derived from variational inference with proper loss decomposition.
Proposed method
- Reformulate variational inference by minimizing the joint KL divergence $KL(p(x,z)\|q(x,z))$ instead of the marginal $KL(\tilde{p}(x)\|q(x))$, enabling tractable optimization.
- Derive VAE and EM as special cases by assuming Gaussian priors and posteriors, and applying the reparameterization trick to backpropagate through stochasticity.
- Reinterpret GAN as a variational inference problem by modeling the generator as a Dirac delta function $q(x|z) = \delta(x - G(z))$, treating $z$ as a deterministic latent code.
- Introduce a binary latent variable $y$ to model real/fake samples, enabling the derivation of GAN's discriminator as a posterior probability $p(y|x,z)$.
- Derive the optimal discriminator $D(x,z) = \frac{p^o(z|x)\tilde{p}(x)}{p^o(z|x)\tilde{p}(x) + q^o(x|z)q(z)}$, which leads to a new GAN loss with an implicit regularization term.
- Propose a joint training objective for GANs that combines adversarial loss with a reconstruction loss $\|x - G(E(x))\|^2$, improving stability without interfering with adversarial training.
Experimental results
Research questions
- RQ1Can VAE, GAN, AAE, and BiGAN be unified under a single variational inference framework?
- RQ2Why do standard GANs require careful hyperparameter tuning and often fail to converge?
- RQ3What is the missing regularization term in the standard GAN objective that leads to instability?
- RQ4How can adversarial training be derived from variational inference rather than as a min-max game?
- RQ5Can the proposed unified framework improve training stability and generalization in GANs?
Key findings
- The standard GAN loss is incomplete and lacks a critical regularization term derived from the variational inference framework, which explains its instability.
- The missing regularization term is $KL(p(z|x)\|p^o(z|x))$, which appears naturally in the variational inference derivation and stabilizes GAN training.
- The proposed joint loss $\mathbb{E}_{x\sim\tilde{p}(x)}[-\log D(E(x))] + \lambda\|x - G(E(x))\|^2$ improves training stability and generalization without compromising adversarial performance.
- Theoretical analysis shows that the standard min-max formulation of GANs is not the only valid approach—adversarial training can be derived directly from variational inference with proper loss decomposition.
- The unified framework successfully derives EM, VAE, GAN, AAE, and BiGAN from a single variational inference principle, demonstrating their shared probabilistic foundation.
- Experiments confirm that the proposed regularization term improves training stability and that the new loss formulation performs comparably to standard GAN and BiGAN objectives.
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.