Introduction
Multimodal Variational Autoencoders (VAEs) aim to learn a joint representation of data from multiple sources, such as images, text, and audio. A central challenge in these models is the aggregation of modality-specific "experts" (encoders) into a single latent distribution. Existing methods like the Product of Experts (PoE) and Mixture of Experts (MoE) typically assume that these modalities are independent given the latent variable. However, in real-world scenarios, modalities are often highly dependent views of the same underlying object. Ignoring these correlations leads to overconfident latent estimates and a "generative quality gap," where adding more modalities can paradoxically degrade the performance of individual modality generation.
The CoDE-VAE Framework
To address these limitations, we introduce the Consensus of Dependent Experts (CoDE-VAE). This framework explicitly models the dependencies between experts by treating each modality-specific encoder as a noisy, correlated estimate of the true latent variable.
Stochastic Dependence and Bayesian Aggregation
Unlike PoE, which multiplies independent distributions, CoDE introduces a correlation parameter ($\rho$) into the joint covariance matrix of the expert distributions. This allows the model to account for shared information between modalities. Using a principled Bayesian approach, CoDE derives a "consensus distribution" that effectively weights experts based on their certainty while correcting for information overlap.
Weighted ELBO and Sub-sampling
Standard multimodal VAEs often weight all subsets of modalities equally in the Evidence Lower Bound (ELBO) loss. CoDE-VAE introduces learnable weights ($\pi_k$) for different subsets, allowing the model to prioritize more reliable combinations of data. Furthermore, CoDE-VAE avoids the need for modality sub-sampling during training—a common practice in MoE models that often degrades log-likelihood estimation.
Experimental Evaluation
We evaluated CoDE-VAE on three benchmarks: MNIST-SVHN-Text, PolyMNIST, and the CUB (Caltech Birds) dataset.
Generative Coherence and Quality
CoDE-VAE consistently outperforms state-of-the-art benchmarks in generative coherence. On the MNIST-SVHN-Text dataset, it achieved a conditional coherence of 0.82. Notably, in the PolyMNIST experiments, CoDE-VAE was the only model where generative quality (measured by FID) improved as the number of modalities increased from 2 to 5, eventually matching the performance of a specialized unimodal VAE.
Likelihood Estimation
By avoiding sub-sampling and using a more mathematically rigorous aggregation method, CoDE-VAE produces tighter log-likelihood estimates compared to MoE-based models. This indicates a better fit to the true data distribution.
Conclusion
CoDE-VAE demonstrates that explicitly modeling dependencies between modalities is crucial for high-performance multimodal learning. By replacing the independence assumption with a consensus-based approach and learnable subset weighting, the model closes the generative quality gap and provides more accurate likelihood estimations. Future work includes dynamically learning the correlation parameter $\rho$ and extending the framework to non-Gaussian latent distributions.
Summary updated