Abstract
Few-shot action recognition remains a challenging task due to the complex spatial-temporal nature of video data. Traditional methods often either ignore temporal dynamics or rely on computationally expensive alignment algorithms. This paper introduces the Temporal Aware Embedding Network (TAEN), which represents actions as ordered trajectories in a high-dimensional metric space. By decomposing videos into sub-actions and learning class-specific prototypes, TAEN captures temporal evolution efficiently. Experimental results on Kinetics-400 and ActivityNet 1.2 demonstrate that TAEN achieves state-of-the-art performance in both video classification and temporal action detection while maintaining high computational efficiency.
Introduction
Action recognition in video is significantly more complex than image recognition because it requires understanding both spatial patterns and temporal evolution. While deep learning has mastered this when provided with thousands of labeled examples, it struggles in Few-Shot Learning (FSL) scenarios—where a model must recognize a new action after seeing only one to five examples.
Existing FSL methods for video often fall into two traps: they either collapse the entire video into a single feature vector, losing the sequence of events, or use complex alignment algorithms (like Dynamic Time Warping) that are slow and difficult to scale. TAEN aims to bridge this gap by creating a representation that is both temporally sensitive and computationally efficient.
Methodology
The core innovation of TAEN is representing an action as a trajectory—a sequence of points in a high-dimensional embedding space.
1. Sub-action Decomposition
Instead of treating a video as a single entity, TAEN divides it into $a$ ordered segments called "sub-actions." For example, a "high jump" might be decomposed into the approach, the takeoff, the flight, and the landing.
2. Dual-Branch Architecture
- The Embedding Branch: Takes video segments (processed by a frozen backbone like C3D or I3D) and passes them through fully connected layers to map them into a specialized metric space.
- The Prototype Branch: Learns a set of "representative centers" (prototypes) for each sub-action of every class.
3. The Triple Loss Function
To train the network, the authors use a combination of three losses: Affiliation Loss (pulls embeddings toward class prototypes), Motion Loss (ensures the trajectory "direction" matches the expected motion), and Diversity Loss (forces sub-action prototypes to stay distinct).
Evaluation and Results
The model was evaluated on two primary benchmarks: Kinetics-400 (FSL version) for classification and ActivityNet 1.2 for temporal action detection.
- Video Classification: In the 5-way, 5-shot scenario, TAEN achieved 83.12% accuracy, outperforming prior methods like CMN (78.9%) and TARN (80.66%).
- Temporal Detection: In the 5-shot detection task, TAEN reached an average mAP of 17.39%, a significant jump over the previous baseline of 10%.
- Efficiency: Because it only trains a few fully connected layers, the model is highly efficient, performing classification at a rate of 6.1 ms per video on a standard GPU.
Key Insights
- Actions are Transitions, Not States: By penalizing deviations in the "trajectory gradient" (Motion Loss), the model learns the rhythm of an action rather than just static frames.
- Efficiency via Prototypes: By learning optimal prototypes during training, the model avoids expensive frame-by-frame alignment during inference.
- Granularity Matters: Experimental results show that 3–5 sub-actions are the "sweet spot" for capturing action structure without over-complicating the model.
Conclusion
TAEN provides a robust and efficient framework for few-shot action recognition by leveraging temporal trajectories. While currently dependent on fixed sub-action counts and pre-trained backbones, it sets a new state-of-the-art for efficient temporal modeling in few-shot scenarios. Future work may explore adaptive sub-action counts to better represent actions of varying complexity.
Summary updated