Skip to main content
QUICK REVIEW

[Paper Review] A Probe Towards Understanding GAN and VAE Models

Mi Lu, Macheng Shen|arXiv (Cornell University)|Dec 13, 2018
Generative Adversarial Networks and Image SynthesisComputer Science10 references20 citations
TL;DR

This paper proposes a constrained VAE-GAN model that balances generative quality and diversity by combining VAE reconstruction loss with a GAN loss threshold, using a Lagrangian formulation to prioritize data distribution fidelity when image quality is near-discriminator-fooling. Experiments on MNIST show improved concentration of high-quality (low-entropy) samples compared to standard VAE-GAN.

ABSTRACT

This project report compares some known GAN and VAE models proposed prior to 2017. There has been significant progress after we finished this report. We upload this report as an introduction to generative models and provide some personal interpretations supported by empirical evidence. Both generative adversarial network models and variational autoencoders have been widely used to approximate probability distributions of data sets. Although they both use parametrized distributions to approximate the underlying data distribution, whose exact inference is intractable, their behaviors are very different. We summarize our experiment results that compare these two categories of models in terms of fidelity and mode collapse. We provide a hypothesis to explain their different behaviors and propose a new model based on this hypothesis. We further tested our proposed model on MNIST dataset and CelebA dataset.

Motivation & Objective

  • Investigate the fundamental differences in behavior between GANs and VAEs, particularly regarding mode collapse and fidelity.
  • Address the instability and quality issues in GAN training by proposing a hybrid model that retains VAE's inductive bias for distributional fidelity.
  • Develop a constrained optimization framework that prioritizes VAE reconstruction when GAN loss is sufficiently low, improving sample diversity and quality.
  • Test the proposed model on MNIST and CelebA datasets to evaluate performance against standard VAE-GAN and baseline GAN/VAE models.
  • Provide empirical evidence and a hypothesis explaining why GANs tend to collapse modes while VAEs produce blurry but diverse samples.

Proposed method

  • Formulate a constrained optimization problem: minimize VAE loss subject to a GAN loss threshold (L_gan ≤ d), ensuring image quality is maintained.
  • Convert the constrained problem into a Lagrangian form: L = L_vae + λ * max(L_gan - d, 0), enabling end-to-end backpropagation.
  • Use a fixed λ > 0 to approximate the KKT conditions, allowing gradient-based training with standard stochastic optimization.
  • Train the generator using a combined loss that penalizes high GAN loss only when it exceeds the threshold, thus encouraging diversity without sacrificing realism.
  • Maintain identical network architectures and training hyperparameters across models (VAE-GAN and constrained VAE-GAN) to ensure fair comparison.
  • Evaluate image quality via entropy of classifier predictions: lower entropy indicates higher recognizability and thus better fidelity.

Experimental results

Research questions

  • RQ1Why do GANs suffer from mode collapse while VAEs produce diverse but blurry samples?
  • RQ2Can a hybrid model that combines VAE and GAN objectives improve both sample fidelity and diversity?
  • RQ3Does constraining the GAN loss while minimizing VAE reconstruction lead to better generative performance than standard VAE-GAN?
  • RQ4How does the proposed Lagrangian-based loss formulation affect training stability and convergence?
  • RQ5To what extent does the constrained model improve image quality on datasets with simple (MNIST) and complex (CelebA) data structures?

Key findings

  • The constrained VAE-GAN model achieved a higher concentration of low-entropy images on MNIST compared to standard VAE-GAN, indicating improved image quality.
  • On MNIST, the proposed model showed more stable image quality, with generated samples less prone to degradation over training iterations.
  • The experiment on CelebA was limited due to computational constraints, and training was terminated at epoch 25, preventing definitive conclusions on complex data.
  • The authors observed little performance difference between VAE-GAN and constrained VAE-GAN on MNIST, suggesting the need for more extensive training or deeper architectures.
  • The hypothesis that GANs prioritize realism at the cost of diversity while VAEs prioritize coverage at the cost of sharpness is empirically supported by the observed trade-offs.
  • The Lagrangian-based loss formulation successfully integrated both objectives, with the model favoring lower VAE loss when GAN loss was within acceptable bounds.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.