NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning multi-modal generative models with permutation-invariant encoders and tighter variational objectives

Marcel Hirt, Domenico Campolo, Victoria Leong, Juan-Pablo Ortega

TL;DR

Current multi-modal Variational Autoencoders (VAEs) rely on mixture-based bounds that loosen as modalities become diverse, paired with rigid aggregation schemes like Product- or Mixture-of-Experts. This paper introduces a tighter variational lower bound based on arbitrary modality masking alongside flexible, permutation-invariant encoders (such as DeepSets and Set Transformers). Across synthetic identifiable benchmarks and the tri-modal MNIST-SVHN-Text dataset, the proposed framework consistently achieves higher data log-likelihood and superior latent identifiability.

What Problem Does This Paper Address?

Multi-modal VAEs aim to learn a shared latent representation across heterogeneous sources of data (such as vision, text, and audio, or multi-omics profiles) in an unsupervised or weakly supervised manner. However, existing architectures face two major challenges:

  1. Loose Objectives: Standard multi-modal bounds (such as mixture-of-experts ELBOs) suffer from an irreducible gap to the true joint data log-likelihood when modalities exhibit distinct, modality-specific variations. This gap widens as more diverse modalities are introduced.
  2. Inflexible Fusion: To handle arbitrary subsets of missing modalities, models typically merge unimodal posteriors using fixed rules: Mixture-of-Experts (MoE) or Product-of-Experts (PoE). MoE tends to average distributions (diluting information), while PoE multiplies Gaussian densities (yielding overconfident posteriors and struggling with multimodal or mixture distributions).

Methods

The authors tackle both the objective function and the aggregation network:

  • A Tighter Masked Variational Bound: For any subset of observed modalities $S \subset \mathcal{M}$, the authors decompose the joint objective into a marginal lower bound on the observed subset $\mathcal{L}_S(x_S)$ and an approximate conditional lower bound on the unobserved modalities $\mathcal{L}_{\setminus S}(x)$: $$\mathcal{L}(x) = \mathbb{E}_{S \sim \rho} \left[ \mathcal{L}_S(x_S) + \mathcal{L}_{\setminus S}(x) \right]$$ Unlike mixture bounds, this bound becomes tight to the true data log-likelihood $\log p_\theta(x)$ when encoders achieve universal posterior approximation.

  • Permutation-Invariant (PI) Aggregation: Unimodal feature encoders $h_{s,\varphi}(x_s)$ extract representations that are aggregated using order-agnostic architectures:

  • SumPooling (DeepSets): A shared MLP transforms unimodal embeddings before sum-reduction and an outer projection MLP.
  • SelfAttention (Set Transformer): Multi-head self-attention layers model cross-modal interactions without imposing modality order.
  • Permutation-Equivariant (PE) Schemes for Private Latents: For models factorizing latent space into shared latents $Z'$ and private latents $\tilde{Z}_s$, the authors design equivariant mappings ensuring private latents do not erroneously absorb cross-modal correlations.
  • Efficient Mixture Priors: For multimodal latent spaces with categorical cluster variables $c \in [K]$, the optimal cluster assignment is computed analytically, bypassing high-variance score-function estimators.

Datasets

The authors validate their approach across several synthetic and real-world benchmarks:

  • Linear Multi-Modal Models: Synthetic linear Gaussian setups ($M = 5$ modalities, $D = 30$ latent dimensions) with dense decoders and sparse decoders (shared vs. private variables).
  • Non-Linear Identifiable Benchmarks:
  • Synthetic bi-modal dataset combining a continuous modality with a categorical auxiliary label (following iVAE / ICE-BeeM setups).
  • 5 continuous modalities under both fully observed ($\eta = 0$) and partially observed / missing-completely-at-random ($\eta = 0.5$) conditions.
  • MNIST-SVHN-Text: A tri-modal benchmark pairing clean MNIST digits, noisy SVHN street numbers, and text descriptions (using 1.1M training and 200k test samples).

Key Insights and Ideas

  • Bridging ELBO Surgery and Neural Processes: The decomposition of $\mathcal{L}(x)$ into $\mathcal{L}_S + \mathcal{L}_{\setminus S}$ resembles context-target prediction in Neural Processes. Maximizing $\mathcal{L}_{\setminus S}$ directly minimizes a Bayes-consistency penalty between aggregated subsets and full encoders, drastically reducing the multi-modal "prior-hole" problem.
  • Learned Invariance Beats Handcrafted Pooling: PoE and MoE impose rigid mathematical assumptions on how information should combine. Set-based neural networks learn expressive pooling operations directly from data, naturally handling non-Gaussian posteriors.
  • Connection to Non-linear Identifiability: Conditioning on an observed modality subset acts as an auxiliary conditioning variable, satisfying the invertibility conditions needed to recover true ground-truth latent components up to linear indeterminacy.

Key Results

  • Identifiability (MCC): In non-linear identifiable models with 5 modalities, the proposed bound combined with SumPooling or SelfAttention achieved Mean Correlation Coefficients of 0.95–0.96 (vs. 0.90–0.93 for MoE/PoE under mixture bounds).
  • Likelihoods: On partially observed 5-modality identifiable data, the new bound and learned aggregation reached test LLH of $-244.8$ compared to $-288.4$ for PoE with a mixture bound.
  • MNIST-SVHN-Text:
  • Joint Test LLH: With a shared 40-D latent space, SumPooling under the proposed bound reached 7056, vastly surpassing PoE under the proposed bound (6775) and SumPooling under the mixture bound (6130).
  • Cross-Modal Generation: The model successfully generated realistic, coherent SVHN images from MNIST or text queries, a failure mode for mixture-based bounds.

Limitations and Future Work

  • Computational Cost: Each gradient step requires sampling from two latent encoding distributions ($q_\phi(z|x_S)$ and $q_\phi(z|x)$), approximately doubling inference overhead during training.
  • Cross-Reconstruction Trade-off: Rate-distortion analysis reveals that while the proposed bound dramatically optimizes joint likelihood and full reconstruction, mixture-based bounds can sometimes achieve lower cross-modal distortion.
  • Future Work: The authors highlight extending permutation-invariant encoding to multi-modal time-series, non-random missingness mechanisms, and pairing with score-based latent diffusion priors.

Summary updated

BibTeX
@article{hirt2024learning,
  author = {Marcel Hirt and Domenico Campolo and Victoria Leong and Juan-Pablo Ortega},
  title = {{Learning multi-modal generative models with permutation-invariant encoders and tighter variational objectives}},
  journal = {Accepted by TMLR},
  year = {2024},
  url = {https://openreview.net/forum?id=lM4nHnxGfL},
}
Figure