Spatio-temporal Relation Modeling for Few-shot Action Recognition

Anirudh Thatipelli, Sanath Narayan, Salman Khan, Rao Muhammad Anwer, Fahad Shahbaz Khan +1 more
12/9/2021
cs.CV

Official code: Anirudh257/strm (102 stars, Python, last commit 2022-09-30).

Abstract

We propose a novel few-shot action recognition framework, STRM, which enhances class-specific feature discriminability while simultaneously learning higher-order temporal representations. The focus of our approach is a novel spatio-temporal enrichment module that aggregates spatial and temporal contexts with dedicated local patch-level and global frame-level feature enrichment sub-modules.

Show full abstract

Local patch-level enrichment captures the appearance-based characteristics of actions. On the other hand, global frame-level enrichment explicitly encodes the broad temporal context, thereby capturing the relevant object features over time. The resulting spatio-temporally enriched representations are then utilized to learn the relational matching between query and support action sub-sequences. We further introduce a query-class similarity classifier on the patch-level enriched features to enhance class-specific feature discriminability by reinforcing the feature learning at different stages in the proposed framework. Experiments are performed on four few-shot action recognition benchmarks: Kinetics, SSv2, HMDB51 and UCF101. Our extensive ablation study reveals the benefits of the proposed contributions. Furthermore, our approach sets a new state-of-the-art on all four benchmarks. On the challenging SSv2 benchmark, our approach achieves an absolute gain of $3.5\%$ in classification accuracy, as compared to the best existing method in the literature. Our code and models are available at https://github.com/Anirudh257/strm.

View on arXivView PDF

Code Implementations(1)

Anirudh257/strmOfficial100%

[CVPR 2022] Official Pytorch Implementation for "Spatio-temporal Relation Modeling for Few-shot Action Recognition". SOTA Results for Few-shot Action Recognition

10216Python, ShellApr 1, 20224 years ago
action-recognitioncvprcvpr2022few-shotfew-shot-learning+2 more

Similar Papers

Cite this paper

@article{thatipelli2021spatiotemporal,
  title  = {Spatio-temporal Relation Modeling for Few-shot Action Recognition},
  author = {Anirudh Thatipelli and Sanath Narayan and Salman Khan and Rao Muhammad Anwer and Fahad Shahbaz Khan and Bernard Ghanem},
  year   = {2021},
  eprint = {2112.05132},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.05132}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.05132.svg)](https://codeofpaper.com/paper/2112.05132)

Discussion