VLMAE: Vision-Language Masked Autoencoder

Sunan He, Taian Guo, Tao Dai, Ruizhi Qiao, Chen Wu, Xiujun Shu, Bo RenarXiv 2022 · DOI

Introduction

Vision-Language Pre-training (VLP) has seen significant success using contrastive learning to align visual and textual representations. However, a persistent challenge is focal bias: models often learn to ignore image regions not explicitly mentioned in training captions. For instance, if a caption only describes a "purple chair," the model may fail to encode a nearby "lamp," leading to poor performance on downstream tasks like Visual Question Answering (VQA) that require a broader scene understanding. VLMAE (Vision-Language Masked Autoencoder) addresses this by integrating a generative reconstruction task into the VLP pipeline.

Methodology

VLMAE combines high-level semantic alignment with low-level pixel reconstruction. Its architecture consists of two uni-modal encoders (ViT for images, BERT-style for text), a fusion learner, and a lightweight image decoder.

Core Components

  • Asymmetric Masking: VLMAE masks 50% of image patches. The encoder only processes visible patches, reducing computational overhead by approximately 20%.
  • Regional Masked Image Modeling (RMIM): The image decoder reconstructs missing pixels using both visible visual patches and textual features. This cross-modal interaction encourages the model to use language as a semantic guide for visual reconstruction.
  • Image Feature Reconstruction (IFR): To maintain global context, a student encoder predicts the features of the full image (provided by a momentum teacher encoder) using only the masked input.
  • Standard VLP Tasks: The model retains standard losses like Image-Text Contrastive (ITC), Image-Text Matching (ITM), and Masked Language Modeling (MLM) to ensure high-level semantic alignment.

Experimental Results

VLMAE was pre-trained on a standard 4M image-text corpus (COCO, VG, SBU, CC) and evaluated across diverse benchmarks.

Comparison of ALBEF and VLMAE on VQA and Visual Grounding tasks, illustrating VLMAE's broader attention and improved accuracy.

Performance Gains

  • Visual Grounding: On RefCOCO+, VLMAE achieved a +5.7% improvement over ALBEF, highlighting its superior localization capabilities.
  • VQA & Retrieval: The model reached 75.3% accuracy on VQA v2.0 and 77.3% R@1 on MS COCO text retrieval.
  • Efficiency: VLMAE is more efficient than previous models, requiring fewer MACs (49.6G vs 60.5G for ALBEF) and reducing training time per epoch by 20%.

Discussion and Insights

The primary insight of VLMAE is the synergy between contrastive and generative learning. While contrastive tasks provide high-level semantic alignment, the generative MAE task forces the model to learn fine-grained geometry and texture across the entire image. Qualitative attention maps (Grad-CAM) demonstrate that while previous models like ALBEF suffer from "tunnel vision," VLMAE maintains a "universal focus" across the scene.

Interestingly, the optimal masking ratio for VLP (50%) differs from pure vision tasks (typically 75%). This suggests that multi-modal alignment requires more preserved visual context to effectively bridge the gap between pixels and language.

Conclusion

VLMAE effectively mitigates focal bias in vision-language models through masked autoencoding. By balancing semantic alignment with pixel-level reconstruction, it achieves state-of-the-art performance while simultaneously improving training efficiency. Future work may explore scaling these generative objectives to even larger datasets and model architectures.

Summary updated

BibTeX
@misc{he2022vlmae,
  author = {Sunan He and Taian Guo and Tao Dai and Ruizhi Qiao and Chen Wu and Xiujun Shu and Bo Ren},
  title = {{VLMAE: Vision-Language Masked Autoencoder}},
  year = {2022},
  eprint = {2208.09374},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.09374},
}
Figure