Mitigating Modality Collapse in Multimodal VAEs via Impartial Optimization

Adrián Javaloy, Maryam Meghdadi, Isabel Valera
6/9/2022
cs.LG

Official code: adrianjav/impartial-vaes (4 stars, Python, MIT, last commit 2022-10-23).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

Code to reproduce the results of the ICML 2022 paper "Mitigating Modality Collapse in Multimodal VAEs via Impartial Optimization."

42Python, ShellOct 23, 20224 years agoMIT
machine-learningmultitask-learningtabular-datavae-pytorch

Similar Papers

Cite this paper

@article{javaloy2022mitigating,
  title  = {Mitigating Modality Collapse in Multimodal VAEs via Impartial Optimization},
  author = {Adrián Javaloy and Maryam Meghdadi and Isabel Valera},
  year   = {2022},
  eprint = {2206.04496},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.04496}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.04496.svg)](https://codeofpaper.com/paper/2206.04496)

Discussion