Abstract
Variational Autoencoders (VAEs) are fundamental to generative modeling but frequently produce blurry samples. This paper argues that this limitation stems from the restrictive assumption that both the approximate posterior and the output distribution must follow Gaussian distributions. We propose the Biadversarial Variational Autoencoder (BAVAE), a framework that replaces these parametric assumptions with adversarial training. By framing the Evidence Lower Bound (ELBO) as a minimax game involving two distinct discriminators, BAVAE can theoretically capture complex, multimodal distributions that traditional VAEs cannot.
Introduction
The "blurry image" problem in standard VAEs is a well-documented phenomenon. While Gaussian distributions facilitate the reparameterization trick and provide closed-form solutions for KL divergence, they are inherently poor at representing multimodal data. When data contains distinct clusters, a single Gaussian distribution often attempts to bridge the gap between them, resulting in an "average" output that appears blurry. BAVAE addresses this by removing the Gaussian constraint in favor of a more flexible adversarial approach.
Methodology
The BAVAE framework decomposes the ELBO objective into two primary adversarial components, utilizing the principles of f-GANs to derive specific objective functions for the discriminators.
Adversarial Inference
In traditional VAEs, the latent variables are forced to fit a Gaussian distribution. BAVAE introduces a discriminator ($D_\phi$) to minimize the reverse KL divergence between the approximate posterior and the prior. This "mode-seeking" property of reverse KL allows the encoder to learn complex, non-Gaussian latent structures.
Adversarial Generation
The reconstruction term of the ELBO is reformulated as a direct KL divergence problem. A second discriminator ($D_{\theta, \phi}$) is employed to ensure the generated data distribution matches the real data distribution, effectively policing the data space.
Key Insights
- Mode-Seeking Behavior: The choice of reverse KL divergence in the inference step is crucial for handling multimodal data distributions effectively, as it encourages the model to focus on specific modes rather than averaging across them.
- Dual-Discriminator Architecture: Unlike standard GANs (one discriminator) or standard VAEs (zero discriminators), BAVAE utilizes two—one for the latent space (inference) and one for the data space (generation).
- Theoretical Unity: The paper provides a theoretical proof that the optimal value of these adversarial games corresponds exactly to the components of the ELBO, bridging the gap between VAE and GAN methodologies.
Conclusion and Future Work
BAVAE offers a mathematically rigorous path to escaping the "Gaussian trap" of traditional VAEs. However, as this work is currently a theoretical preprint, it lacks empirical validation on standard benchmarks like MNIST or CIFAR-10. Furthermore, the introduction of two discriminators likely increases training instability and computational overhead. Future research will focus on stabilizing the optimization process and demonstrating practical improvements in image sharpness across diverse datasets.
Summary updated