Single-Stream Multi-Level Alignment for Vision-Language Pretraining

Zaid Khan, Vijay Kumar BG, Xiang Yu, Samuel Schulter, Manmohan Chandraker +1 more
3/27/2022
cs.CV
contrastive-ssl

Official code: codezakh/SIMLA (8 stars, Python, last commit 2022-12-12).

Abstract

Self-supervised vision-language pretraining from pure images and text with a contrastive loss is effective, but ignores fine-grained alignment due to a dual-stream architecture that aligns image and text representations only on a global level. Earlier, supervised, non-contrastive methods were capable of finer-grained alignment, but required dense annotations that were not scalable.

Show full abstract

We propose a single stream architecture that aligns images and language at multiple levels: global, fine-grained patch-token, and conceptual/semantic, using two novel tasks: symmetric cross-modality reconstruction (XMM) and a pseudo-labeled key word prediction (PSL). In XMM, we mask input tokens from one modality and use cross-modal information to reconstruct the masked token, thus improving fine-grained alignment between the two modalities. In PSL, we use attention to select keywords in a caption, use a momentum encoder to recommend other important keywords that are missing from the caption but represented in the image, and then train the visual encoder to predict the presence of those keywords, helping it learn semantic concepts that are essential for grounding a textual token to an image region. We demonstrate competitive performance and improved data efficiency on image-text retrieval, grounding, visual question answering/reasoning against larger models and models trained on more data. Code and models available at zaidkhan.me/SIMLA.

View on arXivView PDF

Code Implementations(1)

codezakh/SIMLAOfficial100%

[ECCV 22] Single Stream Multi-Level Alignment for Vision Language Pretraining

80PythonJul 6, 20223 years ago

Similar Papers

Cite this paper

@article{khan2022singlestream,
  title  = {Single-Stream Multi-Level Alignment for Vision-Language Pretraining},
  author = {Zaid Khan and Vijay Kumar BG and Xiang Yu and Samuel Schulter and Manmohan Chandraker and Yun Fu},
  year   = {2022},
  eprint = {2203.14395},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.14395}
}

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/2203.14395.svg)](https://codeofpaper.com/paper/2203.14395)

Discussion