Few-shot Action Recognition with Prototype-centered Attentive Learning

Xiatian Zhu, Antoine Toisoul, Juan-Manuel Pérez-Rúa, Li Zhang, Brais Martínez, Tao Xiang

Introduction

Deep learning models typically require vast amounts of labeled data to achieve high performance. In the context of action recognition, this often necessitates hundreds of videos per category. Few-shot action recognition aims to bridge this gap, enabling models to identify new actions from just one or five examples (1-shot or 5-shot).

Despite progress, two primary challenges persist in this domain:

  1. Data Inefficiency: Traditional "query-centered" losses focus on individual unknown videos relative to class prototypes, often failing to exploit the collective information within a batch of queries.
  2. The Outlier Problem: In low-data regimes, a single noisy sample (e.g., poor lighting or cluttered background) can significantly distort the class prototype, leading to misclassification.

Methodology: The PAL Framework

To address these issues, the authors propose Prototype-centered Attentive Learning (PAL). Built upon a Temporal Segment Network (TSN) backbone, PAL introduces two core components designed to refine feature representations and maximize data utility.

The PAL framework architecture, illustrating the Hybrid Attentive Learning (HAL) and Prototype-centered Contrastive Learning (PCL) components.

Hybrid Attentive Learning (HAL)

HAL employs a dual-attention mechanism to mitigate the impact of outliers and enhance feature discriminability:

  • Support-set self-attention: This allows labeled examples within a class to interact, helping the model identify and down-weight the influence of noisy samples on the final class prototype.
  • Query-to-support cross-attention: This ensures that query features are contextualized by the support set, making them more robust for classification.

Prototype-centered Contrastive Learning (PCL)

While standard models use a query-centered approach, PCL introduces a "many-to-one" perspective. It evaluates a class prototype against all query samples simultaneously, pulling correct matches closer while pushing others away. This symmetric approach provides a more holistic view of the feature space than looking at query-to-prototype relationships in isolation.

Experimental Results

The PAL framework was rigorously tested on four major benchmarks: Kinetics-100, Sth-Sth-100, HMDB-51, and UCF-101.

Performance comparison of PAL against state-of-the-art methods across four major action recognition benchmarks.

Key Findings

  • Fine-Grained Dominance: PAL achieved a remarkable 62.6% accuracy on the motion-heavy Sth-Sth-100 dataset (5-shot), representing a 10.3% improvement over the previous state-of-the-art (OTAM).
  • State-of-the-Art Performance: As shown in the results table, PAL consistently outperformed existing methods across all datasets, including appearance-heavy benchmarks like Kinetics-100, where it reached 87.1% in the 5-shot setting.
  • The Power of Pretraining: A significant finding was that high-quality pretraining on a base dataset is crucial. PAL leverages a two-stage process—pretraining followed by meta-learning—to achieve its superior results, suggesting that feature reuse is as vital as the meta-learning architecture itself.

Conclusion and Future Directions

PAL demonstrates that combining robust attention mechanisms with symmetric contrastive losses can significantly enhance few-shot learning for complex video data. While the model sets new benchmarks, future work could focus on reducing the computational overhead of multi-layer attention and integrating more advanced temporal alignment techniques to further push the boundaries of action recognition.

Summary updated

BibTeX
@inproceedings{zhu2021few,
  author = {Xiatian Zhu and Antoine Toisoul and Juan-Manuel Pérez-Rúa and Li Zhang and Brais Martínez and Tao Xiang},
  title = {{Few-shot Action Recognition with Prototype-centered Attentive Learning}},
  booktitle = {BMVC},
  year = {2021},
}
Figure