TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Spatiotemporal Contrastive Video Representation Learning

Spatiotemporal Contrastive Video Representation Learning

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

2020-08-09CVPR 2021 1Unsupervised Pre-trainingSelf-Supervised Action Recognition LinearRepresentation LearningSelf-Supervised LearningData AugmentationContrastive LearningAction RecognitionSelf-Supervised Action Recognition
PaperPDFCodeCode(official)CodeCode

Abstract

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/.

Results

TaskDatasetMetricValueModel
Activity RecognitionKinetics-400Top-1 accuracy %71.6CVRL (R3D-152 2x; K600 pretrain)
Activity RecognitionKinetics-400Top-1 accuracy %67.6CVRL (R3D-101)
Activity RecognitionKinetics-400Top-1 accuracy %66.1CVRL (R3D-50)
Activity RecognitionUCF101 (finetuned)3-fold Accuracy93.9CVRL (R3D-152 2x; K600)
Activity RecognitionUCF101 (finetuned)3-fold Accuracy93.4CVRL (R3D-50; K600)
Activity RecognitionUCF101 (finetuned)3-fold Accuracy92.2CVRL (R3D-50; K400)
Activity RecognitionUCF1013-fold Accuracy93.9CVRL (R3D-152 2x; K600)
Activity RecognitionUCF1013-fold Accuracy93.4CVRL (R3D-50; K600)
Activity RecognitionUCF1013-fold Accuracy92.2CVRL (R3D-50; K400)
Activity RecognitionKinetics-600Top-1 Accuracy72.9CVRL (R3D-152 2x)
Activity RecognitionKinetics-600Top-1 Accuracy71.6CVRL (R3D-101)
Activity RecognitionKinetics-600Top-1 Accuracy70.4CVRL (R3D-50)
Activity RecognitionHMDB51Top-1 Accuracy69.9CVRL (R3D-152 2x; K600)
Activity RecognitionHMDB51Top-1 Accuracy68CVRL (R3D-50; K600)
Activity RecognitionHMDB51Top-1 Accuracy66.7CVRL (R3D-50; K400)
Activity RecognitionHMDB51 (finetuned)Top-1 Accuracy69.9CVRL (R3D-152 2x; K600)
Activity RecognitionHMDB51 (finetuned)Top-1 Accuracy68CVRL (R3D-50; K600)
Activity RecognitionHMDB51 (finetuned)Top-1 Accuracy66.7CVRL (R3D-50; K400)
Action RecognitionKinetics-400Top-1 accuracy %71.6CVRL (R3D-152 2x; K600 pretrain)
Action RecognitionKinetics-400Top-1 accuracy %67.6CVRL (R3D-101)
Action RecognitionKinetics-400Top-1 accuracy %66.1CVRL (R3D-50)
Action RecognitionUCF101 (finetuned)3-fold Accuracy93.9CVRL (R3D-152 2x; K600)
Action RecognitionUCF101 (finetuned)3-fold Accuracy93.4CVRL (R3D-50; K600)
Action RecognitionUCF101 (finetuned)3-fold Accuracy92.2CVRL (R3D-50; K400)
Action RecognitionUCF1013-fold Accuracy93.9CVRL (R3D-152 2x; K600)
Action RecognitionUCF1013-fold Accuracy93.4CVRL (R3D-50; K600)
Action RecognitionUCF1013-fold Accuracy92.2CVRL (R3D-50; K400)
Action RecognitionKinetics-600Top-1 Accuracy72.9CVRL (R3D-152 2x)
Action RecognitionKinetics-600Top-1 Accuracy71.6CVRL (R3D-101)
Action RecognitionKinetics-600Top-1 Accuracy70.4CVRL (R3D-50)
Action RecognitionHMDB51Top-1 Accuracy69.9CVRL (R3D-152 2x; K600)
Action RecognitionHMDB51Top-1 Accuracy68CVRL (R3D-50; K600)
Action RecognitionHMDB51Top-1 Accuracy66.7CVRL (R3D-50; K400)
Action RecognitionHMDB51 (finetuned)Top-1 Accuracy69.9CVRL (R3D-152 2x; K600)
Action RecognitionHMDB51 (finetuned)Top-1 Accuracy68CVRL (R3D-50; K600)
Action RecognitionHMDB51 (finetuned)Top-1 Accuracy66.7CVRL (R3D-50; K400)

Related Papers

Touch in the Wild: Learning Fine-Grained Manipulation with a Portable Visuo-Tactile Gripper2025-07-20Spectral Bellman Method: Unifying Representation and Exploration in RL2025-07-17Boosting Team Modeling through Tempo-Relational Representation Learning2025-07-17A Semi-Supervised Learning Method for the Identification of Bad Exposures in Large Imaging Surveys2025-07-17Overview of the TalentCLEF 2025: Skill and Job Title Intelligence for Human Capital Management2025-07-17Pixel Perfect MegaMed: A Megapixel-Scale Vision-Language Foundation Model for Generating High Resolution Medical Images2025-07-17SemCSE: Semantic Contrastive Sentence Embeddings Using LLM-Generated Summaries For Scientific Abstracts2025-07-17HapticCap: A Multimodal Dataset and Task for Understanding User Experience of Vibration Haptic Signals2025-07-17