Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

X-CLIP: End-to-End Multi-grained Contrastive Learning for Video-Text Retrieval

About

Video-text retrieval has been a crucial and fundamental task in multi-modal research. The development of video-text retrieval has been considerably promoted by large-scale multi-modal contrastive pre-training, which primarily focuses on coarse-grained or fine-grained contrast. However, cross-grained contrast, which is the contrast between coarse-grained representations and fine-grained representations, has rarely been explored in prior research. Compared with fine-grained or coarse-grained contrasts, cross-grained contrast calculate the correlation between coarse-grained features and each fine-grained feature, and is able to filter out the unnecessary fine-grained features guided by the coarse-grained feature during similarity calculation, thus improving the accuracy of retrieval. To this end, this paper presents a novel multi-grained contrastive model, namely X-CLIP, for video-text retrieval. However, another challenge lies in the similarity aggregation problem, which aims to aggregate fine-grained and cross-grained similarity matrices to instance-level similarity. To address this challenge, we propose the Attention Over Similarity Matrix (AOSM) module to make the model focus on the contrast between essential frames and words, thus lowering the impact of unnecessary frames and words on retrieval results. With multi-grained contrast and the proposed AOSM module, X-CLIP achieves outstanding performance on five widely-used video-text retrieval datasets, including MSR-VTT (49.3 R@1), MSVD (50.4 R@1), LSMDC (26.1 R@1), DiDeMo (47.8 R@1) and ActivityNet (46.2 R@1). It outperforms the previous state-of-theart by +6.3%, +6.6%, +11.1%, +6.7%, +3.8% relative improvements on these benchmarks, demonstrating the superiority of multi-grained contrast and AOSM.

Yiwei Ma, Guohai Xu, Xiaoshuai Sun, Ming Yan, Ji Zhang, Rongrong Ji• 2022

Related benchmarks

TaskDatasetResultRank
Action RecognitionKinetics-400
Top-1 Acc87.7
498
Text-to-Video RetrievalDiDeMo
R@10.478
465
Text-to-Video RetrievalDiDeMo (test)
R@147.8
407
Text-to-Video RetrievalMSR-VTT
Recall@149.3
406
Text-to-Video RetrievalMSVD
R@150.4
290
Text-to-Video RetrievalMSR-VTT (test)
R@149.3
265
Text-to-Video RetrievalLSMDC (test)
R@548.4
245
Text-to-Video RetrievalActivityNet
R@10.462
245
Action RecognitionUCF-101
Top-1 Acc91.4
225
Video-to-Text retrievalMSR-VTT
Recall@148.9
221
Showing 10 of 75 rows
...

Other info

Code

Follow for update