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

Frozen CLIP Models are Efficient Video Learners

About

Video recognition has been dominated by the end-to-end learning paradigm -- first initializing a video recognition model with weights of a pretrained image model and then conducting end-to-end training on videos. This enables the video network to benefit from the pretrained image model. However, this requires substantial computation and memory resources for finetuning on videos and the alternative of directly using pretrained image features without finetuning the image backbone leads to subpar results. Fortunately, recent advances in Contrastive Vision-Language Pre-training (CLIP) pave the way for a new route for visual recognition tasks. Pretrained on large open-vocabulary image-text pair data, these models learn powerful visual representations with rich semantics. In this paper, we present Efficient Video Learning (EVL) -- an efficient framework for directly training high-quality video recognition models with frozen CLIP features. Specifically, we employ a lightweight Transformer decoder and learn a query token to dynamically collect frame-level spatial features from the CLIP image encoder. Furthermore, we adopt a local temporal module in each decoder layer to discover temporal clues from adjacent frames and their attention maps. We show that despite being efficient to train with a frozen backbone, our models learn high quality video representations on a variety of video recognition datasets. Code is available at https://github.com/OpenGVLab/efficient-video-recognition.

Ziyi Lin, Shijie Geng, Renrui Zhang, Peng Gao, Gerard de Melo, Xiaogang Wang, Jifeng Dai, Yu Qiao, Hongsheng Li• 2022

Related benchmarks

TaskDatasetResultRank
Action RecognitionSomething-Something v2 (val)
Top-1 Accuracy66.7
535
Action RecognitionKinetics-400
Top-1 Acc87.3
413
Action RecognitionSomething-Something v2
Top-1 Accuracy66.7
341
Action RecognitionSomething-Something v2 (test)
Top-1 Acc66.7
333
Action RecognitionHMDB51 (test)--
249
Action RecognitionSomething-Something v2 (test val)
Top-1 Accuracy66.7
187
Video Action RecognitionKinetics-400
Top-1 Acc87.3
184
Video ClassificationSomething-Something v2 (test)
Top-1 Acc0.68
169
Video Action RecognitionKinetics 400 (val)
Top-1 Acc87.7
151
Action RecognitionKinetics-400 full (val)
Top-1 Acc86.3
136
Showing 10 of 25 rows

Other info

Code

Follow for update