Skip to main content
QUICK REVIEW

[Paper Review] CLIP2Video: Mastering Video-Text Retrieval via Image CLIP

Han Fang, Pengfei Xiong|arXiv (Cornell University)|Jun 21, 2021
Multimodal Machine Learning ApplicationsComputer Science38 references130 citations
TL;DR

CLIP2Video transfers image-language pre-training from CLIP to video-text retrieval using two modules: Temporal Difference Block and Temporal Alignment Block, achieving state-of-the-art results on MSR-VTT, MSVD, and VATEX.

ABSTRACT

We present CLIP2Video network to transfer the image-language pre-training model to video-text retrieval in an end-to-end manner. Leading approaches in the domain of video-and-language learning try to distill the spatio-temporal video features and multi-modal interaction between videos and languages from a large-scale video-text dataset. Different from them, we leverage pretrained image-language model, simplify it as a two-stage framework with co-learning of image-text and enhancing temporal relations between video frames and video-text respectively, make it able to train on comparatively small datasets. Specifically, based on the spatial semantics captured by Contrastive Language-Image Pretraining (CLIP) model, our model involves a Temporal Difference Block to capture motions at fine temporal video frames, and a Temporal Alignment Block to re-align the tokens of video clips and phrases and enhance the multi-modal correlation. We conduct thorough ablation studies, and achieve state-of-the-art performance on major text-to-video and video-to-text retrieval benchmarks, including new records of retrieval accuracy on MSR-VTT, MSVD and VATEX.

Motivation & Objective

  • Reframe video-text retrieval as two independent problems: image-text multi-modal learning and temporal relationships between video frames and text.
  • Leverage a pretrained image-language model (CLIP) to enable end-to-end training on relatively small datasets.
  • Introduce two temporal modules to capture motion and align video clips with contextual words for improved cross-modal retrieval.

Proposed method

  • Use CLIP-based initialization for image-text embeddings and separate temporal modeling for video frames.
  • Temporal Difference Block (TDB) inserts motion-aware tokens between adjacent frame embeddings to enhance motion representation.
  • Temporal Alignment Block (TAB) learns K shared centers to align frame and word embeddings in a joint space and re-weight based on motion relevance.
  • Aggregate global (f^g) and aligned (f^a) representations for symmetric contrastive loss.
  • Train with symmetric cross-entropy loss on video-text pairs and compute final similarity as the average of g-embeddings and a-embeddings.

Experimental results

Research questions

  • RQ1How can image-language pre-training be effectively transferred to video-text retrieval?
  • RQ2Can temporal information be explicitly modeled to improve video-text alignment without large-scale video-language pretraining?
  • RQ3Do temporal difference and alignment blocks provide measurable gains across standard benchmarks?
  • RQ4What is the impact of the number of alignment centers on retrieval performance?
  • RQ5How should global and aligned representations be combined for inference?

Key findings

  • Achieves state-of-the-art results on MSR-VTT, MSVD, and VATEX for both text-to-video and video-to-text retrieval.
  • Temporal Difference Block substantially improves performance by injecting motion-aware tokens before temporal processing.
  • Temporal Alignment Block, with shared centers, improves cross-modal alignment between video frames and contextual words, yielding further gains.
  • Using a balanced combination of global and aligned representations (w = 0.5) provides best retrieval performance.
  • On MSR-VTT (1k-A protocol), our method achieves Text→Video R@1 45.6 and Video→Text R@1 43.5 (values from Table 3).
  • On MSR-VTT (1k-A protocol), our method achieves Text→Video MdR 2.0 and Video→Text MdR 2.0 (values from Table 3).
  • On VATEX, our method reaches strong retrieval performance surpassing several baselines (Tables 4-5).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.