Spatio-temporal Relation Modeling for Few-shot Action Recognition
About
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. 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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Action Recognition | Kinetics | Accuracy (5-shot)86.7 | 47 | |
| Action Recognition | SSv2 Few-shot | Top-1 Acc (5-way 1-shot)43.1 | 42 | |
| Video Action Recognition | HMDB51 5-way 5-shot | Accuracy81.3 | 28 | |
| Video Action Recognition | UCF101 5-way 5-shot | Accuracy98.1 | 28 | |
| Action Recognition | SSv2 Small | Top-1 Acc (1-shot)37.1 | 26 | |
| Action Recognition | CDFSAR HMDB, SSV2, Diving, UCF, RareAct | HMDB Accuracy24.98 | 22 | |
| Action Recognition | HMDB51 | 1-Shot Top-1 Acc54.1 | 22 | |
| Action Recognition | UCF101 | Top-1 Accuracy (1-shot)79.2 | 22 | |
| Few-shot Action Recognition | UCF101 5-way 1-shot | Accuracy80.5 | 21 | |
| Action Recognition | SS Full v2 | 1-shot Accuracy43.1 | 21 |