Multimodal Adversarially Learned Inference with Factorized Discriminators

Wenxue Chen, Jianke Zhu

Introduction

In real-world applications, data is inherently multimodal, comprising images, text, audio, and sensor readings that describe shared underlying concepts. A primary goal of multimodal generative modeling is to learn a shared latent representation—a "common language"—across these modalities. This enables cross-modal tasks such as generating captions from images or synthesizing visual content from textual descriptions.

However, existing approaches, particularly those based on Variational Autoencoders (VAEs), encounter significant obstacles. First, they often struggle with data efficiency, failing to leverage abundant "unpaired" data effectively. Second, standard Generative Adversarial Network (GAN) extensions like ALI or BiGAN scale poorly, typically requiring an exponential number of encoders to account for every possible combination of observed modalities.

The MMALI Framework

To address these challenges, we introduce Multimodal Adversarially Learned Inference (MMALI). This framework is built upon three technical pillars designed to improve scalability and representation learning.

Simultaneous Alignment and Factorized Discriminators

MMALI avoids the need for an exponential number of encoders by demonstrating that it is mathematically sufficient to align each unimodal encoder distribution with the joint decoder distribution simultaneously. The core innovation lies in the factorization of the discriminator. A standard joint discriminator $D(X, z)$ is notoriously difficult to train. By factorizing it into smaller components that estimate probability density ratios, the model can be trained on unimodal data. This effectively embeds a contrastive learning mechanism into the GAN framework, allowing it to learn from unpaired samples.

The MMALI architecture aligns unimodal encoder distributions with the joint decoder distribution through factorized discriminators.

Latent Space Factorization and Inference

To preserve modality-specific details (such as the font of a digit versus its numerical value), MMALI splits the latent code into a shared content code and modality-specific style codes. During inference, when multiple modalities are present, the model employs a "Mixture-of-Experts" (MoE) approach, averaging predictions from different unimodal encoders to derive a robust shared representation. This avoids the "Product of Experts" (PoE) trap common in VAEs, where combined distributions become too sharp to align with a single decoder.

Experimental Evaluation

MMALI was evaluated on three distinct benchmarks:

  1. MultiMNIST: A synthetic dataset where a single digit is rotated into four modalities (0, 90, 180, and 270 degrees).
  2. MNIST-SVHN: A classic pairing of handwritten digits with street-view house numbers of the same class.
  3. CUB Image-Captions: A real-world dataset of 200 bird species, each with 10 text descriptions.

Key Results

MMALI demonstrates superior performance in both representation learning and generative coherence. On the MultiMNIST task, the factorized discriminator achieved 96.75% classification accuracy on learned representations, significantly outperforming the 85.27% achieved by a standard joint discriminator.

Joint generation results on MNIST-SVHN, demonstrating high coherence between modalities.

In the MNIST-SVHN task, MMALI significantly outperformed state-of-the-art models like MMVAE and MMJSD in "Joint Coherence"—the ability to generate pairs of images that represent the same digit. Furthermore, on the CUB dataset, the model's cross-modal correlation scores (Image to Caption and vice versa) exceeded the ground truth scores of the test set, indicating a deep capture of underlying semantic links.

Conclusion and Future Work

MMALI offers a scalable and data-efficient alternative to VAE-based multimodal models. By factorizing the discriminator, it turns a complex joint-distribution problem into a series of manageable density ratio estimations.

One surprising finding, termed the "Unimodal Paradox," showed that adding excessive unimodal data while keeping paired data constant can slightly degrade performance, a phenomenon requiring further study. Future work will explore extending this framework to semi-supervised learning and more complex sequence generation tasks.

Summary updated

BibTeX
@inproceedings{chen2022multimodal,
  author = {Wenxue Chen and Jianke Zhu},
  title = {{Multimodal Adversarially Learned Inference with Factorized Discriminators}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i6.20580},
}
Figure