Skip to main content
QUICK REVIEW

[Paper Review] 4M: Massively Multimodal Masked Modeling

David Mizrahi, Roman Bachmann|arXiv (Cornell University)|Dec 11, 2023
Multimodal Machine Learning ApplicationsComputer Science9 citations
TL;DR

4M trains a single unified Transformer to model many modalities (text, images, geometry, semantics, and neural features) with a multimodal masked modeling objective, enabling out-of-the-box vision tasks, strong transfer to unseen modalities, and flexible multimodal generation and editing.

ABSTRACT

Current machine learning models for vision are often highly specialized and limited to a single modality and task. In contrast, recent large language models exhibit a wide range of capabilities, hinting at a possibility for similarly versatile models in computer vision. In this paper, we take a step in this direction and propose a multimodal training scheme called 4M. It consists of training a single unified Transformer encoder-decoder using a masked modeling objective across a wide range of input/output modalities - including text, images, geometric, and semantic modalities, as well as neural network feature maps. 4M achieves scalability by unifying the representation space of all modalities through mapping them into discrete tokens and performing multimodal masked modeling on a small randomized subset of tokens. 4M leads to models that exhibit several key capabilities: (1) they can perform a diverse set of vision tasks out of the box, (2) they excel when fine-tuned for unseen downstream tasks or new input modalities, and (3) they can function as a generative model that can be conditioned on arbitrary modalities, enabling a wide variety of expressive multimodal editing capabilities with remarkable flexibility. Through experimental analyses, we demonstrate the potential of 4M for training versatile and scalable foundation models for vision tasks, setting the stage for further exploration in multimodal learning for vision and other domains.

Motivation & Objective

  • Motivate the development of versatile, scalable foundation models for vision that handle multiple modalities and tasks.
  • Propose a unified Transformer encoder–decoder trained with a multimodal masked modeling objective across diverse input/output modalities.
  • Demonstrate that a single model can perform core vision tasks, transfer well to unseen modalities and tasks, and support multimodal conditional generation and editing.

Proposed method

  • Unify diverse modalities by mapping each modality to a sequence or set of discrete tokens via modality-specific tokenizers.
  • Use a single Transformer encoder–decoder to map between any pair of modalities with cross-attention and modality-specific decoder masks.
  • Train with a multimodal masked modeling objective that randomly samples input and target token subsets from all modalities, to enable scalable cross-modal predictive coding.
  • Pre-train on a pseudo-l labeled multimodal dataset derived from CC12M using binding networks to align modalities lacking explicit multimodal annotations.
  • Demonstrate generative capabilities through iterative token decoding to produce and edit multiple modalities, with conditioning on arbitrary modalities.

Experimental results

Research questions

  • RQ1Can a single unified model learn cross-modal representations across text, image-like modalities, and neural features?
  • RQ2How does multimodal masking and tokenization affect scalability, transfer to unseen modalities, and generation/editing capabilities?
  • RQ3To what extent can the model perform vision tasks out of the box and after fine-tuning on unseen downstream tasks or modalities?
  • RQ4What are the effects of input/target modality choices and masking strategies on representation learning and downstream transfer?
  • RQ5How effective is the model as a steerable, multimodal generator conditioned on arbitrary modalities?

Key findings

  • 4M learns rich cross-modal representations enabling many vision tasks without task-specific architectures.
  • Pre-training on all input and target modalities yields strong transfer to downstream tasks across detection, segmentation, and depth estimation, outperforming several baselines in most settings.
  • The model supports multimodal conditional generation and in-painting, enabling semantic editing and geometry-grounded generation.
  • Ablation studies show that multimodal pre-training and the choice of target modalities significantly influence transfer performance, with all-modal pre-training generally offering broadest utility.
  • Scaling analyses indicate that performance improves with larger datasets, longer training, and bigger model sizes, up to practical limits.

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.