VIMPAC: Video Pre-Training via Masked Token Prediction and Contrastive Learning
arXiv:2106.11250
Abstract
Video understanding relies on perceiving the global content and modeling its internal connections (e.g., causality, movement, and spatio-temporal correspondence). To learn these interactions, we apply a mask-then-predict pre-training task on discretized video tokens generated via VQ-VAE. Unlike language, where the text tokens are more independent, neighboring video tokens typically have strong correlations (e.g., consecutive video frames usually look very similar), and hence uniformly masking individual tokens will make the task too trivial to learn useful representations. To deal with this issue, we propose a block-wise masking strategy where we mask neighboring video tokens in both spatial and temporal domains. We also add an augmentation-free contrastive learning method to further capture the global content by predicting whether the video clips are sampled from the same video. We pre-train our model on uncurated videos and show that our pre-trained model can reach state-of-the-art results on several video understanding datasets (e.g., SSV2, Diving48). Lastly, we provide detailed analyses on model scalability and pre-training method design. Code is released at https://github.com/airsplay/vimpac.
arXiv commentUnder review, 23 Pages
References in corpus (16)
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- A Simple Framework for Contrastive Learning of Visual Representations
- Learning Transferable Visual Models From Natural Language Supervision
- UCF101: A Dataset of 101 Human Actions Classes From Videos in The Wild
- Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer
- Bootstrap your own latent: A new approach to self-supervised Learning
- Improved Baselines with Momentum Contrastive Learning
- Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
- Unsupervised Representation Learning by Predicting Image Rotations
- Zero-Shot Text-to-Image Generation
- What Makes for Good Views for Contrastive Learning?
- Generating Long Sequences with Sparse Transformers
- A Short Note on the Kinetics-700-2020 Human Action Dataset
- VideoGPT: Video Generation using VQ-VAE and Transformers
- Predicting Video with VQVAE
- MoViNets: Mobile Video Networks for Efficient Video Recognition