Skip to main content
QUICK REVIEW

[Paper Review] Spatio-temporal Relation Modeling for Few-shot Action Recognition

Anirudh Thatipelli, Sanath Narayan|arXiv (Cornell University)|Dec 9, 2021
Human Pose and Action RecognitionComputer Science6 citations
TL;DR

This paper proposes STRM, a few-shot action recognition framework that enhances feature discriminability and temporal reasoning through a novel spatio-temporal enrichment module combining local patch-level and global frame-level feature enrichment. By integrating intermediate query-class similarity classification and learning higher-order temporal relationships at lower cardinalities, STRM achieves state-of-the-art performance, setting a new SOTA on Kinetics, SSv2, HMDB51, and UCF101, with a 3.5% absolute accuracy gain on SSv2.

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. 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.

Motivation & Objective

  • Address the challenge of few-shot action recognition where limited support samples hinder accurate classification.
  • Improve feature discriminability by explicitly modeling spatial and temporal contexts in video representations.
  • Overcome limitations of prior methods like TRX that struggle with spatial and temporal variations due to fixed tuple representations and lack of contextual enrichment.
  • Enable robust temporal relationship modeling between query and support videos despite varying action speeds, offsets, and distractors.
  • Enhance model flexibility by learning higher-order temporal relations at reduced cardinalities through adaptive, sample-dependent feature enrichment.

Proposed method

  • Propose a spatio-temporal enrichment module with two sub-modules: patch-level enrichment (PLE) for local appearance-based context and frame-level enrichment (FLE) for global temporal context.
  • Use sample-dependent self-attention in PLE to capture appearance similarities and dissimilarities among action categories within each frame.
  • Implement sample-agnostic persistent memory-based aggregation in FLE to encode long-range temporal dependencies and object motion across the video.
  • Introduce a query-class similarity classifier on patch-level features to reinforce class-specific discriminability during feature learning.
  • Learn higher-order temporal relationships via dynamic tuple matching between query and support sub-sequences, reducing reliance on fixed cardinality branches.
  • Train the model with gradient accumulation across 16 iterations due to GPU memory constraints, using uniform sampling of 8 frames and center crop inference.

Experimental results

Research questions

  • RQ1Can explicit spatio-temporal context modeling improve feature discriminability in few-shot action recognition?
  • RQ2How does combining local patch-level and global frame-level feature enrichment affect temporal relationship learning in few-shot settings?
  • RQ3Can intermediate classification heads on enriched features enhance model generalization and discriminative capacity?
  • RQ4Does learning higher-order temporal relations at lower cardinalities improve model flexibility and performance compared to fixed-branch approaches?
  • RQ5To what extent does the proposed method outperform existing state-of-the-art methods on challenging few-shot benchmarks?

Key findings

  • STRM achieves a new state-of-the-art on all four few-shot action recognition benchmarks: Kinetics, SSv2, HMDB51, and UCF101.
  • On the challenging SSv2 benchmark, STRM achieves an absolute accuracy gain of 3.5% over the best existing method in the literature.
  • Qualitative attention maps show that STRM effectively emphasizes action-relevant objects and motion patterns, even in fine-grained actions with subtle 2D motion differences.
  • The model demonstrates improved tuple matching performance, with better representative matches in support videos due to enhanced feature discriminability and temporal reasoning.
  • Ablation studies confirm the effectiveness of both the patch-level and frame-level enrichment components, as well as the intermediate query-class similarity classifier.
  • The framework learns more robust and discriminative representations, particularly in scenarios with varying objects, backgrounds, and distractor motions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.