Abstract
Multimodal Variational Autoencoders (VAEs) using a Mixture-of-Experts (MoE) approach often fail to capture intra-class diversity in surjective (one-to-many) datasets. This paper demonstrates, through mathematical proof and synthetic experiments, that MoE models are incentivized by their objective function to ignore variation and collapse toward a single average representation. In contrast, Product-of-Experts (PoE) models maintain the structural integrity of the data.
Introduction
In multimodal learning, the goal is to develop models capable of translating between different data types—for instance, generating an image from a text description or a class label. A significant challenge in this domain is that real-world data is often surjective (one-to-many). A single label like "Dog" can correspond to thousands of distinct images, each with unique poses, colors, and backgrounds.
While various multimodal VAE architectures have been proposed, models utilizing a Mixture-of-Experts (MoE) posterior—such as the MMVAE—frequently produce "blurry" or "mean" results when generating data from a label. This paper investigates the mathematical objective functions driving these models to understand why they fail to capture intra-class heterogeneity.
Methods
The authors compare two primary multimodal VAE paradigms:
- Product-of-Experts (PoE): Exemplified by MVAE, where the joint latent distribution is the product of individual modality distributions.
- Mixture-of-Experts (MoE): Exemplified by MMVAE, where the joint latent distribution is a weighted average (mixture) of individual modality distributions.
The core theoretical contribution is Theorem 1, which proves that the Evidence Lower Bound (ELBO) for MoE models contains a cross-modal term that incentivizes the model to ignore latent variation. When dealing with surjective data, the model maximizes this term most efficiently by outputting the global mean (Maximum Likelihood Estimator) of all data points sharing a specific label, rather than learning the underlying distribution.
To isolate this effect, the authors employ a synthetic 2D dataset consisting of two modalities:
- Modality 1 ($x_1$): Continuous 2D points arranged in distinct crescent shapes.
- Modality 2 ($x_2$): Categorical labels indicating which crescent(s) a point belongs to.
Results and Key Insights
The synthetic experiments clearly illustrate the "Mean Trap" predicted by the theory.
Qualitative Collapse
As shown in the figure above, the MMVAE (MoE) fails to reconstruct the crescent shapes when conditioned on a label. Instead, it generates a circular "blob" centered at the mean of the crescent. This is not a failure of training, but a successful optimization of the MoE objective function, which favors the average representation in surjective mappings. In contrast, the MVAE (PoE) successfully captures the curved structure of the data.
Latent Space Alignment
Visualizations of the latent space reveal that the MVAE aligns the representations of labels and points much more effectively. In the MMVAE, the latent space for labels collapses toward a single point, leaving no "room" for the model to represent the variation within that class.
Discussion and Conclusion
This research highlights a significant structural weakness in MoE-based multimodal models. While MoE models are flexible and handle missing modalities well, they are mathematically predisposed to ignore intra-class heterogeneity in surjective datasets.
Interestingly, common techniques like data augmentation (e.g., flipping an image while keeping the label constant) actually increase surjectivity. This suggests that standard preprocessing might unintentionally hinder the ability of MoE-based models to learn diverse representations. Future work should explore objective functions that avoid explicit maximization of cross-modal likelihoods or investigate alternative weighting schemes for "experts" to preserve data structure.
Summary updated