[Paper Review] VideoMoCo: Contrastive Video Representation Learning with Temporally Adversarial Examples
VideoMoCo proposes a contrastive video representation learning method that enhances MoCo by introducing temporally adversarial training to improve temporal robustness and temporal decay to mitigate outdated key representations in the memory queue. It achieves state-of-the-art performance on UCF101 and HMDB51 without relying on handcrafted pretext tasks.
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.
Motivation & Objective
- To develop a self-supervised video representation learning method that avoids empirically designed pretext tasks.
- To improve the temporal robustness of video feature encoders through adversarial frame dropping during training.
- To address the degradation of key representations in MoCo's memory queue by modeling temporal decay in contrastive learning.
- To adapt the MoCo framework for video by enhancing its temporal modeling capabilities while preserving efficient contrastive learning.
- To achieve state-of-the-art performance on standard action recognition benchmarks using only self-supervised pretraining.
Proposed method
- Introduces a generator that adaptively drops frames from a video sequence during training to create augmented views for contrastive learning.
- Uses a discriminator (encoder) trained to produce similar feature representations for both original and frame-dropped video views, improving temporal robustness.
- Employs adversarial training where the generator learns to remove temporally important frames based on the discriminator's current state.
- Applies temporal decay (t^i) to weight contributions of keys in the memory queue, giving higher attention to recent keys and reducing interference from outdated representations.
- Computes contrastive loss using a decayed attention mechanism that prioritizes recent keys in the queue during feature comparison.
- Leverages MoCo's momentum encoder and queue structure to maintain large-scale negative samples while improving temporal representation learning.
Experimental results
Research questions
- RQ1Can adversarial frame dropping improve the temporal robustness of video representation learning without relying on handcrafted pretext tasks?
- RQ2How does temporal decay in the memory queue affect the performance of contrastive video representation learning?
- RQ3Can the MoCo framework be effectively adapted for video by enhancing its temporal modeling capabilities?
- RQ4Does the proposed method achieve state-of-the-art performance on standard video action recognition benchmarks?
- RQ5How does the model generalize when pretraining on Kinetics-400 and evaluating on UCF101 and HMDB51?
Key findings
- VideoMoCo achieves 74.1% top-1 accuracy on Kinetics-400 and 43.6% top-1 accuracy on HMDB51 using a 3D-ResNet18 backbone, outperforming prior self-supervised methods.
- With an R(2+1)D backbone, VideoMoCo achieves 78.7% top-1 accuracy on Kinetics-400 and 49.2% on HMDB51, setting a new state-of-the-art.
- The method outperforms DPC by 5.9% on UCF101 and 9.1% on HMDB51 when using the same 3D-ResNet18 architecture and similar input size.
- Temporal decay with t=0.99999 achieves the best performance, balancing contribution from all keys while halving the weight of the oldest key (t^65536 ≈ 0.52).
- VideoMoCo surpasses RTT [14] by 6.9% on UCF101 and 12.8% on HMDB51 under the same R(2+1)D backbone, demonstrating strong generalization.
- Even when pretraining on Kinetics-400 and evaluating on UCF101 and HMDB51, VideoMoCo achieves state-of-the-art results, indicating strong transferability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.