Disentangled Variational Auto-Encoder for semi-supervised learning

Yang Li, Quan Pan, Suhang Wang, Haiyun Peng, Tao Yang, Erik Cambria · DOI · OpenReview

TL;DR

This paper introduces the Semi-supervised Disentangled Variational Auto-Encoder (SDVAE), a novel approach that leverages disentangled representations to perform semi-supervised learning without relying on explicit classifiers. By separating data into interpretable (categorical) and non-interpretable (reconstruction) components, SDVAE effectively utilizes limited labeled data for improved classification and reconstruction tasks on both image and text datasets.

What Problem Does This Paper Address?

The core challenge addressed is the scarcity of labeled data in many real-world machine learning scenarios. While semi-supervised learning aims to leverage abundant unlabeled data alongside limited labeled data, existing methods often rely on adding a classifier to a Variational Auto-Encoder (VAE). This approach, however, introduces extra parameters that can lead to overfitting, especially when labeled data is scarce. The paper seeks to find a more efficient way to incorporate label information into VAEs for semi-supervised learning, specifically by directly regularizing the latent representation without a separate classifier.

Methods

The proposed method, SDVAE, builds upon the VAE framework but introduces a key innovation: disentangled representations. The encoder maps input data into two distinct latent variables:

  • Disentangled Variable (v): This variable is designed to capture the categorical information of the data. The paper proposes using label information to directly regularize this variable.
  • Non-interpretable Variable (u): This variable captures other aspects of the data and is used for reconstruction.

The authors propose two main ways to incorporate label information into the disentangled variable:

  • SDVAE-I: Uses a standard cross-entropy loss between the label and the disentangled variable.
  • SDVAE-II: Employs a reinforcement learning approach (REINFORCE) to learn the latent information as an equality constraint. This method treats the ELBO as a reward and the encoder as a policy network, aiming to improve inference and handle limited labeled data more robustly.

Additionally, the paper incorporates Inverse Autoregressive Flow (IAF) to enhance the flexibility of posterior inference and improve the disentangled representation learning. The framework is designed to be flexible, accommodating different encoder and decoder architectures for image and text data.

Datasets

The paper evaluates its proposed models on the following datasets:

  • Image Datasets:
    • MNIST
    • SVHN (Street View House Numbers)
  • Text Dataset:
    • IMDB (Internet Movie Database)

Key Insights and Ideas

  • Disentangling for Semi-Supervision: The core idea that disentangling latent representations into categorical and non-categorical components can directly facilitate semi-supervised learning without needing an explicit classifier is a significant contribution.
  • Reinforcement Learning for Label Regularization: Using REINFORCE to guide the disentangled variable's learning based on label information offers a novel way to leverage limited labels, especially when data is scarce.
  • IAF for Improved Inference: The integration of Inverse Autoregressive Flow (IAF) demonstrably improves the model's ability to capture categorical information and the overall performance.
  • Flexibility of the Framework: The ability of SDVAE to handle both image and text data by simply swapping encoder/decoder architectures highlights its versatility.
  • Interpretability of Latent Variables: Experiments show that the disentangled variable effectively captures class information, while the non-interpretable variable is crucial for reconstruction, providing a degree of interpretability.

Key Results

  • Image Classification: SDVAE-II&IAF achieved state-of-the-art results on MNIST and SVHN datasets for semi-supervised classification, outperforming existing methods, especially with very limited labeled data. For instance, on MNIST with 100 labeled samples, SDVAE-II&IAF achieved a classification error of 3.33%, significantly lower than many baselines. On SVHN, it achieved a test error rate of 29.37% with PCA preprocessing.
  • Text Classification: On the IMDB dataset, SDVAE-II&IAF also demonstrated strong performance, achieving a test error rate of 7.18%, competitive with or better than several advanced text classification models.
  • Reconstruction Quality: Experiments showed that masking the disentangled variable (v) significantly blurred the reconstructed images, indicating its importance for reconstruction. Conversely, masking the non-interpretable variable (u) had less impact on reconstruction quality, suggesting it primarily captures categorical information.
  • Parameter Sensitivity: Analysis showed that the model's performance is sensitive to parameter choices (λ, β1, β2), with specific values yielding optimal results. The length of the IAF chain was found to be important, with a length of 1 performing well.

Limitations and Future Work

  • Parameter Tuning: The performance of SDVAE is sensitive to hyperparameter tuning (λ, β1, β2), requiring careful selection for optimal results.
  • Encoder Architecture: The current work uses CNNs as encoders. The authors suggest investigating other deep neural network architectures to see which performs best under different conditions.
  • Focus on Reconstruction and Classification: The current work primarily focuses on reconstruction and semi-supervised classification.
  • Generated Images: An interesting future direction proposed is to study the generated images produced by a generator learned by the proposed framework.

Summary updated

BibTeX
@article{li2017disentangled,
  author = {Yang Li and Quan Pan and Suhang Wang and Haiyun Peng and Tao Yang and Erik Cambria},
  title = {{Disentangled Variational Auto-Encoder for semi-supervised learning}},
  journal = {Information Sciences},
  year = {2017},
  doi = {10.1016/j.ins.2018.12.057},
}
Figure