[Paper Review] Multimodal Masked Autoencoders Learn Transferable Representations
M3AE learns a unified vision-language representation by masked token reconstruction without modality-specific encoders or contrastive loss, achieving transferable representations for downstream tasks like ImageNet linear classification and OOD detection.
Building scalable models to learn from diverse, multimodal data remains an open challenge. For vision-language data, the dominant approaches are based on contrastive learning objectives that train a separate encoder for each modality. While effective, contrastive learning approaches introduce sampling bias depending on the data augmentations used, which can degrade performance on downstream tasks. Moreover, these methods are limited to paired image-text data, and cannot leverage widely-available unpaired data. In this paper, we investigate whether a large multimodal model trained purely via masked token prediction, without using modality-specific encoders or contrastive learning, can learn transferable representations for downstream tasks. We propose a simple and scalable network architecture, the Multimodal Masked Autoencoder (M3AE), which learns a unified encoder for both vision and language data via masked token prediction. We provide an empirical study of M3AE trained on a large-scale image-text dataset, and find that M3AE is able to learn generalizable representations that transfer well to downstream tasks. Surprisingly, we find that M3AE benefits from a higher text mask ratio (50-90%), in contrast to BERT whose standard masking ratio is 15%, due to the joint training of two data modalities. We also provide qualitative analysis showing that the learned representation incorporates meaningful information from both image and language. Lastly, we demonstrate the scalability of M3AE with larger model size and training time, and its flexibility to train on both paired image-text data as well as unpaired data.
Motivation & Objective
- Investigate whether a large multimodal model trained solely with masked token prediction can learn transferable representations across vision and language.
- Develop a simple, scalable architecture that uses a unified encoder for both modalities without modality-specific encoders.
- Assess how multimodal pre-training on large image-text data affects performance on downstream tasks like image classification and OOD detection.
- Evaluate the model's ability to leverage both paired and unpaired data in a single training framework.
Proposed method
- Treat image-text pairs as a long sequence of tokens (image patches + text tokens).
- Mask a high fraction of both image patches and text tokens and reconstruct the missing parts via a unified transformer encoder-decoder.
- Use modality-specific embeddings and a shared CLS token to map both modalities into a common representation space.
- Train with a reconstruction objective: MSE for masked image patches and cross-entropy for masked text tokens, only on masked elements.
- Allow training on mixtures of paired and unpaired data, enabling flexible data utilization without contrastive losses.
Experimental results
Research questions
- RQ1Can M3AE learn generalizable representations that transfer to downstream tasks such as ImageNet classification and OOD detection?
- RQ2Do the learned representations incorporate meaningful information from both image and language modalities?
- RQ3How does model size, training time, and masking strategy affect performance and transferability?
- RQ4Can M3AE effectively leverage both paired image-text data and unpaired data within a single training objective?
Key findings
- M3AE significantly outperforms MAE on ImageNet linear classification in their comparisons (e.g., 61.3 vs 44.6 in a reported setting).
- M3AE can leverage a mix of paired and unpaired data, achieving strong transfer even with partial pairing.
- A higher text mask ratio (around 50-75% or more) yields better performance for M3AE, unlike traditional BERT-like settings.
- M3AE scales well with larger model sizes and longer training, consistently beating MAE across ViT-S/16, ViT-B/16, and ViT-L/16 variants.
- Qualitative analyses show attention aligning with relevant image regions and corresponding text tokens, indicating joint vision-language understanding.
- M3AE demonstrates robustness in out-of-distribution detection and reconstruction quality across CC12M and ImageNet.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.