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

Spatiotemporal Contrastive Video Representation Learning

About

We present a self-supervised Contrastive Video Representation Learning (CVRL) method to learn spatiotemporal visual representations from unlabeled videos. Our representations are learned using a contrastive loss, where two augmented clips from the same short video are pulled together in the embedding space, while clips from different videos are pushed away. We study what makes for good data augmentations for video self-supervised learning and find that both spatial and temporal information are crucial. We carefully design data augmentations involving spatial and temporal cues. Concretely, we propose a temporally consistent spatial augmentation method to impose strong spatial augmentations on each frame of the video while maintaining the temporal consistency across frames. We also propose a sampling-based temporal augmentation method to avoid overly enforcing invariance on clips that are distant in time. On Kinetics-600, a linear classifier trained on the representations learned by CVRL achieves 70.4% top-1 accuracy with a 3D-ResNet-50 (R3D-50) backbone, outperforming ImageNet supervised pre-training by 15.7% and SimCLR unsupervised pre-training by 18.8% using the same inflated R3D-50. The performance of CVRL can be further improved to 72.9% with a larger R3D-152 (2x filters) backbone, significantly closing the gap between unsupervised and supervised video representation learning. Our code and models will be available at https://github.com/tensorflow/models/tree/master/official/.

Rui Qian, Tianjian Meng, Boqing Gong, Ming-Hsuan Yang, Huisheng Wang, Serge Belongie, Yin Cui• 2020

Related benchmarks

TaskDatasetResultRank
Action RecognitionUCF101
Accuracy94.4
365
Action RecognitionUCF101 (mean of 3 splits)
Accuracy92.2
357
Action RecognitionSomething-Something v2
Top-1 Accuracy11.4
341
Action RecognitionUCF101 (test)
Accuracy93.4
307
Action RecognitionHMDB51 (test)
Accuracy0.679
249
Action RecognitionKinetics 400 (test)--
245
Video ClassificationKinetics 400 (val)--
204
Video Action RecognitionKinetics-400
Top-1 Acc70.4
184
Action RecognitionUCF101 (3 splits)
Accuracy93.4
155
Video Action RecognitionUCF101
Top-1 Acc92.1
153
Showing 10 of 55 rows

Other info

Code

Follow for update