[Paper Review] Disentangling Factors of Variation with Cycle-Consistent Variational Auto-Encoders
This paper proposes cycle-consistent variational auto-encoders (CC-VAEs) to disentangle specified and unspecified factors of variation in images using only weak supervision via pairwise similarity labels. By enforcing cycle-consistency between encoded and reconstructed latent spaces, the model prevents degeneracy and achieves robust, highly disentangled representations without adversarial training, outperforming prior non-adversarial methods in disentanglement and stability across varying latent space dimensions.
Generative models that learn disentangled representations for different factors of variation in an image can be very useful for targeted data augmentation. By sampling from the disentangled latent subspace of interest, we can efficiently generate new data necessary for a particular task. Learning disentangled representations is a challenging problem, especially when certain factors of variation are difficult to label. In this paper, we introduce a novel architecture that disentangles the latent space into two complementary subspaces by using only weak supervision in form of pairwise similarity labels. Inspired by the recent success of cycle-consistent adversarial architectures, we use cycle-consistency in a variational auto-encoder framework. Our non-adversarial approach is in contrast with the recent works that combine adversarial training with auto-encoders to disentangle representations. We show compelling results of disentangled latent subspaces on three datasets and compare with recent works that leverage adversarial training.
Motivation & Objective
- To address the challenge of learning disentangled representations in the absence of strong, per-factor annotations.
- To develop a non-adversarial generative model that effectively separates specified (labeled) from unspecified (nuisance) factors of variation.
- To improve robustness to latent space dimensionality choices, avoiding degenerate solutions common in standard VAEs.
- To demonstrate that cycle-consistency enforces disentanglement by minimizing information leakage between specified and unspecified latent subspaces.
- To provide a weakly supervised alternative to adversarial disentanglement methods that avoids training instability and poor generalization.
Proposed method
- The model uses two separate latent spaces: one for specified factors (s) and one for unspecified factors (z), each with independent prior distributions.
- A cycle-consistency loss is applied by reconstructing the original input after encoding into s and z, then re-encoding the reconstruction to ensure consistency across the cycle.
- The encoder maps input images to both s and z spaces, while the decoder reconstructs the image from s and z, enforcing that the reconstruction process preserves disentanglement.
- The training objective combines the standard VAE reconstruction and KL divergence losses with a cycle-consistency loss that penalizes deviations between original and cycle-reconstructed data.
- Pairwise similarity labels are used to group images with the same specified factor (e.g., same digit class), enabling weak supervision without per-factor annotations.
- The architecture is trained end-to-end using stochastic gradient descent, with no adversarial discriminator, making it simpler and more stable than GAN-based alternatives.
Experimental results
Research questions
- RQ1Can cycle-consistency be effectively used to disentangle specified and unspecified factors of variation in a weakly supervised setting?
- RQ2Does a non-adversarial VAE with cycle-consistency avoid the degeneracy problem seen in standard VAEs, where the decoder ignores the specified factors?
- RQ3How robust is the disentanglement to changes in the dimensionality of the specified and unspecified latent spaces?
- RQ4Can the model generate high-quality, controllable image samples by interpolating or swapping latent factors across different images?
- RQ5Does cycle-consistency lead to better disentanglement than adversarial training in the absence of strong supervision?
Key findings
- The proposed CC-VAE model successfully avoids degenerate solutions, where the decoder ignores the specified latent variables, even with high-dimensional latent spaces.
- The model demonstrates robust disentanglement across three datasets—MNIST, 2D Sprites, and LineMod—without requiring adversarial training or hyperparameter tuning for dimensionality.
- Image generation results show clear disentanglement: swapping z factors between images produces plausible variations in viewpoint or texture, while swapping s factors changes the class identity as intended.
- Linear interpolation in the s and z spaces produces smooth, meaningful transitions, confirming that each latent space captures distinct, disentangled factors of variation.
- Conditional generation by sampling z from a standard Gaussian while fixing s produces diverse, plausible samples, confirming the model's generative capability.
- Compared to the non-adversarial method of Szabó et al. [8], the CC-VAE maintains performance across a wide range of latent space dimensions, unlike the latter, which is highly sensitive to dimensionality choices.
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.