Abstract
Variational Autoencoders (VAEs) often struggle with the "prior hole" problem, where a simple Gaussian prior fails to capture the complexity of real-world data distributions. While Soft-Introspective VAEs (S-IntroVAE) improve sample quality through adversarial training, they typically rely on fixed priors. This paper introduces Intro-Prior (IP), an extension that treats the prior as a trainable "third player" in the S-IntroVAE framework. By enabling cooperation between the prior and the decoder, the proposed method achieves more stable training, better-structured latent spaces, and improved image generation quality across various benchmarks.
Introduction
Variational Autoencoders (VAEs) are fundamental for learning low-dimensional representations. However, a common limitation is the "prior hole" problem: the assumption that latent variables follow a simple standard Gaussian distribution often leads to regions in the latent space that do not correspond to real data, resulting in blurry or unrealistic generations. Recent advancements like S-IntroVAE leverage adversarial training to enhance quality but still utilize overly simplistic fixed priors. This work explores learning a flexible, multimodal prior while maintaining the adversarial benefits of the introspective framework.
Methodology
The core contribution is the Intro-Prior (IP) architecture, which transforms the standard two-player adversarial game of S-IntroVAE into a three-player game involving an encoder, a decoder, and a trainable prior.
Key technical innovations include:
- Prior-Decoder Cooperation: The prior is no longer a static target. Instead, it actively cooperates with the decoder to maximize the likelihood of generated data, leading to a more representative latent structure.
- Adaptive Variance Soft-Clipping: To mitigate training instability and "exploding" variances common in prior learning, the authors implement a mechanism that clips the prior's log-variance based on values observed during an initial warm-up phase.
- Responsibility Regularization: When employing a Mixture of Gaussians (MoG) prior, an entropy-based penalty is added to prevent mode collapse, ensuring all components of the mixture are utilized effectively.
Experiments and Results
The model was evaluated on 2D synthetic benchmarks (e.g., 8Gaussian, 2Spirals) and standard image datasets (MNIST, Fashion-MNIST, CIFAR-10).
Theoretical analysis confirms that the three-player setup preserves the Nash Equilibrium of the original S-IntroVAE. Empirically, the learned multimodal prior allows for superior latent separation.
- Image Generation: On MNIST, the Intro-Prior achieved an FID of 1.309, improving from the baseline's 1.414.
- Representation Learning: The learned latent spaces proved highly effective for downstream tasks. Using a k-NN classifier on latent embeddings, Intro-Prior reached 95.7% accuracy on MNIST and 70.7% on Fashion-MNIST, significantly outperforming fixed-prior versions.
- 2D Density Estimation: In qualitative tests, the model accurately captured intricate shapes like spirals and rings, which standard VAEs often fail to model correctly.
Conclusion
Intro-Prior successfully integrates learned priors into the introspective VAE framework. While the improvements on complex natural datasets like CIFAR-10 are more subtle—potentially due to the dataset's latent distribution being closer to unimodal—the method demonstrates significant gains in representation learning and generation quality. Future work may explore more expressive distributions, such as normalizing flows, for high-resolution tasks where the "prior hole" problem is most acute.
Summary updated