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

Masked Video Distillation: Rethinking Masked Feature Modeling for Self-supervised Video Representation Learning

About

Benefiting from masked visual modeling, self-supervised video representation learning has achieved remarkable progress. However, existing methods focus on learning representations from scratch through reconstructing low-level features like raw pixel RGB values. In this paper, we propose masked video distillation (MVD), a simple yet effective two-stage masked feature modeling framework for video representation learning: firstly we pretrain an image (or video) model by recovering low-level features of masked patches, then we use the resulting features as targets for masked feature modeling. For the choice of teacher models, we observe that students taught by video teachers perform better on temporally-heavy video tasks, while image teachers transfer stronger spatial representations for spatially-heavy video tasks. Visualization analysis also indicates different teachers produce different learned patterns for students. Motivated by this observation, we design a spatial-temporal co-teaching method for MVD. Specifically, we distill student models from both video teachers and image teachers by masked feature modeling. Extensive experimental results demonstrate that video transformers pretrained with spatial-temporal co-teaching outperform models distilled with a single teacher on a multitude of video datasets. Our MVD with vanilla ViT achieves state-of-the-art performance compared with previous supervised or self-supervised methods on several challenging video downstream tasks. For example, with the ViT-Large model, our MVD achieves 86.4% and 76.7% Top-1 accuracy on Kinetics-400 and Something-Something-v2, outperforming VideoMAE by 1.2% and 2.4% respectively. When a larger ViT-Huge model is adopted, MVD achieves the state-of-the-art performance with 77.3% Top-1 accuracy on Something-Something-v2 and 41.1 mAP on AVA v2.2. Code will be available at \url{https://github.com/ruiwang2021/mvd}.

Rui Wang, Dongdong Chen, Zuxuan Wu, Yinpeng Chen, Xiyang Dai, Mengchen Liu, Lu Yuan, Yu-Gang Jiang• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet-1K
Top-1 Acc73.3
836
Action RecognitionSomething-Something v2 (val)
Top-1 Accuracy72.5
535
Action RecognitionKinetics-400
Top-1 Acc18.7
413
Action RecognitionSomething-Something v2
Top-1 Accuracy77.3
341
Action RecognitionHMDB51
Top-1 Acc28.6
225
Video ClassificationSomething-Something v2 (test)
Top-1 Acc0.773
169
Action RecognitionUCF-101
Top-1 Acc97.5
147
Video Action ClassificationSomething-Something v2
Top-1 Acc77.3
139
Video ClassificationKinetics-400
Top-1 Acc87.2
131
Action RecognitionKinetics-400 1.0 (val)
Top-1 Accuracy87.2
110
Showing 10 of 19 rows

Other info

Code

Follow for update