Adversarial Symmetric Variational Autoencoder

Yunchen Pu, Weiyao Wang, Ricardo Henao, Liqun Chen, Zhe Gan, Chunyuan Li, Lawrence Carin

Introduction

The Adversarial Symmetric Variational Autoencoder (AS-VAE) addresses the fundamental trade-off between the reconstruction fidelity of Variational Autoencoders (VAEs) and the sample quality of Generative Adversarial Networks (GANs). While VAEs provide a principled framework for inference but often produce blurry samples, GANs generate sharp images but lack an efficient inference mechanism and suffer from training instability. AS-VAE bridges this gap by treating data and latent codes symmetrically within a unified adversarial framework.

Methodology: Symmetric Variational Bound

The core innovation of AS-VAE is the Symmetric Variational Bound. Unlike standard VAEs that optimize a one-way objective, AS-VAE minimizes the symmetric Kullback-Leibler (KL) divergence between two joint distributions:

  1. The Encoder Path ($q(x,z)$): Mapping real data $x$ to latent codes $z$.
  2. The Decoder Path ($p(x,z)$): Mapping prior latent codes $z$ to generated data $x$.

Since the data distribution $q(x)$ is unknown, the authors employ Adversarial Ratio Estimation. Two discriminators are used to estimate the log-ratios of these distributions, effectively replacing intractable KL terms with adversarial objectives. This approach ensures that the model is penalized for both poor reconstructions and unrealistic generations, avoiding common pitfalls like mode collapse.

Experimental Results

CIFAR-10: Generation and Reconstruction

On the CIFAR-10 dataset, AS-VAE demonstrates its ability to simultaneously generate high-quality samples and perform faithful reconstructions. It achieved an Inception Score (IS) of 6.34, significantly outperforming standard VAEs (2.91) and ALI (4.79). Crucially, its reconstruction fidelity is superior, with a Root-Mean-Square Error (RMSE) of 3.36, compared to 14.53 for ALI.

CIFAR-10 random samples (left) and reconstruction triplets (right) showing high fidelity.

ImageNet and Scalability

To test scalability, AS-VAE was evaluated on 64x64 ImageNet samples. It achieved an Inception Score of 11.14, nearly doubling the performance of DCGAN (5.965) and surpassing autoregressive models like PixelCNN++ (7.65). Furthermore, AS-VAE is highly efficient, generating samples in approximately 0.01 seconds, orders of magnitude faster than PixelCNN++.

Generated 64x64 ImageNet samples demonstrating visual diversity and sharpness.

MNIST

On the MNIST benchmark, the model achieved a Negative Log-Likelihood (NLL) of 82.51 nats, proving its competitiveness with state-of-the-art density estimation models while maintaining the benefits of an adversarial framework.

Conclusion

AS-VAE successfully integrates the strengths of VAEs and GANs. By optimizing a symmetric objective through adversarial ratio estimation, it ensures faithful reconstruction and produces sharp, high-quality samples across various image benchmarks. Future work includes extending this framework to semi-supervised learning and higher-resolution image synthesis.

Summary updated

BibTeX
@inproceedings{pu2017adversarial,
  author = {Yunchen Pu and Weiyao Wang and Ricardo Henao and Liqun Chen and Zhe Gan and Chunyuan Li and Lawrence Carin},
  title = {{Adversarial Symmetric Variational Autoencoder}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
}
Figure