AS-IntroVAE: Adversarial Similarity Distance Makes Robust IntroVAE

Changjie Lu, Shen Zheng, Zirui Wang, Omar Dib, Gaurav Gupta
6/28/2022
eess.IVcs.CV

Official code: LOUEY233/AS-IntroVAE (4 stars, Python, last commit 2023-05-16).

Abstract

Recently, introspective models like IntroVAE and S-IntroVAE have excelled in image generation and reconstruction tasks. The principal characteristic of introspective models is the adversarial learning of VAE, where the encoder attempts to distinguish between the real and the fake (i.e., synthesized) images.

Show full abstract

However, due to the unavailability of an effective metric to evaluate the difference between the real and the fake images, the posterior collapse and the vanishing gradient problem still exist, reducing the fidelity of the synthesized images. In this paper, we propose a new variation of IntroVAE called Adversarial Similarity Distance Introspective Variational Autoencoder (AS-IntroVAE). We theoretically analyze the vanishing gradient problem and construct a new Adversarial Similarity Distance (AS-Distance) using the 2-Wasserstein distance and the kernel trick. With weight annealing on AS-Distance and KL-Divergence, the AS-IntroVAE are able to generate stable and high-quality images. The posterior collapse problem is addressed by making per-batch attempts to transform the image so that it better fits the prior distribution in the latent space. Compared with the per-image approach, this strategy fosters more diverse distributions in the latent space, allowing our model to produce images of great diversity. Comprehensive experiments on benchmark datasets demonstrate the effectiveness of AS-IntroVAE on image generation and reconstruction tasks.

View on arXivView PDF

Code Implementations(1)

Official pytorch implement of "AS-IntroVAE: Adversarial Similarity Distance Makes Robust IntroVAEs"

41Python, ShellFeb 2, 20233 years ago

Similar Papers

Cite this paper

@article{lu2022asintrovae,
  title  = {AS-IntroVAE: Adversarial Similarity Distance Makes Robust IntroVAE},
  author = {Changjie Lu and Shen Zheng and Zirui Wang and Omar Dib and Gaurav Gupta},
  year   = {2022},
  eprint = {2206.13903},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.13903}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.13903.svg)](https://codeofpaper.com/paper/2206.13903)

Discussion