[Paper Review] Relevance Factor VAE: Learning and Identifying Disentangled Factors
This paper introduces Relevance-Factor VAE, a novel VAE-based model that learns disentangled representations in an unsupervised manner by automatically identifying relevant latent factors using learnable relevance indicator variables. By focusing the total correlation loss only on relevant factors and tolerating high prior KL divergence for nuisance factors, the model achieves state-of-the-art disentanglement performance on benchmark datasets, including improved alignment with qualitative interpretations and a new evaluation metric.
We propose a novel VAE-based deep auto-encoder model that can learn disentangled latent representations in a fully unsupervised manner, endowed with the ability to identify all meaningful sources of variation and their cardinality. Our model, dubbed Relevance-Factor-VAE, leverages the total correlation (TC) in the latent space to achieve the disentanglement goal, but also addresses the key issue of existing approaches which cannot distinguish between meaningful and nuisance factors of latent variation, often the source of considerable degradation in disentanglement performance. We tackle this issue by introducing the so-called relevance indicator variables that can be automatically learned from data, together with the VAE parameters. Our model effectively focuses the TC loss onto the relevant factors only by tolerating large prior KL divergences, a desideratum justified by our semi-parametric theoretical analysis. Using a suite of disentanglement metrics, including a newly proposed one, as well as qualitative evidence, we demonstrate that our model outperforms existing methods across several challenging benchmark datasets.
Motivation & Objective
- To address the limitation of existing unsupervised disentanglement methods that fail to distinguish between meaningful and nuisance factors of variation in latent space.
- To develop a method that automatically identifies the true number and identity of disentangled factors without prior knowledge of their cardinality.
- To improve disentanglement performance by focusing the total correlation loss only on relevant factors while allowing high prior divergence for nuisance factors.
- To introduce a new disentanglement evaluation metric (Metric II) that better aligns with qualitative assessments of disentanglement quality.
- To provide a semi-parametric theoretical justification for tolerating high prior KL divergence on nuisance factors while maintaining disentanglement on relevant ones.
Proposed method
- Introduces learnable relevance indicator variables (r_i) for each latent dimension to distinguish between relevant and nuisance factors.
- Modifies the VAE objective by applying the total correlation (TC) loss only to latent dimensions with high relevance scores, effectively filtering out nuisance factors.
- Treats the prior KL divergence as a regularizer for nuisance factors, allowing large deviations from the standard normal prior without degrading performance.
- Uses a joint optimization framework to train the VAE parameters and relevance indicators simultaneously via end-to-end backpropagation.
- Employs a semi-parametric theoretical analysis to justify the design choice of tolerating high prior KL divergence for nuisance factors.
- Proposes a new disentanglement metric (Metric II) based on the alignment between learned factor traversals and human-annotated factor semantics.
Experimental results
Research questions
- RQ1Can a VAE-based model automatically identify and focus on the relevant factors of variation in an unsupervised setting without prior knowledge of the number or nature of these factors?
- RQ2Does focusing the total correlation loss only on relevant factors—while tolerating high prior KL divergence for nuisance factors—improve disentanglement performance compared to uniform TC application?
- RQ3How well does the proposed relevance indicator mechanism perform in identifying the true number of disentangled factors, especially when the number is unknown or when discrete, low-cardinality factors are present?
- RQ4To what extent does the new disentanglement metric (Metric II) correlate with qualitative assessments of disentanglement quality?
- RQ5Can the model generalize to real-world datasets with complex, co-dependent, or discrete factors of variation, such as Celeb-A?
Key findings
- RF-VAE outperforms existing state-of-the-art models on multiple benchmark datasets, including Sprites, Teapots, and Celeb-A, across all standard and newly proposed disentanglement metrics.
- On the Sprites dataset, RF-VAE achieved near-perfect disentanglement scores (Metric I and II), significantly outperforming baselines like β-VAE and Factor-VAE.
- In the oval-only subset of Sprites, RF-VAE correctly identified five relevant latent dimensions, with rotation encoded across two dimensions, matching qualitative expectations.
- On the Teapots dataset, RF-VAE identified seven relevant factors (including five true factors), outperforming RF-VAE-0 (which assumed five factors), suggesting that flexible factor identification improves performance.
- The model demonstrated robustness in identifying key attributes in Celeb-A, such as hair color, gender, and facial expression, despite the presence of discrete and co-dependent factors.
- β-VAE performed poorly on Teapots, likely due to over-regularization that reduced information flow between input and latent space, confirming known limitations of that method.
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.