English

Disentangling Latent Space for VAE by Label Relevant/Irrelevant Dimensions

Computer Vision and Pattern Recognition 2019-03-18 v4

Abstract

VAE requires the standard Gaussian distribution as a prior in the latent space. Since all codes tend to follow the same prior, it often suffers the so-called "posterior collapse". To avoid this, this paper introduces the class specific distribution for the latent code. But different from CVAE, we present a method for disentangling the latent space into the label relevant and irrelevant dimensions, zs\bm{\mathrm{z}}_s and zu\bm{\mathrm{z}}_u, for a single input. We apply two separated encoders to map the input into zs\bm{\mathrm{z}}_s and zu\bm{\mathrm{z}}_u respectively, and then give the concatenated code to the decoder to reconstruct the input. The label irrelevant code zu\bm{\mathrm{z}}_u represent the common characteristics of all inputs, hence they are constrained by the standard Gaussian, and their encoder is trained in amortized variational inference way, like VAE. While zs\bm{\mathrm{z}}_s is assumed to follow the Gaussian mixture distribution in which each component corresponds to a particular class. The parameters for the Gaussian components in zs\bm{\mathrm{z}}_s encoder are optimized by the label supervision in a global stochastic way. In theory, we show that our method is actually equivalent to adding a KL divergence term on the joint distribution of zs\bm{\mathrm{z}}_s and the class label cc, and it can directly increase the mutual information between zs\bm{\mathrm{z}}_s and the label cc. Our model can also be extended to GAN by adding a discriminator in the pixel domain so that it produces high quality and diverse images.

Keywords

Cite

@article{arxiv.1812.09502,
  title  = {Disentangling Latent Space for VAE by Label Relevant/Irrelevant Dimensions},
  author = {Zhilin Zheng and Li Sun},
  journal= {arXiv preprint arXiv:1812.09502},
  year   = {2019}
}

Comments

Accepted by CVPR 2019

R2 v1 2026-06-23T06:54:26.376Z