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

Motion-aware Contrastive Video Representation Learning via Foreground-background Merging

About

In light of the success of contrastive learning in the image domain, current self-supervised video representation learning methods usually employ contrastive loss to facilitate video representation learning. When naively pulling two augmented views of a video closer, the model however tends to learn the common static background as a shortcut but fails to capture the motion information, a phenomenon dubbed as background bias. Such bias makes the model suffer from weak generalization ability, leading to worse performance on downstream tasks such as action recognition. To alleviate such bias, we propose \textbf{F}oreground-b\textbf{a}ckground \textbf{Me}rging (FAME) to deliberately compose the moving foreground region of the selected video onto the static background of others. Specifically, without any off-the-shelf detector, we extract the moving foreground out of background regions via the frame difference and color statistics, and shuffle the background regions among the videos. By leveraging the semantic consistency between the original clips and the fused ones, the model focuses more on the motion patterns and is debiased from the background shortcut. Extensive experiments demonstrate that FAME can effectively resist background cheating and thus achieve the state-of-the-art performance on downstream tasks across UCF101, HMDB51, and Diving48 datasets. The code and configurations are released at https://github.com/Mark12Ding/FAME.

Shuangrui Ding, Maomao Li, Tianyu Yang, Rui Qian, Haohang Xu, Qingyi Chen, Jue Wang, Hongkai Xiong• 2021

Related benchmarks

TaskDatasetResultRank
Action RecognitionUCF101 (test)
Accuracy88.6
307
Action RecognitionHMDB51 (test)
Accuracy0.611
249
Video RetrievalUCF101
Top-1 Acc64.6
63
Action RecognitionDiving48 v2
Top-1 Acc72.9
27
DetectionKUMC
F1 Score76.9
20
ClassificationPolypDiag
F1 Score85.4
8
SegmentationCVC-12k
Dice Coefficient67.2
8
Action RecognitionUCF101 80 (test)
Accuracy72.2
5
Action RecognitionHMDB51 47 (test)
Accuracy42.2
5
Showing 9 of 9 rows

Other info

Code

Follow for update