Introduction
Multimodal Variational Autoencoders (VAEs) have gained significant attention for weakly-supervised learning, where different views or modalities of data are paired but not explicitly labeled. However, they face three major hurdles:
- Blurry Generations: Like most VAEs, they tend to produce "average," blurry samples rather than sharp, realistic ones.
- Poor Unconditional Generation: While they can often translate one modality to another (cross-modal generation), generating a coherent set of modalities from scratch remains a struggle.
- The "K" Problem in Clustering: Most deep clustering methods require knowing the exact number of clusters ($K$) beforehand. In real-world data, this "oracle" knowledge is rarely available.
To address these issues, this paper introduces CMVAE (Clustering Multimodal VAE), a model that learns to cluster data by integrating shared information across different modalities (like images and text). By combining this architecture with a novel post-hoc cluster selection procedure and Denoising Diffusion Probabilistic Models (D-CMVAE), the authors achieve state-of-the-art results in both unsupervised clustering and high-quality, semantically coherent image generation.
Proposed Framework
The authors propose a comprehensive two-stage framework to bridge the gap between multimodal representation learning and deep generative clustering.
1. CMVAE (Clustering Multimodal VAE)
The model splits the latent space into shared and modality-specific subspaces:
- Shared Space: Captures the core concept (e.g., the digit "5" or the species "Oriole"). To enforce clustering, the authors use a Mixture of Experts encoder and a mixture distribution as a prior.
- Modality-Specific Space: Captures private details like background color or font style.
- Post-hoc Selection: To solve the "K" problem, the model is trained with an over-specified number of clusters (e.g., $K=40$ for 10 digits). A pruning algorithm then iteratively removes unimportant clusters by minimizing the entropy of the cluster assignments, effectively "discovering" the true number of clusters.
2. D-CMVAE (Diffusion-CMVAE)
To fix the blurriness inherent to VAEs, the authors integrate Denoising Diffusion Probabilistic Models (DDPMs). Instead of the VAE decoder producing the final image, it produces a "draft." A diffusion process is then trained, conditioned on these VAE reconstructions. Crucially, they train the diffusion model using both self-reconstructions and cross-modal reconstructions, making the generative process much more robust and semantically consistent.
Datasets
The models were evaluated on complex multimodal datasets:
- PolyMNIST: A benchmark consisting of five different versions of MNIST digits, each with different backgrounds and styles.
- CUBICC (CUB Image-Captions for Clustering): A new dataset introduced in this paper. It adapts the famous CUB-200-2011 bird dataset by grouping 200 sub-species into 8 broader species (e.g., "Gull," "Oriole," "Warbler"). This creates a challenging, realistic multimodal clustering task with high intra-cluster variability.
Key Insights and Results
- Clustering as a Generative Prior: By forcing the shared latent space to follow a mixture distribution, the model naturally learns to group similar concepts across modalities without needing labels.
- Entropy-Based Pruning: The post-hoc procedure is a reliable solution for finding $K$. By over-provisioning clusters and pruning based on assignment certainty (entropy), the model avoids the need for expensive hyperparameter sweeps.
- Cross-Modal Diffusion Conditioning: Using cross-modal reconstructions (e.g., generating an image conditioned on a text-derived latent) to train the diffusion model forces the process to prioritize the shared semantic meaning over low-level pixel matching, leading to higher generative coherence.
Performance Highlights: * Unconditional Generation: CMVAE significantly outperforms existing models like MMVAE+ in semantic coherence. On PolyMNIST, it achieved an unconditional coherence score of 0.781, compared to 0.344 for the previous state-of-the-art. * Clustering Accuracy: On the complex CUBICC dataset, CMVAE achieved a clustering accuracy of 76%, vastly outperforming unimodal baselines (27-29%) and contrastive methods like CMC (31%). * Image Quality: The D-CMVAE extension achieved an FID score of ~28 on the CUBICC dataset, representing a massive leap in quality for multimodal VAEs. * Automatic K-Discovery: The post-hoc procedure successfully recovered the true number of clusters (10 for PolyMNIST, 8 for CUBICC) across multiple independent runs.
Limitations and Future Work
- Computational Overhead: Diffusion models are computationally expensive. Training a separate diffusion process for every modality adds significant overhead during both training and inference.
- Shared Input Spaces: While tested on different modalities (images/text), the implementation is simplified when modalities share the same input space. Scaling this to vastly different data types (e.g., audio and video) may require more complex architectural tuning.
- Future Direction: The authors suggest exploring ways to condition a single diffusion model on multiple modalities simultaneously to reduce the parameter count.
Summary updated