TL;DR
This paper introduces UG-VAE, a novel unsupervised deep generative model that learns to disentangle global factors of variation in data, going beyond traditional models that focus solely on local, sample-specific features. By introducing a global latent variable that influences a mixture of local latent variables, UG-VAE can capture interpretable group-level characteristics without requiring any explicit labels or supervision.
What Problem Does This Paper Address?
Deep generative models like Variational Autoencoders (VAEs) are powerful tools for learning data distributions and generating new samples. However, most VAEs assume data is independently and identically distributed (i.i.d.), which limits their ability to capture higher-level dependencies between samples. While some methods have explored non-i.i.d. data, they often rely on semi-supervised approaches to group data, requiring prior knowledge about the data's structure. This paper addresses the challenge of learning these global, group-level dependencies in a fully unsupervised manner, aiming to discover interpretable representations that go beyond individual sample characteristics.
Methods
The core innovation is the Unsupervised Global VAE (UG-VAE). It builds upon the VAE framework by introducing a hierarchical latent space:
- Global Latent Variable ($\beta$): This variable captures shared properties across a group of samples. It's modeled as a single Gaussian distribution for the entire group.
- Local Latent Variables ($z$): For each individual data point, a local latent variable $z$ captures sample-specific features.
- Mixture Model Prior: Crucially, the local latent space uses a mixture model prior, where the parameters of each component (Gaussian) are modulated by the global variable $\beta$. This allows $\beta$ to influence how local features are organized into clusters.
- Discrete Latent Variable ($d$): An auxiliary discrete latent variable $d$ is introduced to represent the inferred group, which is learned without supervision.
The model is trained using random mini-batches of data. The inference network learns to approximate the posterior distributions of $z$, $d$, and $\beta$. The key is that the global variable $\beta$ is learned to influence the entire mixture of local latent variables, enabling it to capture group-level patterns.
Datasets
The paper evaluates UG-VAE on the following datasets:
- CelebA: A large-scale face attribute dataset.
- MNIST: A dataset of handwritten digits.
- 3D FACES: A dataset of 3D scanned faces.
- 3D Cars: A dataset of 3D car models.
- 3D Chairs: A dataset of 3D chair models.
No new benchmarks were introduced; the focus was on applying UG-VAE to existing datasets.
Key Insights and Ideas
- Unsupervised Group Feature Learning: UG-VAE demonstrates that interpretable group-level features can be learned without any explicit labels or supervision. The global variable $\beta$ effectively captures commonalities across samples within a batch.
- Disentanglement in Global Space: The global latent space $\beta$ can learn disentangled representations that are interpretable within each learned cluster. For instance, in CelebA, $\beta$ might control skin color or beard presence, while the local $z$ controls hair style.
- Domain Alignment: UG-VAE can perform unsupervised domain alignment. By training on mixed-dataset batches, the global variable $\beta$ learns to represent domain-specific information, allowing for smooth interpolations between different datasets.
- No Extra ELBO Regularizers: Unlike many disentanglement methods that require careful tuning of ELBO hyperparameters, UG-VAE achieves its results without such explicit regularization for disentanglement.
Key Results
- Qualitative Results:
- CelebA: UG-VAE successfully disentangles global factors like skin color, beard presence, and face contrast, while local factors like hair style and light direction are controlled by $z$.
- MNIST: Global factors like handwriting style (cursive grade, contrast, thickness) are captured by $\beta$, while $z$ controls the digit shape.
- Domain Alignment: Interpolations between CelebA and 3D FACES show that $\beta$ transfers domain knowledge (e.g., background color, rotation), while $z$ modifies local features. Similar results are shown for 3D Cars and Chairs datasets.
- Quantitative Results:
- FID Score: UG-VAE outperforms B-VAE and ML-VAE on both CelebA and MNIST in terms of Frechet Inception Distance (FID), indicating higher quality generated samples. For CelebA, UG-VAE achieved an FID of 162.3 ± 1.2 compared to B-VAE's 204.7 ± 2.4 and ML-VAE's 173.5 ± 0.6. For MNIST, UG-VAE achieved 63.6 ± 2.4 compared to B-VAE's 108.9 ± 4.5 and ML-VAE's 133.2 ± 0.8.
- Classification Accuracy: A linear SVM classifier trained on the posterior $\beta$ distribution achieved high accuracy (e.g., 0.95 for black vs. blond hair) in distinguishing between structured batches, demonstrating the discriminative power of the global latent space.
Limitations and Future Work
- Limitations:
- The paper acknowledges that the interpretability of the global/local factors can depend on the number of clusters ($K$) chosen.
- While UG-VAE shows promise, the authors suggest there is room for improvement in fine-tuning results for specific cases.
- The effectiveness of the unsupervised learning of global factors is heavily reliant on the presence of the clustering mixture prior in the local space. Without it, the global space becomes less informative.
- Future Work:
- The authors suggest exploring more complex generative models and further investigating the interpretability of the learned latent spaces.
- The code for UG-VAE and all experiments is made publicly available for reproducibility and further research.
Summary updated