Skip to main content
QUICK REVIEW

[Paper Review] An Improved Semi-Supervised VAE for Learning Disentangled Representations

Weili Nie, Zichao Wang|arXiv (Cornell University)|Jun 12, 2020
Generative Adversarial Networks and Image SynthesisComputer Science35 references5 citations
TL;DR

This paper proposes Label Replacement in a semi-supervised VAE (LaRVAE) to improve disentangled representation learning by replacing inferred latent codes with ground-truth labels during training when available. The method enhances disentanglement by regularizing the decoder with true labels, outperforming prior semi-supervised VAEs on both synthetic and real-world datasets in terms of disentanglement quality and controllable generation.

ABSTRACT

Learning interpretable and disentangled representations is a crucial yet challenging task in representation learning. In this work, we focus on semi-supervised disentanglement learning and extend work by Locatello et al. (2019) by introducing another source of supervision that we denote as label replacement. Specifically, during training, we replace the inferred representation associated with a data point with its ground-truth representation whenever it is available. Our extension is theoretically inspired by our proposed general framework of semi-supervised disentanglement learning in the context of VAEs which naturally motivates the supervised terms commonly used in existing semi-supervised VAEs (but not for disentanglement learning). Extensive experiments on synthetic and real datasets demonstrate both quantitatively and qualitatively the ability of our extension to significantly and consistently improve disentanglement with very limited supervision.

Motivation & Objective

  • Address the challenge of learning disentangled representations in semi-supervised settings where only limited ground-truth labels are available.
  • Overcome the non-identifiability issue in unsupervised disentanglement learning by incorporating limited supervision.
  • Improve disentanglement performance by effectively leveraging both labeled data and the generative structure of VAEs.
  • Develop a theoretically grounded framework that unifies label replacement and standard label loss in semi-supervised VAEs for disentanglement.
  • Demonstrate consistent improvements in disentanglement quality and controllable generation across diverse datasets.

Proposed method

  • Introduce label replacement: during training, replace the inferred latent code $ q_{\phi}(\bm{\xi}|\mathbf{x}) $ with the ground-truth label $ \mathbf{y} $ when available.
  • Modify the VAE objective to include a regularized decoder loss that uses ground-truth labels to guide data generation.
  • Formulate a general semi-supervised disentanglement framework under VAEs that naturally incorporates both label replacement and label loss terms.
  • Use a VAE with a factorized prior $ p(\bm{\xi}) $ and a deep neural network decoder $ p_{\theta}(\mathbf{x}|\bm{\xi}) $, while applying total correlation regularization to encourage disentanglement.
  • Train the model using a modified ELBO objective that includes both the standard unsupervised loss and the label replacement regularization.
  • Apply label traversal to evaluate disentanglement: vary one label dimension while fixing others, and generate images to assess control and consistency.

Experimental results

Research questions

  • RQ1Can limited ground-truth labels significantly improve disentanglement in a semi-supervised VAE setting?
  • RQ2How does label replacement compare to standard label loss in enhancing disentanglement performance?
  • RQ3To what extent can label replacement improve the controllability of generated samples in disentangled representation learning?
  • RQ4Does the proposed method maintain disentanglement quality while reducing mode collapse or distribution shift in generated data?
  • RQ5Can the label replacement mechanism be theoretically justified within a unified framework for semi-supervised disentanglement learning?

Key findings

  • LaRVAE significantly improves disentanglement performance over the baseline SS-β-TCVAE on both synthetic (dSprites, 3DShapes) and real-world (CelebA) datasets.
  • Label traversal results show that LaRVAE generates images where only the intended attribute varies, while maintaining correct values for fixed attributes, unlike the baseline.
  • On 3DShapes, LaRVAE successfully generates images with varying object color, size, and shape as intended by the label dimension, while the baseline fails to control the correct attribute.
  • In CelebA, LaRVAE generates images with correct facial attributes (e.g., pale face, bangs, glasses) when traversing the corresponding label dimensions, demonstrating better control than the baseline.
  • Qualitative results show that LaRVAE maintains attribute consistency across generated images for fixed label dimensions, while the baseline often introduces incorrect attributes (e.g., wrong wall or object colors).
  • Despite minor artifacts (e.g., incorrect wall colors), LaRVAE consistently outperforms baselines in both quantitative disentanglement metrics and qualitative generation quality.

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.