Prompt Switch: Efficient CLIP Adaptation for Text-Video Retrieval
Chaorui Deng, Qi Chen, Pengda Qin, Da Chen, Qi Wu
Abstract
In text-video retrieval, recent works have benefited from the powerful learning capabilities of pre-trained text-image foundation models (e.g., CLIP) by adapting them to the video domain. A critical problem for them is how to effectively capture the rich semantics inside the video using the image encoder of CLIP. To tackle this, state-of-the-art methods adopt complex cross-modal modeling techniques to fuse the text information into video frame representations, which, however, incurs severe efficiency issues in large-scale retrieval systems as the video representations must be recomputed online for every text query. In this paper, we discard this problematic cross-modal fusion process and aim to learn semantically-enhanced representations purely from the video, so that the video representations can be computed offline and reused for different texts. Concretely, we first introduce a spatial-temporal "Prompt Cube" into the CLIP image encoder and iteratively switch it within the encoder layers to efficiently incorporate the global video semantics into frame representations. We then propose to apply an auxiliary video captioning objective to train the frame representations, which facilitates the learning of detailed video semantics by providing fine-grained guidance in the semantic space. With a naive temporal fusion strategy (i.e., mean-pooling) on the enhanced frame representations, we obtain state-of-the-art performances on three benchmark datasets, i.e., MSR-VTT, MSVD, and LSMDC.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
20 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- T-VSL: Text-Guided Visual Sound Source Localization in Mixtures cites Learning Transferable Visual Models From Natural Language Supervision
- Holistic Features are Almost Sufficient for Text-to-Video Retrieval cites Learning Transferable Visual Models From Natural Language Supervision
- Bridging the Semantic Granularity Gap Between Text and Frame Representations for Partially Relevant Video Retrieval cites Holistic Features are Almost Sufficient for Text-to-Video Retrieval
- Bridging the Semantic Granularity Gap Between Text and Frame Representations for Partially Relevant Video Retrieval cites HowTo100M: Learning a Text-Video Embedding by Watching Hundred Million Narrated Video Clips
- Bridging the Semantic Granularity Gap Between Text and Frame Representations for Partially Relevant Video Retrieval cites Learning Transferable Visual Models From Natural Language Supervision
- Bridging the Semantic Granularity Gap Between Text and Frame Representations for Partially Relevant Video Retrieval cites Text Is MASS: Modeling as Stochastic Embedding for Text-Video Retrieval
- HERO: Hierarchical Encoder for Video+Language Omni-representation Pre-training cites HowTo100M: Learning a Text-Video Embedding by Watching Hundred Million Narrated Video Clips
- Learning Transferable Visual Models From Natural Language Supervision cites HowTo100M: Learning a Text-Video Embedding by Watching Hundred Million Narrated Video Clips
- Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Text Is MASS: Modeling as Stochastic Embedding for Text-Video Retrieval cites Learning Transferable Visual Models From Natural Language Supervision
- Text Is MASS: Modeling as Stochastic Embedding for Text-Video Retrieval cites VideoCLIP: Contrastive Pre-training for Zero-shot Video-Text Understanding
- Diffusion-Inspired Truncated Sampler for Text-Video Retrieval cites Learning Transferable Visual Models From Natural Language Supervision
- Diffusion-Inspired Truncated Sampler for Text-Video Retrieval cites Text Is MASS: Modeling as Stochastic Embedding for Text-Video Retrieval
- Diffusion-Inspired Truncated Sampler for Text-Video Retrieval cites VideoCLIP: Contrastive Pre-training for Zero-shot Video-Text Understanding
- VideoCLIP: Contrastive Pre-training for Zero-shot Video-Text Understanding cites HowTo100M: Learning a Text-Video Embedding by Watching Hundred Million Narrated Video Clips
- VideoCLIP: Contrastive Pre-training for Zero-shot Video-Text Understanding cites HERO: Hierarchical Encoder for Video+Language Omni-representation Pre-training
- VideoCLIP: Contrastive Pre-training for Zero-shot Video-Text Understanding cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers20
- Text Is MASS: Modeling as Stochastic Embedding for Text-Video RetrievalJiamian Wang, Pichao Wang, Guohao Sun, Dongfang Liu et al.CVPR 2024 · 52 citations
- Diffusion-Inspired Truncated Sampler for Text-Video RetrievalJiamian Wang, Pichao Wang, Dongfang Liu, Qiang Guan et al.NeurIPS 2024 · 16 citations
- Holistic Features are Almost Sufficient for Text-to-Video RetrievalKaibin Tian, Ruixiang Zhao, Zijie Xin, Bangxiang Lan et al.CVPR 2024 · 15 citations
- Bridging the Semantic Granularity Gap Between Text and Frame Representations for Partially Relevant Video RetrievalWoojin Jun, WonJun Moon, Cheol-Ho Cho, Minseok Jung et al.AAAI 2025 · 9 citations
- T-VSL: Text-Guided Visual Sound Source Localization in MixturesTanvir Mahmud, Yapeng Tian, Diana MarculescuCVPR 2024 · 8 citations
Builds on26
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- HowTo100M: Learning a Text-Video Embedding by Watching Hundred Million Narrated Video ClipsAntoine Miech, Dimitri Zhukov, Jean-Baptiste Alayrac, Makarand Tapaswi et al.ICCV 2019 · 1,437 citations
- VideoCLIP: Contrastive Pre-training for Zero-shot Video-Text UnderstandingHu Xu, Gargi Ghosh, Po-Yao Huang, Dmytro Okhonko et al.EMNLP 2021 · 399 citations
- HERO: Hierarchical Encoder for Video+Language Omni-representation Pre-trainingLinjie Li, Yen-Chun Chen, Yu Cheng, Zhe Gan et al.EMNLP 2020 · 387 citations
Related papers
- DGL: Dynamic Global-Local Prompt Tuning for Text-Video RetrievalXiangpeng Yang, Linchao Zhu, Xiaohan Wang, Yi YangAAAI 2024 · 53 citations
- MPT: Multi-grained Prompt Tuning for Text-Video RetrievalHaonan Zhang, Pengpeng Zeng, Lianli Gao, Jingkuan Song et al.ACM MM 2024 · 16 citations
- VoP: Text-Video Co-Operative Prompt Tuning for Cross-Modal RetrievalSiteng Huang, Biao Gong, Yulin Pan, Jianwen Jiang et al.CVPR 2023
- CLIP-ViP: Adapting Pre-trained Image-Text Model to Video-Language AlignmentHongwei Xue, Yuchong Sun, Bei Liu, Jianlong Fu et al.ICLR 2023 · 53 citations
- TF-CLIP: Learning Text-Free CLIP for Video-Based Person Re-identificationChenyang Yu, Xuehu Liu, Yingquan Wang, Pingping Zhang et al.AAAI 2024 · 68 citations
