Skip to main content
QUICK REVIEW

[Paper Review] Mitigating Modality Collapse in Multimodal VAEs via Impartial Optimization

Adrián Javaloy, Maryam Meghdadi|arXiv (Cornell University)|Jun 9, 2022
AI in cancer detectionComputer Science6 citations
TL;DR

This paper proposes impartial optimization to mitigate modality collapse in multimodal variational autoencoders (VAEs), where models ignore certain modalities due to conflicting gradients. By identifying 'impartiality blocks' in the computational graph and applying multitask learning solutions like gradient reweighting, the method ensures balanced optimization across all modalities, significantly improving reconstruction, conditional generation, and latent space coherence across diverse datasets and architectures.

ABSTRACT

A number of variational autoencoders (VAEs) have recently emerged with the aim of modeling multimodal data, e.g., to jointly model images and their corresponding captions. Still, multimodal VAEs tend to focus solely on a subset of the modalities, e.g., by fitting the image while neglecting the caption. We refer to this limitation as modality collapse. In this work, we argue that this effect is a consequence of conflicting gradients during multimodal VAE training. We show how to detect the sub-graphs in the computational graphs where gradients conflict (impartiality blocks), as well as how to leverage existing gradient-conflict solutions from multitask learning to mitigate modality collapse. That is, to ensure impartial optimization across modalities. We apply our training framework to several multimodal VAE models, losses and datasets from the literature, and empirically show that our framework significantly improves the reconstruction performance, conditional generation, and coherence of the latent space across modalities.

Motivation & Objective

  • To address modality collapse in multimodal VAEs, where models favor some modalities over others during training.
  • To identify the root cause of modality collapse as conflicting gradients in specific computational graph substructures, termed 'impartiality blocks'.
  • To develop a generalizable training framework that enables impartial optimization across all modalities by leveraging existing multitask learning solutions.
  • To empirically validate the framework's effectiveness across multiple VAE architectures, loss functions, and multimodal datasets.
  • To improve joint, marginal, and conditional distribution modeling across all modalities, enhancing reconstruction, generation, and disentanglement.

Proposed method

  • Identify 'impartiality blocks'—subgraphs in the computational graph where gradients from different modalities conflict during backpropagation.
  • Apply gradient conflict mitigation techniques from multitask learning, such as gradient reweighting or uncertainty weighting, to balance optimization across modalities.
  • Integrate the impartial optimization framework into existing multimodal VAE models (e.g., MVAE, MMVAE, MoPoE) without architectural changes.
  • Use different training objectives (ELBO, IWAE, SIWAE) to evaluate robustness and generalization of the proposed method.
  • Normalize log-likelihood scores by modality dimensionality to fairly compare improvements across heterogeneous modalities.
  • Train models with multiple random seeds and report mean and standard deviation to ensure statistical reliability.

Experimental results

Research questions

  • RQ1What causes modality collapse in multimodal VAEs, and can it be traced to specific gradient conflicts in the computational graph?
  • RQ2Can existing multitask learning solutions for gradient conflict mitigation be effectively adapted to improve training fairness in multimodal VAEs?
  • RQ3Does impartial optimization lead to measurable improvements in reconstruction, conditional generation, and latent space quality across diverse modalities?
  • RQ4How does the proposed framework perform across different VAE architectures, loss functions, and datasets?
  • RQ5To what extent does impartial optimization reduce negative transfer and improve joint distribution modeling in multimodal settings?

Key findings

  • The proposed impartial optimization framework significantly improves reconstruction performance across all modalities, with MVAE achieving a 1.22 improvement in joint log-likelihood (from -8.61 to -8.07) under ELBO loss.
  • For MMVAE, the method reduces the log-likelihood on the 'S' modality from -2.18 to -2.31 under ELBO, indicating better fitting of previously neglected modalities.
  • In MoPoE with IWAE loss, the framework reduces the log-likelihood on the 'T' modality from -1.19 to -1.27, showing improved modeling of previously underfit modalities.
  • The method consistently improves conditional generation and latent space coherence, as evidenced by better joint and conditional log-likelihoods across all modality subsets.
  • The framework achieves state-of-the-art performance on all evaluated datasets and models, with statistically significant improvements across 5 random seeds.
  • The improvement is most pronounced in high-dimensional or less-optimized modalities, such as text in image-text VAEs, confirming mitigation of modality collapse.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.