Generalized Many-Way Few-Shot Video Classification

Yongqin Xian, Bruno Korbar, Matthijs Douze, Bernt Schiele, Zeynep Akata, Lorenzo Torresani

Abstract

Few-shot video classification is a challenging task that requires models to recognize new action categories from very few examples. Traditional methods often rely on complex meta-learning frameworks that underutilize modern spatiotemporal features. This paper introduces a robust Two-Stage Learning (TSL) approach that leverages high-quality 3D CNN features and augments training data through video retrieval and feature generation. Our method significantly outperforms previous state-of-the-art meta-learning models, particularly in the more realistic "Generalized" and "Many-Way" few-shot settings.

Introduction

The ability to learn from a handful of examples is a hallmark of human intelligence. In the context of video, this task is complicated by the need to model complex temporal dynamics. Existing few-shot learning (FSL) research has largely focused on narrow benchmarks that do not reflect real-world complexity. This paper addresses three critical gaps: the underestimation of feature learning, the inherent scarcity of video data for novel classes, and the lack of realistic evaluation protocols like Generalized Few-Shot Video (GFSV) classification.

The Challenge of Data Scarcity

Video data often follows a long-tail distribution where common actions have abundant samples, but rare or novel actions have very few. Standard few-shot approaches struggle to generalize from these sparse examples because they cannot capture the full variance of an action.

The long-tail distribution of video classes necessitates augmenting sparse 'few-shot' data with external sources like tag-labeled web videos and semantic text information.

Proposed Methodology: Two-Stage Learning and Augmentation

The proposed framework moves away from meta-learning in favor of a simpler, more effective two-stage process enhanced by data "hallucination" techniques.

The complete system architecture: Stage 1 focuses on representation learning using base classes, while Stage 2 performs few-shot learning on novel classes using retrieved video clips and GAN-generated features.

Two-Stage Learning (TSL) Baseline

The core of the approach is a standard R(2+1)D 3D CNN.

  • Stage 1 (Representation Learning): The model is trained on "base" classes with large amounts of data to learn a powerful spatiotemporal feature extractor.
  • Stage 2 (Few-Shot Learning): The feature extractor is frozen, and a simple linear classifier is trained for "novel" classes using the few available examples.

Data Augmentation Strategies

To overcome the limitations of having only a few shots, the authors introduce two novel augmentation strategies:

  1. Video Retrieval: The system queries the YFCC100M dataset using class tags to find candidate videos. It then uses visual similarity to select the best matching clips, which are used as additional training data after a batch denoising process.
  2. Video Feature Generating Adversarial Network (VFGAN): Instead of generating high-dimensional raw pixels, VFGAN generates low-dimensional features in the 3D CNN's latent space. By conditioning the GAN on semantic embeddings (like Word2Vec or BERT) of class names, the model can "imagine" features for novel classes it has never seen.

Experimental Results and Discussion

The framework was tested on major benchmarks including Kinetics, UCF101, and Something-Something V2.

Key Findings

  • Feature Power: The TSL baseline achieved 92.5% accuracy on Kinetics (1-shot, 5-way), surpassing the previous meta-learning state-of-the-art (73.0%) by nearly 20 points.
  • Synergistic Gains: Integrating both retrieval and VFGAN pushed the 1-shot accuracy to 96.2%.
  • Addressing Bias in GFSV: In the Generalized setting, models are typically biased toward base classes. VFGAN proved crucial here, improving novel class accuracy on SomethingV2 from 0% to 20.4% by providing a more balanced training set in the feature space.

Conclusion

This research demonstrates that for few-shot video classification, a strong feature representation combined with effective data augmentation is superior to complex meta-learning architectures. By leveraging external web data and semantic-to-feature generation, the proposed framework handles the challenges of many-way and generalized classification, setting a new standard for the field.

Summary updated

BibTeX
@article{xian2022generalized,
  author = {Yongqin Xian and Bruno Korbar and Matthijs Douze and Bernt Schiele and Zeynep Akata and Lorenzo Torresani},
  title = {{Generalized Many-Way Few-Shot Video Classification}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2022},
  doi = {10.1109/tpami.2021.3120550},
}
Figure