Multimodal Variational Autoencoder: A Barycentric View

Peijie Qiu, Wenhui Zhu, Sayantan Kumar, Xiwen Chen, Jin Yang, Xiaotong Sun, Abolfazl Razi, Yalin Wang, Aristeidis Sotiras

Introduction

In multimodal learning, the goal is to develop models capable of processing diverse data types—such as images, text, and audio—simultaneously. A central challenge for Multimodal Variational Autoencoders (MVAEs) is the aggregation of unimodal information into a coherent joint latent representation. Historically, researchers have relied on two primary strategies: Product of Experts (PoE) and Mixture of Experts (MoE).

PoE methods multiply distributions, often yielding sharp results but suffering from a "zero-forcing" bias where noisy or missing modalities can collapse the joint representation. Conversely, MoE methods average distributions, providing robustness at the cost of "mass-covering" behavior that results in blurry, less precise latent spaces. This paper introduces a unifying theoretical framework that views these aggregation methods through the lens of barycenters.

The Barycentric Framework

The authors propose that the aggregation of modality-specific distributions can be framed as a barycenter problem. A barycenter is a "mean" distribution that minimizes the weighted sum of divergences to a set of target distributions.

This perspective reveals a deep connection between existing methods: PoE is the barycenter when minimizing the reverse KL divergence, while MoE is the barycenter for the forward KL divergence. To overcome the limitations of KL-based aggregation, the authors introduce WB-VAE, which utilizes the 2-Wasserstein distance.

Comparison of aggregation methods: (a) PoE (reverse KL), (b) MoE (forward KL), and (c) Wasserstein barycenter (WB).

Unlike KL divergence, the Wasserstein distance accounts for the underlying geometry of the distributions. By treating the latent space as a geodesic space, WB-VAE can interpolate between modalities more naturally. For the Gaussian distributions standard in VAEs, the Wasserstein barycenter (specifically the Bures-Wasserstein barycenter) has a closed-form analytical solution, ensuring computational efficiency. The authors also extend this to MWB-VAE (Mixture of Wasserstein Barycenters) to handle subsets of modalities effectively.

Experimental Results

The proposed models were evaluated on benchmarks including PolyMNIST, MNIST-SVHN-TEXT, and Bimodal CelebA. The results demonstrate that the barycentric approach significantly improves both representation quality and cross-modal generation.

Performance metrics across varying numbers of input modalities for different MVAE architectures.

A key finding is the superior scaling of WB-VAE. As shown in the performance plots, WB-VAE and MWB-VAE exhibit nearly linear performance gains as more modalities are added, whereas baseline methods like PoE-VAE often saturate or degrade. On the MNIST-SVHN-TEXT task, MWB-VAE achieved a linear classification accuracy of 0.97, surpassing MoPoE (0.95) and PoE (0.83). Furthermore, in challenging CelebA tasks, WB-VAE showed a 30.8% improvement in average precision for text-to-image generation compared to the next best method.

Conclusion

By reinterpreting multimodal aggregation as a barycenter problem, this work provides a rigorous theoretical foundation for MVAEs. The introduction of Wasserstein barycenters allows for latent representations that better preserve data geometry while avoiding the extreme biases of PoE and MoE. Future work may explore extending this framework to non-Gaussian distributions or alternative divergence measures like $f$-divergences to further capture complex inter-modal relationships.

Summary updated

BibTeX
@inproceedings{qiu2025multimodal,
  author = {Peijie Qiu and Wenhui Zhu and Sayantan Kumar and Xiwen Chen and Jin Yang and Xiaotong Sun and Abolfazl Razi and Yalin Wang and Aristeidis Sotiras},
  title = {{Multimodal Variational Autoencoder: A Barycentric View}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i19.34209},
}
Figure