MMVAE+: Enhancing the Generative Quality of Multimodal VAEs without Compromises

Emanuele Palumbo, Imant Daunhawer, Julia E Vogt

Multimodal Variational Autoencoders (VAEs) have emerged as powerful tools for weakly-supervised generative learning across multiple data modalities, such as images and their corresponding text descriptions. However, researchers have long grappled with a frustrating limitation: a non-trivial trade-off between generative quality and generative coherence.

MMVAE+ is a novel multimodal VAE designed to achieve high generative quality and semantic coherence simultaneously, without the usual compromises. By utilizing a factorized latent space and a clever "auxiliary prior" during training, it prevents the model from taking informational "shortcuts," ensuring that shared information is properly captured across different data modalities.

The Quality-Coherence Trade-off

Ideally, multimodal generative models should excel at two tasks:

  1. Generative Quality: Producing realistic, diverse samples (e.g., sharp, detailed images rather than blurry approximations).
  2. Generative Coherence: Ensuring that samples generated from different modalities match semantically (e.g., generating an image of a red bird when provided with the text "a red bird").

Historically, mixture-based models (like the original MMVAE) have achieved excellent coherence but produce blurry, low-diversity samples. Conversely, product-based models (like MVAE) generate higher-quality images but often fail to link the modalities correctly, resulting in poor coherence.

Previous attempts to resolve this involved splitting the latent space into "shared" and "private" (modality-specific) components. However, these models often fell victim to the "shortcut problem." If the private space is given enough capacity, the model tends to "hide" all the necessary reconstruction information there, effectively ignoring the shared space. This destroys the model's ability to translate semantic concepts between modalities.

Introducing MMVAE+

To overcome these limitations, the authors introduce MMVAE+, building upon the Mixture-of-Experts (MoE) framework. The core architectural shift involves factorizing the latent space into a shared subspace ($z$) and several modality-specific private subspaces ($w_1, \dots, w_M$).

Comparison of graphical models for standard MMVAE and the proposed MMVAE+

The key innovation of MMVAE+ lies in its training objective (the Evidence Lower Bound, or ELBO). To prevent the shortcut problem, the authors introduce auxiliary priors for cross-modal reconstruction:

  • Self-reconstruction: When reconstructing an image from itself, the model uses both the shared code ($z$) and the inferred private code ($w$). This allows it to capture fine-grained, modality-specific details, leading to high image quality.
  • Cross-modal reconstruction: When generating an image from a different modality (e.g., text), the model is denied access to the inferred private code of the target image. Instead, it must sample from a non-informative auxiliary prior.

This mechanism forces the model to rely entirely on the shared subspace ($z$) to communicate semantic meaning between modalities. Because the shared space must do the heavy lifting for translation, the model can no longer "cheat" by leaking shared information into the private spaces.

Key Insights and Robustness

The paper identifies that the failure of previous factorized models wasn't the latent structure itself, but the training objective that allowed information to leak. By fixing this objective, MMVAE+ unlocks several benefits:

  • Robustness to Hyperparameters: MMVAE+ is highly robust to the size of the latent subspaces. In previous models, increasing the private space capacity caused coherence to collapse immediately. MMVAE+ maintains high coherence even with large private capacities.
  • Scaling Benefits: While other models often see a drop in generative quality when more data types are added, MMVAE+ leverages additional modalities to improve coherence without sacrificing detail.

The model was rigorously evaluated on two challenging benchmarks: PolyMNIST (a synthetic dataset of five digit modalities) and Caltech Birds (CUB) Image-Captions. Notably, for CUB, the authors trained on raw pixels rather than pre-computed features, making the task significantly more difficult and realistic.

Breaking the Trade-off: Key Results

MMVAE+ successfully bridges the gap between quality and coherence, outperforming existing baselines.

Scatter plot demonstrating MMVAE+ breaking the trade-off between Unconditional Coherence and FID
  • Superior Quality: On the CUB dataset, MMVAE+ achieved a Conditional FID of 164.94, vastly outperforming the standard MMVAE (232.20) and other mixture-based competitors.
  • High Coherence: It achieved a coherence score of 0.721 on CUB, matching the best-performing models in that category while maintaining much higher image diversity.
  • Qualitative Success: Visual results demonstrate that MMVAE+ generates sharp, diverse images that accurately reflect the colors and attributes described in text captions, whereas competing MoE models often produce "average-looking," blurry results.

Limitations and Future Directions

While MMVAE+ represents a significant step forward, the authors note that the current auxiliary priors are simple zero-mean distributions with learned variances. Exploring more complex or structured priors could further enhance performance. Additionally, while the paper focuses on Mixture-of-Experts, this auxiliary prior strategy could likely be extended to other multimodal VAE frameworks. Finally, integrating these factorized latent ideas into modern Diffusion models presents a highly promising direction for future research in raw image generation.

Summary updated

BibTeX
@inproceedings{palumbo2023mmvae,
  author = {Emanuele Palumbo and Imant Daunhawer and Julia E Vogt},
  title = {{MMVAE+: Enhancing the Generative Quality of Multimodal VAEs without Compromises}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=sdQGxouELX},
}
Figure