Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Soft-IntroVAE: Analyzing and Improving the Introspective Variational Autoencoder

About

The recently introduced introspective variational autoencoder (IntroVAE) exhibits outstanding image generations, and allows for amortized inference using an image encoder. The main idea in IntroVAE is to train a VAE adversarially, using the VAE encoder to discriminate between generated and real data samples. However, the original IntroVAE loss function relied on a particular hinge-loss formulation that is very hard to stabilize in practice, and its theoretical convergence analysis ignored important terms in the loss. In this work, we take a step towards better understanding of the IntroVAE model, its practical implementation, and its applications. We propose the Soft-IntroVAE, a modified IntroVAE that replaces the hinge-loss terms with a smooth exponential loss on generated samples. This change significantly improves training stability, and also enables theoretical analysis of the complete algorithm. Interestingly, we show that the IntroVAE converges to a distribution that minimizes a sum of KL distance from the data distribution and an entropy term. We discuss the implications of this result, and demonstrate that it induces competitive image generation and reconstruction. Finally, we describe two applications of Soft-IntroVAE to unsupervised image translation and out-of-distribution detection, and demonstrate compelling results. Code and additional information is available on the project website -- https://taldatech.github.io/soft-intro-vae-web

Tal Daniel, Aviv Tamar• 2020

Related benchmarks

TaskDatasetResultRank
Outlier DetectionADNI (test)
Likelihood Ratio8.83
96
ReconstructionUK Biobank Cine MRI (ES)
SSIM40
8
Ischemic stroke lesion segmentationATLAS v2.0 (test)
AUPRC6.86
8
ReconstructionUK Biobank Cine MRI (ED)
SSIM46
8
Anomaly SegmentationSynthetic Brain MRI (test)
AUPRC17.91
7
Pseudo-healthy ReconstructionSynthetic Brain MRI (test)
LPIPS (Healthy)13.16
7
Latent Space InterpretabilityUK Biobank Cine MRI
SCC0.78
4
Showing 7 of 7 rows

Other info

Follow for update