[Paper Review] Co-training Transformer with Videos and Images Improves Action Recognition
CoVeR trains a single TimeSFormer-based transformer on multiple video and image datasets concurrently, improving action recognition performance and enabling generalizable representations without per-dataset fine-tuning.
In learning action recognition, models are typically pre-trained on object recognition with images, such as ImageNet, and later fine-tuned on target action recognition with videos. This approach has achieved good empirical performance especially with recent transformer-based video architectures. While recently many works aim to design more advanced transformer architectures for action recognition, less effort has been made on how to train video transformers. In this work, we explore several training paradigms and present two findings. First, video transformers benefit from joint training on diverse video datasets and label spaces (e.g., Kinetics is appearance-focused while SomethingSomething is motion-focused). Second, by further co-training with images (as single-frame videos), the video transformers learn even better video representations. We term this approach as Co-training Videos and Images for Action Recognition (CoVeR). In particular, when pretrained on ImageNet-21K based on the TimeSFormer architecture, CoVeR improves Kinetics-400 Top-1 Accuracy by 2.4%, Kinetics-600 by 2.3%, and SomethingSomething-v2 by 2.3%. When pretrained on larger-scale image datasets following previous state-of-the-art, CoVeR achieves best results on Kinetics-400 (87.2%), Kinetics-600 (87.9%), Kinetics-700 (79.8%), SomethingSomething-v2 (70.9%), and Moments-in-Time (46.1%), with a simple spatio-temporal video transformer.
Motivation & Objective
- Motivate improving general-purpose action recognition beyond single-dataset pre-training and fine-tuning.
- Explore training strategies for transformer-based video models using diverse data distributions.
- Demonstrate that co-training with images (as single-frame videos) enhances video representations.
- Show that multi-dataset co-training yields better transferability and state-of-the-art results on multiple benchmarks.
Proposed method
- Use TimeSFormer as a prototypical spatio-temporal transformer for action recognition.
- Adopt a standard pre-training on image data followed by finetuning on video data (TimeSFormer baseline).
- Introduce CoVeR: co-train on multiple video datasets with dataset-specific classifiers in a multi-task setup.
- Extend CoVeR to co-train with image data by treating images as single-frame videos and using combined loss across image and video datasets.
- Minimize a weighted sum of cross-entropy losses across datasets to learn shared spatial and temporal representations.
- Experiment with different pre-training datasets (ImageNet-21k, JFT-300M, JFT-3B) and varying loss weights to balance image/video learning.
Experimental results
Research questions
- RQ1Does co-training on multiple video datasets improve generalization over standard pre-training and fine-tuning?
- RQ2Can including image data during fine-tuning further enhance video representations for action recognition?
- RQ3How does CoVeR perform with different large-scale image pre-training datasets on diverse action benchmarks?
- RQ4What is the impact of loss-weighting between image and video tasks on final performance and transferability?
- RQ5Do multi-dataset co-trained models offer better transfer learning to unseen action datasets?
Key findings
- CoVeR improves TimeSFormer top-1 accuracy on K400 by 2.4%, on K600 by 2.3%, and on SSv2 by 2.3% when pretrained on ImageNet-21k.
- CoVeR with larger image pre-training (JFT-300M and JFT-3B) achieves new state-of-the-art results across several datasets (K400, K600, K700, SSv2, MiT).
- Co-training on multiple video datasets and images yields better generalization and transferability, sometimes without additional fine-tuning on downstream tasks.
- Co-training with images helps maintain robust spatial representations during fine-tuning, while multi-dataset video training enriches temporal representations.
- Ablation shows incorporating image data and more datasets yields incremental gains, with balance between image and video loss important for overall performance.
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.