Abstract
Few-shot action recognition (FSAR) requires models to learn new actions from very few examples. A common pitfall is overfitting to background context rather than the action itself. We present the I²ST (Joint Image-Instance Spatial-Temporal Attention) framework, which addresses this by explicitly modeling the foreground "actor" alongside global image features. By fusing lightweight instance-level perception with spatial-temporal attention, I²ST achieves state-of-the-art results on five benchmarks, including SSv2, Kinetics, and UCF101.
Introduction: The Challenge of Background Noise
The core difficulty in FSAR is distinguishing between actions that share similar environments. For instance, "playing hockey" and "ice skating" both occur on ice rinks. Traditional models relying solely on image-level features often struggle because the background noise dominates the representation, leading to poor class separation.
To overcome this, models must focus on the foreground instance—the person and their specific movements. However, existing methods either ignore these cues or use heavy, pre-trained detectors that are computationally expensive. I²ST introduces a lightweight way to perceive these instances and integrate them into the video representation.
Methodology
The I²ST framework consists of three primary components designed to enhance discriminative power through instance-level awareness.
1. Action-related Instance Perception Module (IPM)
The IPM is a lightweight encoder-decoder that learns to extract "instance embeddings" representing the actor. During training, it is supervised via knowledge distillation from a heavy, text-guided segmentation model (SEEM). This allows the IPM to learn to identify action-relevant objects without requiring the heavy segmenter during inference, maintaining efficiency.
2. Joint Image-Instance Spatial-Temporal Attention (SAM)
The SAM module fuses global image features with instance embeddings. It employs dual self-attention branches:
- Spatial Attention: Identifies where the actor is located.
- Temporal Attention: Captures how the actor moves over time. These branches are aggregated to form a comprehensive video representation that prioritizes the action over the background.
3. Global-Local Prototype Matching
While many FSAR models rely on local frame-by-frame matching, I²ST introduces a "Global Fusion" sub-module. This creates a global video token that acts as an anchor during classification. The final matching score is a weighted combination of global context and local frame similarities, increasing robustness against noisy frames.
Experimental Evaluation
The model was evaluated on five major FSAR benchmarks: SSv2-Full, SSv2-Small, Kinetics, UCF101, and HMDB51. These datasets cover a range of challenges, from temporal-heavy human-object interactions (SSv2) to appearance-dominant scenes (Kinetics).
Key Results and Insights
- State-of-the-Art Performance: I²ST outperformed previous methods across all benchmarks. Notably, on SSv2-Small, it achieved 43.6% accuracy in the 5-way 1-shot setting, a significant improvement over the Bi-MHM baseline (38.0%).
- Instance Cues as a Signal: Explicitly modeling the actor provides a stronger discriminative signal, especially in cluttered or shared backgrounds.
- Efficiency and Generalization: Despite adding instance perception, I²ST maintains competitive inference latency (114.3ms). Furthermore, cross-dataset tests (Kinetics to HMDB51) show that the learned instance features generalize well to unseen domains.
Conclusion and Future Work
I²ST demonstrates that integrating instance-level perception with global features significantly improves few-shot action recognition. While the model excels at instance tracking, future work will focus on improving long-term temporal reasoning for complex "pretend" actions and further optimizing the architecture for reduced computational overhead.
Summary updated