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

RAP: Efficient Text-Video Retrieval with Sparse-and-Correlated Adapter

About

Text-Video Retrieval (TVR) aims to align relevant video content with natural language queries. To date, most state-of-the-art TVR methods learn image-to-video transfer learning based on large-scale pre-trained visionlanguage models (e.g., CLIP). However, fully fine-tuning these pre-trained models for TVR incurs prohibitively expensive computation costs. To this end, we propose to conduct efficient text-video Retrieval with a sparse-andcorrelated AdaPter (RAP), i.e., fine-tuning the pre-trained model with a few parameterized layers. To accommodate the text-video scenario, we equip our RAP with two indispensable characteristics: temporal sparsity and correlation. Specifically, we propose a low-rank modulation module to refine the per-image features from the frozen CLIP backbone, which accentuates salient frames within the video features while alleviating temporal redundancy. Besides, we introduce an asynchronous self-attention mechanism that first selects the top responsive visual patches and augments the correlation modeling between them with learnable temporal and patch offsets. Extensive experiments on four TVR datasets demonstrate that RAP achieves superior or comparable performance compared to the fully fine-tuned counterpart and other parameter-efficient fine-tuning methods.

Meng Cao, Haoran Tang, Jinfa Huang, Peng Jin, Can Zhang, Ruyang Liu, Long Chen, Xiaodan Liang, Li Yuan, Ge Li• 2024

Related benchmarks

TaskDatasetResultRank
Text-to-Video RetrievalDiDeMo (test)
R@147.1
376
Text-to-Video RetrievalMSR-VTT (1k-A)
R@1086.7
211
Text-to-Video RetrievalMSVD (test)
R@149.8
204
Text-to-Video RetrievalActivityNet (test)
R@148.4
108
Video-to-Text retrievalDiDeMo (test)
R@147.7
92
Video-to-Text retrievalMSR-VTT (1k-A)
Recall@578.7
74
Video-to-Text retrievalActivityNet (test)
R@148.2
63
Video-to-Text retrievalMSVD (test)
R@169.6
61
Video-to-Text retrievalMSRVTT
R@145.3
24
Text-to-Video RetrievalMSRVTT
R@146.5
17
Showing 10 of 11 rows

Other info

Follow for update