SOTAVerified

VideoMoCo: Contrastive Video Representation Learning with Temporally Adversarial Examples

2021-03-10CVPR 2021Code Available1· sign in to hype

Tian Pan, Yibing Song, Tianyu Yang, Wenhao Jiang, Wei Liu

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

MoCo is effective for unsupervised image representation learning. In this paper, we propose VideoMoCo for unsupervised video representation learning. Given a video sequence as an input sample, we improve the temporal feature representations of MoCo from two perspectives. First, we introduce a generator to drop out several frames from this sample temporally. The discriminator is then learned to encode similar feature representations regardless of frame removals. By adaptively dropping out different frames during training iterations of adversarial learning, we augment this input sample to train a temporally robust encoder. Second, we use temporal decay to model key attenuation in the memory queue when computing the contrastive loss. As the momentum encoder updates after keys enqueue, the representation ability of these keys degrades when we use the current input sample for contrastive learning. This degradation is reflected via temporal decay to attend the input sample to recent keys in the queue. As a result, we adapt MoCo to learn video representations without empirically designing pretext tasks. By empowering the temporal robustness of the encoder and modeling the temporal decay of the keys, our VideoMoCo improves MoCo temporally based on contrastive learning. Experiments on benchmark datasets including UCF101 and HMDB51 show that VideoMoCo stands as a state-of-the-art video representation learning method.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
HMDB-51R[2+1]D (VideoMoCo)Average accuracy of 3 splits49.2Unverified
HMDB-513D-ResNet-18 (VideoMoCo)Average accuracy of 3 splits43.6Unverified
UCF101R[2+1]D (VideoMoCo)3-fold Accuracy78.7Unverified
UCF1013D-ResNet-18 (VideoMoCo)3-fold Accuracy74.1Unverified

Reproductions