[Paper Review] Learning Latent Subspaces in Variational Autoencoders
The paper introduces Conditional Subspace VAE (CSVAE), which learns a low-dimensional latent subspace per binary label to capture label-related variations, enabling easy interpretation and manipulation of attributes in images.
Variational autoencoders (VAEs) are widely used deep generative models capable of learning unsupervised latent representations of data. Such representations are often difficult to interpret or control. We consider the problem of unsupervised learning of features correlated to specific labels in a dataset. We propose a VAE-based generative model which we show is capable of extracting features correlated to binary labels in the data and structuring it in a latent subspace which is easy to interpret. Our model, the Conditional Subspace VAE (CSVAE), uses mutual information minimization to learn a low-dimensional latent subspace associated with each label that can easily be inspected and independently manipulated. We demonstrate the utility of the learned representations for attribute manipulation tasks on both the Toronto Face and CelebA datasets.
Motivation & Objective
- Motivate unsupervised discovery of features correlated with binary labels within a VAE framework.
- Introduce a latent space split Z × W where each W_i captures a label-specific subspace.
- Enforce low mutual information between Z and Y to disentangle label-related information.
- Demonstrate attribute manipulation and improved intra-class variation modeling on Toronto Faces Dataset (TFD) and CelebA datasets.
Proposed method
- Define a joint generative model p(x, y, z, w) with latent spaces Z and W = ∏ W_i, where each W_i corresponds to a binary label y_i.
- Derive a variational lower bound incorporating a mutual information minimization term I(Y; Z) to encourage Z to be independent of Y.
- Implement q_phi(z, w | x, y) and p_theta(x | z, w), with an adversarial-like objective that includes a predictor q_delta(y | z) to maximize conditional entropy H(Y|Z).
- Use Gaussian neural networks for q_phi, q_gamma, p_theta, and a Cat distribution for q_delta(y | z).
- Position each W_i as a low-dimensional subspace (e.g., W_i ∈ R^2) to enable interpretable attribute manipulation and switching.
- Train with a weighted objective combining reconstruction, KL terms, and mutual-information-related terms, tuned via beta hyperparameters.
Experimental results
Research questions
- RQ1Can we learn latent subspaces tied to class-specific labels in VAEs in an unsupervised or semi-supervised way?
- RQ2Does enforcing low mutual information between Z and Y produce disentangled, manipulable, label-correlated subspaces?
- RQ3Can such subspaces enable richer, controllable attribute manipulation in real image datasets like CelebA and TFD?
- RQ4How does CSVAE compare to CondVAE variants in capturing intra-class variation and enabling attribute transfer?
Key findings
- CSVAE achieves higher attribute manipulation accuracy than baseline models on both TFD and CelebA datasets.
- CSVAE learns a disentangled, easily interpretable subspace W for each binary label, facilitating attribute transfer and style manipulation.
- Quantitative results show CSVAE outperforms CondVAE and CondVAE-info in classification accuracy after attribute modification across datasets.
- MSE analysis indicates CSVAE produces substantial attribute changes closer to ground truth while maintaining image quality, compared to baselines.
- Qualitative results demonstrate a larger variety of attributes (e.g., glasses styles, facial hair, expressions) and preservation of attribute style across identities.
- The swiss roll toy example illustrates that CSVAE separates class information into W while Z remains less discriminative, supporting the intended subspace structuring.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.