Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Vision-Language Pre-Training with Triple Contrastive Learning

About

Vision-language representation learning largely benefits from image-text alignment through contrastive losses (e.g., InfoNCE loss). The success of this alignment strategy is attributed to its capability in maximizing the mutual information (MI) between an image and its matched text. However, simply performing cross-modal alignment (CMA) ignores data potential within each modality, which may result in degraded representations. For instance, although CMA-based models are able to map image-text pairs close together in the embedding space, they fail to ensure that similar inputs from the same modality stay close by. This problem can get even worse when the pre-training data is noisy. In this paper, we propose triple contrastive learning (TCL) for vision-language pre-training by leveraging both cross-modal and intra-modal self-supervision. Besides CMA, TCL introduces an intra-modal contrastive objective to provide complementary benefits in representation learning. To take advantage of localized and structural information from image and text input, TCL further maximizes the average MI between local regions of image/text and their global summary. To the best of our knowledge, ours is the first work that takes into account local structure information for multi-modality representation learning. Experimental evaluations show that our approach is competitive and achieves the new state of the art on various common down-stream vision-language tasks such as image-text retrieval and visual question answering.

Jinyu Yang, Jiali Duan, Son Tran, Yi Xu, Sampath Chanda, Liqun Chen, Belinda Zeng, Trishul Chilimbi, Junzhou Huang• 2022

Related benchmarks

TaskDatasetResultRank
Visual Question AnsweringVQA v2 (test-dev)
Overall Accuracy74.9
664
Visual Question AnsweringVQA v2 (test-std)
Accuracy74.92
466
Image-to-Text RetrievalFlickr30K 1K (test)
R@194.9
439
Text-to-Image RetrievalFlickr30k (test)
Recall@184
423
Text-to-Image RetrievalFlickr30K 1K (test)
R@184
375
Image-to-Text RetrievalFlickr30k (test)
R@194.9
370
Visual Question AnsweringVQA 2.0 (test-dev)
Accuracy74.9
337
Natural Language Visual ReasoningNLVR2 (test-p)
Accuracy81.33
327
Natural Language Visual ReasoningNLVR2 (dev)
Accuracy80.54
288
Text-to-Image RetrievalMSCOCO 5K (test)
R@175.6
286
Showing 10 of 43 rows

Other info

Code

Follow for update