Multi-Modal Latent Diffusion

Mustapha Bounoua, Giulio Franzese, Pietro Michiardi

TL;DR

Researchers have introduced Multi-modal Latent Diffusion (MLD), a framework that finally breaks the "coherence-quality tradeoff" that has long plagued multi-modal generative models. By combining independent, deterministic autoencoders with a novel "multi-time" masked diffusion process in a joint latent space, MLD achieves state-of-the-art results in generating high-quality data across different modalities (like images, text, and audio) that actually match one another.

What Problem Does This Paper Address?

In the world of generative AI, "multi-modal" models aim to generate data in multiple forms simultaneously—for example, creating an image of a bird along with a text description and perhaps even the sound of its song.

Traditionally, this has been the territory of Multi-modal Variational Autoencoders (VAEs). However, VAEs face a frustrating "coherence-quality tradeoff." If you design the model to produce high-quality, realistic samples (Product of Experts approach), the modalities often don't match (low coherence). If you prioritize making the modalities match (Mixture of Experts approach), the actual quality of the generated data tends to be poor.

The authors identify two root causes for this: latent collapse (where the model ignores the latent variables) and information loss during the training process. MLD aims to bypass these VAE-specific limitations entirely by rethinking the architecture from the ground up.

Methods

MLD operates in two distinct stages:

  1. Independent Modality Encoding: Instead of trying to learn a joint distribution right away, the authors train independent, deterministic autoencoders for each modality (e.g., one for images, one for text). Because these are deterministic and trained separately, they avoid "gradient conflicts" (where one modality overpowers another) and preserve maximum information in their respective latent spaces.
  2. Multi-modal Latent Diffusion: The individual latent variables are concatenated into one giant "joint latent space." The core of the generative power comes from a masked diffusion model trained on this joint space.

The "Secret Sauce": Multi-time Training Standard diffusion models usually have a single global "time" variable representing noise levels. MLD introduces a multi-time vector ($\tau$). During training, some modalities are "frozen" (time = 0) to act as conditions, while others are "diffused" (time = $t$) to be generated. This allows a single score-network to handle "any-to-any" generation—meaning you can use any subset of modalities to generate any other missing subset without needing to train a different model for every possible combination.

Datasets

The authors put MLD through an extensive experimental campaign using five diverse datasets:

  • MNIST-SVHN: Matching handwritten digits with street-view house numbers (testing cross-domain coherence).
  • MHD (Multi-modal Handwritten Digits): A complex mix of image, motion trajectory, and audio (Mel-spectrograms).
  • POLYMNIST: A synthetic dataset with five different styles of MNIST digits.
  • CUB (Caltech Birds): Real-world bird images paired with 10 textual descriptions.
  • CelebAMask-HQ: High-resolution face images paired with segmentation masks and text attributes.

Key Insights and Ideas

  • Deterministic is Better for Information: By ditching the stochastic nature of VAE encoders in the first stage, the authors ensure that no information is lost to the "KL-divergence bottleneck." The diffusion model in the second stage is much better at handling the complexity of the prior distribution.
  • Co-evolution of Modalities: Unlike models that use one modality to "guide" another (like text-to-image), MLD treats all modalities as equal. In the joint diffusion process, the latent variables for images and audio "co-evolve," leading to naturally higher coherence.
  • In-painting vs. Multi-time: The paper argues that standard "in-painting" (using an unconditional model for conditional tasks) fails in multi-modal settings because different modalities have different levels of robustness to noise. The proposed multi-time training explicitly teaches the model how to handle these imbalances.

Key Results

MLD consistently outperformed all VAE-based competitors (like MVAE, MMVAE, and MOPOE) across the board:

  • Coherence: On the MNIST-SVHN task, MLD achieved 85.22% joint coherence, nearly doubling the performance of the best VAE baselines (~48%).
  • Quality: In the MHD dataset, MLD achieved significantly lower FID (image quality) and FAD (audio quality) scores. For instance, its image FID was 7.98, compared to the next best model at 94.9.
  • Complex Tasks: On the CUB dataset, MLD was the only model capable of generating bird images that actually matched the provided text descriptions with convincing visual quality. When upgraded with a more powerful image autoencoder (MLD*), the results were near-photorealistic.

Limitations and Future Work

The primary limitation acknowledged is that MLD’s performance is heavily dependent on the quality of the first-stage autoencoders. If the initial autoencoder can't reconstruct a modality perfectly, the diffusion model can't fix it.

The authors suggest that future work could involve scaling MLD to even more complex, high-resolution datasets and exploring more sophisticated architectures for the modality-specific autoencoders. There is also room to explore how this "any-to-any" framework could be applied to large-scale foundation models.

Summary updated

BibTeX
@article{bounoua2024multi,
  author = {Mustapha Bounoua and Giulio Franzese and Pietro Michiardi},
  title = {{Multi-Modal Latent Diffusion}},
  journal = {Entropy},
  year = {2024},
  doi = {10.3390/e26040320},
}

Loading related content...

Figure