Abstract
To improve the ability of VAE to disentangle in the latent space, existing works mostly focus on enforcing independence among the learned latent factors. However, the ability of these models to disentangle often decreases as the complexity of the generative factors increases. In this paper, we investigate the little-explored effect of the modeling capacity of a posterior density on the disentangling ability of the VAE. We note that the independence within and the complexity of the latent density are two different properties we constrain when regularizing the posterior density: while the former promotes the disentangling ability of VAE, the latter -- if overly limited -- creates an unnecessary competition with the data reconstruction objective in VAE. Therefore, if we preserve the independence but allow richer modeling capacity in the posterior density, we will lift this competition and thereby allow improved independence and data reconstruction at the same time. We investigate this theoretical intuition with a VAE that utilizes a non-parametric latent factor model, the Indian Buffet Process (IBP), as a latent density that is able to grow with the complexity of the data. Across three widely-used benchmark data sets and two clinical data sets little explored for disentangled learning, we qualitatively and quantitatively demonstrated the improved disentangling performance of IBP-VAE over the state of the art.
Introduction
Disentangled representation learning aims to find the "fundamental" factors of variation in data—such as rotation, color, or leg style—such that changing one latent variable only affects one semantic attribute. Standard Variational Autoencoders (VAEs) and their variants (like $\beta$-VAE) typically rely on simple, independent Gaussian distributions for the latent space.
This paper identifies a fundamental "tension" in these models: to achieve disentanglement, we often penalize the latent distribution to look like a simple prior. However, if the data is complex, a simple posterior cannot capture all the nuances, forcing the model to choose between accurate data reconstruction and effective disentanglement. As data complexity increases, disentanglement usually suffers due to this limited modeling capacity.
Methodology: The IBP-VAE
The authors propose the IBP-VAE, which replaces the standard fixed-dimension Gaussian latent space with a non-parametric latent factor model based on the Beta Bernoulli Process (specifically the stick-breaking construction of the Indian Buffet Process).
Key technical components include:
- Infinite Latent Factors: The IBP allows the number of "active" features to grow with the data complexity, rather than requiring a pre-defined number of dimensions.
- The Triggering Mechanism: The latent representation $Y$ is modeled as an element-wise product ($Y = Z \odot A$), where $Z$ is a sparse binary matrix (the "trigger") and $A$ is a continuous Gaussian matrix. This allows the model to explicitly "turn on or off" specific generative factors.
- Supervised Extension (cIBP-VAE): This variant splits the latent space into "nuisance factors" (learned via IBP) and "task-related factors" (supervised by labels), allowing the model to isolate irrelevant variations from the primary classification task.
Experimental Results
The model was evaluated on standard benchmarks including dSprites and 3D Chairs, as well as real-world clinical datasets like skin lesion images (ISIC 2016) and 12-lead ECG signals.
Quantitative Performance
On the dSprites dataset, IBP-VAE achieved a higher Mutual Information Gap (MIG) score (0.55) compared to standard $\beta$-VAE (0.48) and VampPrior (0.49). The MIG metric measures how effectively a single latent variable captures a single ground-truth factor of variation.
Clinical Impact
In clinical tasks, explicitly disentangling "nuisance" factors—such as patient anatomy or pacing artifacts in an ECG—improved the performance of the primary classification task. For skin lesion classification, the cIBP-VAE improved the Area Under the ROC Curve (AUC) to 0.79, compared to 0.75 for a standard supervised CNN.
Discussion and Conclusion
The core insight of this work is that independence and complexity are distinct properties. By increasing modeling capacity via the IBP, the model reduces the competition between reconstruction and disentanglement objectives. This approach not only improves benchmark performance but also facilitates knowledge discovery in complex domains like clinical diagnostics by isolating nuisance variations from disease-relevant features.
Future work includes exploring the scalability of these non-parametric approaches on even larger datasets and extending the principle of increased posterior capacity to other generative architectures like GANs.
Summary updated