TL;DR
This paper tackles the challenge of few-shot video classification, where models must learn to recognize new actions from very few examples. They propose a strong baseline using 3D CNNs for better video feature learning and introduce two novel methods – video retrieval from large, weakly-labeled datasets and generative adversarial networks (GANs) for feature generation – to further boost performance. Crucially, they also introduce more realistic evaluation benchmarks for generalized and many-way few-shot video classification.
What Problem Does This Paper Address?
Few-shot learning aims to enable machine learning models to learn new concepts from minimal data, mimicking human learning capabilities. While this has seen progress in image classification, it remains a significant challenge in video classification due to the added temporal dimension and the difficulty of collecting large, labeled video datasets. Existing few-shot video classification methods often rely on 2D CNNs, which fail to capture crucial temporal information, or they don't adequately address the imbalance between abundant "base" classes and scarce "novel" classes. Furthermore, current benchmarks are often too simplistic, testing only on a small number of novel classes and excluding base classes during testing, which doesn't reflect real-world scenarios.
Methods
The authors propose a Two-Stage Learning (TSL) baseline. The first stage involves learning robust spatiotemporal video features using a 3D Convolutional Neural Network (CNN), specifically the R(2+1)D architecture, pre-trained on a large dataset (Sports1M) and then fine-tuned on the "base" classes (classes with ample training data). The second stage adapts these learned features to recognize "novel" classes (classes with only a few training examples) by training a linear classifier.
To further improve performance and address data scarcity, they introduce two novel approaches:
- Video Retrieval: This method leverages large, weakly-labeled video datasets like YFCC100M. It involves:
- Tag-based retrieval: Using video tags to find candidate videos related to novel classes.
- Best clip selection: Selecting the most informative short clips from these candidates using visual similarity to a class prototype derived from the few-shot examples. These selected clips are then used as additional training data.
- Batch denoising: A strategy to mitigate noise from retrieved clips by alternating between real and retrieved data in mini-batches.
- Video Feature Generating Adversarial Networks (VFGAN): Instead of generating raw video frames (which is computationally expensive and high-dimensional), this approach generates low-dimensional video features.
- Semantic Embedding: Class names are converted into semantic embeddings (e.g., using Word2Vec or BERT) to guide the generation process.
- Generative Adversarial Network (GAN): A GAN is trained to generate video features that mimic the distribution of real features from base classes. This generator takes a random noise vector and a semantic embedding as input.
- Classifier Training: The generated features are then used to augment the training set for novel classes, helping to train a more robust classifier.
They also introduce more realistic evaluation settings:
- Generalized Few-Shot Video Classification (GFSV): Models must predict labels from both base and novel classes at test time.
- Many-way Few-Shot Video Classification: Testing involves a larger number of novel classes (beyond the typical 5).
Datasets
- Kinetics: A large-scale video dataset with 400 human action classes.
- UCF101: A dataset with 101 realistic human action classes.
- SomethingV2: A fine-grained human action recognition dataset with 174 action classes.
- YFCC100M: A large multimedia collection used for tag-based video retrieval.
- Sports1M: Used for pre-training the 3D CNN backbone.
The authors also introduce new data splits for UCF101 and propose more challenging benchmarks for GFSV and many-way few-shot classification.
Key Insights and Ideas
- 3D CNNs are Crucial: The paper strongly emphasizes that using spatiotemporal features from 3D CNNs (like R(2+1)D) is fundamental for good few-shot video classification performance, significantly outperforming methods relying on 2D CNNs.
- Leveraging Weakly Labeled Data is Powerful: Utilizing large, readily available datasets with noisy tags (like YFCC100M) through retrieval can significantly boost performance, even with imperfect labels.
- Feature Generation is a Viable Alternative: Generating video features, rather than raw videos, using GANs is an effective way to augment training data for novel classes, especially when large external datasets are unavailable or unsuitable.
- Realistic Benchmarks Matter: The proposed GFSV and many-way settings reveal limitations of current methods that are not apparent in simpler benchmarks, highlighting the need for more challenging evaluations.
- Complementarity of Approaches: Combining video retrieval and feature generation yields the best results, suggesting these methods address different aspects of the few-shot learning problem.
Key Results
- Strong Baseline: The TSL baseline using R(2+1)D outperforms prior state-of-the-art methods by over 20 percentage points on existing benchmarks.
- Retrieval Improvement: TSL with video retrieval (TSL w/ Retrieval) further improves accuracy, reaching over 95% on Kinetics and UCF101 in the 5-way, 1-shot setting.
- VFGAN Effectiveness: TSL with VFGAN (TSL w/ VFGAN) also consistently outperforms the TSL baseline, showing significant gains on SomethingV2 (e.g., +7% in 1-shot).
- Combined Approach: TSL w/ both (retrieval and VFGAN) achieves the best performance, demonstrating their complementary nature.
- GFSV Performance: In the generalized setting, TSL w/ VFGAN significantly improves novel class accuracy and achieves the best harmonic mean, indicating its ability to balance base and novel class performance.
- Many-way Performance: The proposed methods maintain high accuracy even with an increasing number of novel classes (up to 24-way), though performance naturally degrades.
Limitations and Future Work
- Dataset Bias: The authors acknowledge the potential domain gap between pre-training datasets (like Sports1M) and target datasets, which can affect performance.
- Noise in Retrieval: While batch denoising helps, retrieved videos can still contain noisy labels, potentially hindering performance.
- GFSV Challenge: The GFSV setting reveals a significant performance gap between base and novel classes, indicating that effectively handling distracting base classes remains a challenge.
- SomethingV2 Performance: The VFGAN approach shows a larger performance gap on the fine-grained SomethingV2 dataset compared to Kinetics and UCF101, suggesting that generating features for highly nuanced actions is more difficult.
- Future Work: The authors hope their proposed GFSV setting will attract more research interest to address the challenges of real-world video classification. They also suggest that combining retrieval and generation is a promising direction.
Summary updated