[Paper Review] Learning Spatiotemporal Features via Video and Text Pair Discrimination
The paper introduces a cross-modal pair discrimination (CPD) framework that learns video spatiotemporal representations from noisy video-text pairs using noise-contrastive estimation and curriculum learning, enabling competitive weakly-supervised and transfer performance.
Current video representations heavily rely on learning from manually annotated video datasets which are time-consuming and expensive to acquire. We observe videos are naturally accompanied by abundant text information such as YouTube titles and Instagram captions. In this paper, we leverage this visual-textual connection to learn spatiotemporal features in an efficient weakly-supervised manner. We present a general cross-modal pair discrimination (CPD) framework to capture this correlation between a video and its associated text. Specifically, we adopt noise-contrastive estimation to tackle the computational issue imposed by the huge amount of pair instance classes and design a practical curriculum learning strategy. We train our CPD models on both standard video dataset (Kinetics-210k) and uncurated web video dataset (Instagram-300k) to demonstrate its effectiveness. Without further fine-tuning, the learnt models obtain competitive results for action classification on Kinetics under the linear classification protocol. Moreover, our visual model provides an effective initialization to fine-tune on downstream tasks, which yields a remarkable performance gain for action recognition on UCF101 and HMDB51, compared with the existing state-of-the-art self-supervised training methods. In addition, our CPD model yields a new state of the art for zero-shot action recognition on UCF101 by directly utilizing the learnt visual-textual embeddings. The code will be made available at https://github.com/MCG-NJU/CPD-Video.
Motivation & Objective
- Motivate learning video representations without manual annotations by leveraging abundant text accompanying videos.
- Propose a cross-modal framework that aligns video and text in a shared embedding space to supervise feature learning.
- Handle noise and scale in web-derived text via noise-contrastive estimation and curriculum learning.
- Demonstrate that CPD pre-trained on web and standard datasets yields competitive linear and transfer performance on action recognition tasks.
Proposed method
- Embed video and text into a common 256-dimensional space with unit-norm constraints.
- Use a cross-modal pair discrimination objective that maximizes f^t^T f^v across corresponding video-text pairs and negatives, enhancing cross-modal correlation modeling.
- Replace joint distribution modeling with conditional distributions p(i_t|v) and p(i_v|t) to better capture visual-text relationships.
- Optimize with noise-contrastive estimation using a memory bank to approximate the large-class objective and a curriculum training strategy that first fixes the language model and then jointly tunes the networks.
- Employ 3D CNN backbones (3D ResNet34/50) for video features and Word2Vec or DistilBERT for text features, projected into a shared embedding space.
Experimental results
Research questions
- RQ1Can weakly-supervised video representations be effectively learned from noisy web video-text pairs?
- RQ2Does cross-modal pair discrimination outperform other cross-modal or purely visual self-supervised objectives for video representation learning?
- RQ3How do curriculum learning and textual encoders affect the quality of learned spatiotemporal features?
- RQ4To what extent can CPD pre-training on small-to-medium datasets transfer to downstream action-recognition tasks?
- RQ5Is the CPD approach robust to noise in text information across different data sources (e.g., Kinetics titles vs. Instagram captions)?
Key findings
- CPD with cross-modal pair discrimination achieves competitive action classification performance on Kinetics under linear evaluation.
- CPD pre-trained on Kinetics-210k or Instagram-300k provides strong initialization for fine-tuning on UCF101 and HMDB51, outperforming several self-supervised baselines.
- Cross-modal pair discrimination outperforms a ranking loss baseline and multi-modal instance discrimination in learning useful video representations.
- Curriculum learning (fixing text model first, then joint fine-tuning) yields improvements over direct fine-tuning, showing better handling of text noise.
- CPD pre-training on a relatively small dataset (0.3M videos) rivals state-of-the-art methods that use orders of magnitude more data, highlighting practicality for limited compute settings.
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.