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

COTS: Collaborative Two-Stream Vision-Language Pre-Training Model for Cross-Modal Retrieval

About

Large-scale single-stream pre-training has shown dramatic performance in image-text retrieval. Regrettably, it faces low inference efficiency due to heavy attention layers. Recently, two-stream methods like CLIP and ALIGN with high inference efficiency have also shown promising performance, however, they only consider instance-level alignment between the two streams (thus there is still room for improvement). To overcome these limitations, we propose a novel COllaborative Two-Stream vision-language pretraining model termed COTS for image-text retrieval by enhancing cross-modal interaction. In addition to instance level alignment via momentum contrastive learning, we leverage two extra levels of cross-modal interactions in our COTS: (1) Token-level interaction - a masked visionlanguage modeling (MVLM) learning objective is devised without using a cross-stream network module, where variational autoencoder is imposed on the visual encoder to generate visual tokens for each image. (2) Task-level interaction - a KL-alignment learning objective is devised between text-to-image and image-to-text retrieval tasks, where the probability distribution per task is computed with the negative queues in momentum contrastive learning. Under a fair comparison setting, our COTS achieves the highest performance among all two-stream methods and comparable performance (but with 10,800X faster in inference) w.r.t. the latest single-stream methods. Importantly, our COTS is also applicable to text-to-video retrieval, yielding new state-ofthe-art on the widely-used MSR-VTT dataset.

Haoyu Lu, Nanyi Fei, Yuqi Huo, Yizhao Gao, Zhiwu Lu, Ji-Rong Wen• 2022

Related benchmarks

TaskDatasetResultRank
Image-to-Text RetrievalFlickr30K 1K (test)
R@190.6
439
Text-to-Image RetrievalFlickr30K 1K (test)
R@178.3
375
Image-to-Text RetrievalMS-COCO 5K (test)
R@170.6
299
Text-to-Image RetrievalMSCOCO 5K (test)
R@153.7
286
Text-to-Video RetrievalMSR-VTT (1k-A)
R@1073.2
211
Image-to-Text RetrievalFlickr30K 1K Karpathy (test)
R@191.7
59
Image-to-Text RetrievalMSCOCO 5K (test)
R@169
46
Text-to-Video RetrievalMSR-VTT 7K
Recall@1070.2
27
Showing 8 of 8 rows

Other info

Follow for update