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

Revisiting Temporal Modeling for CLIP-based Image-to-Video Knowledge Transferring

About

Image-text pretrained models, e.g., CLIP, have shown impressive general multi-modal knowledge learned from large-scale image-text data pairs, thus attracting increasing attention for their potential to improve visual representation learning in the video domain. In this paper, based on the CLIP model, we revisit temporal modeling in the context of image-to-video knowledge transferring, which is the key point for extending image-text pretrained models to the video domain. We find that current temporal modeling mechanisms are tailored to either high-level semantic-dominant tasks (e.g., retrieval) or low-level visual pattern-dominant tasks (e.g., recognition), and fail to work on the two cases simultaneously. The key difficulty lies in modeling temporal dependency while taking advantage of both high-level and low-level knowledge in CLIP model. To tackle this problem, we present Spatial-Temporal Auxiliary Network (STAN) -- a simple and effective temporal modeling mechanism extending CLIP model to diverse video tasks. Specifically, to realize both low-level and high-level knowledge transferring, STAN adopts a branch structure with decomposed spatial-temporal modules that enable multi-level CLIP features to be spatial-temporally contextualized. We evaluate our method on two representative video tasks: Video-Text Retrieval and Video Recognition. Extensive experiments demonstrate the superiority of our model over the state-of-the-art methods on various datasets, including MSR-VTT, DiDeMo, LSMDC, MSVD, Kinetics-400, and Something-Something-V2. Codes will be available at https://github.com/farewellthree/STAN

Ruyang Liu, Jingjia Huang, Ge Li, Jiashi Feng, Xinglong Wu, Thomas H. Li• 2023

Related benchmarks

TaskDatasetResultRank
Action RecognitionSomething-Something v2 (val)
Top-1 Accuracy69.5
535
Text-to-Video RetrievalDiDeMo
R@10.513
360
Text-to-Video RetrievalMSR-VTT
Recall@150
313
Text-to-Video RetrievalMSR-VTT (1k-A)
R@1087.8
211
Text-to-Video RetrievalMSVD (test)
R@151.5
204
Video Action RecognitionKinetics 400 (val)
Top-1 Acc84.2
151
Text-to-Video RetrievalMSR-VTT 1K (test)
R@150
45
Showing 7 of 7 rows

Other info

Code

Follow for update