Abstract
Multi-modal learning aims to integrate information across diverse data types, such as images and text. Current architectures, including Product-of-Experts (PoE) and Mixture-of-Experts (MoE), often struggle with modality dominance or high computational overhead. This paper introduces the Bayesian Mixture Variational Autoencoder (BMVAE), which utilizes a dimension-wise Bayesian selection mechanism. By learning unique mixture weights for every latent dimension, BMVAE effectively partitions the latent space into shared and modality-specific subspaces. Our results demonstrate that BMVAE achieves state-of-the-art performance on benchmarks like MNIST-SVHN and MultiBench while offering superior computational efficiency.
Introduction
In multi-modal learning, the goal is to enable machines to generalize knowledge across different data modalities—for instance, generating a textual description from an image. Researchers typically rely on two primary architectures: Product-of-Experts (PoE) and Mixture-of-Experts (MoE). However, both have significant drawbacks. PoE models (e.g., MVAE) often suffer from "overconfident experts," where a high-resolution modality dominates the latent space. Conversely, MoE models (e.g., MMVAE) are computationally expensive, requiring $M^2$ passes through decoders for $M$ modalities, and are prone to "modality collapse."
Furthermore, disentangling "shared" features (e.g., the semantic content of a digit) from "modality-specific" features (e.g., font style vs. background noise) remains a challenge without explicit supervision.
The BMVAE Framework
The proposed Bayesian Mixture Variational Autoencoder (BMVAE) addresses these issues through dimension-wise mixture weights. Rather than assigning a single weight to an entire modality, BMVAE learns a unique mixture weight for every individual dimension in the latent vector.
Key Technical Components
- BMVAE-M (MoE version): This variant uses a categorical distribution, sampled via the Gumbel-Softmax trick, to select which modality's encoder "wins" for a specific latent dimension during training. This stochastic selection forces all experts to remain capable, preventing collapse.
- BMVAE-P (PoE version): This version utilizes a weighted product of Gaussians, where weights are sampled from a Dirichlet distribution.
- Efficiency: By selecting specific dimensions, BMVAE-M only requires $M$ passes through the decoders, significantly reducing the computational cost from the $M^2$ passes required by MMVAE.
- Stochastic Inference: Treating mixture weights as random variables allows the model to naturally identify private versus shared subspaces through Bayesian inference.
Experimental Evaluation
The model was evaluated across several benchmarks, including MNIST-SVHN, CUB (Caltech-UCSD Birds), and the comprehensive MultiBench suite (covering language, image, video, and audio).
Key Results
- Latent Classification: On the MNIST-SVHN task, BMVAE-M achieved 0.94 accuracy for MNIST and 0.76 for SVHN, outperforming the MMVAE baseline (0.91 and 0.68, respectively).
- Coherence: BMVAE produced more consistent cross-modal results in random generation tasks, such as matching a generated digit's text name to its visual representation.
- Robustness: On MultiBench, BMVAE exhibited lower performance variance across noisy data compared to standard PoE models like mmJSD.
Discussion and Insights
A primary "aha" moment in this research was the discovery that dimension-wise weighting leads to automatic latent space partitioning. Dimensions with high weights for a single modality become "private" (capturing style), while dimensions with equal weights across modalities become "shared" (capturing content).
By introducing stochastic selection, the model faces a "risk": if it relies too heavily on one modality that isn't selected for a specific dimension, reconstruction fails. This motivates the model to balance the capabilities of all experts. While the model shows sensitivity to the regularization parameter ($\lambda_c$), it provides a unified theoretical bridge between MoE and PoE frameworks, offering a more robust path forward for heterogeneous multi-modal data.
Summary updated