Abstract
Few-shot action recognition requires models to generalize to novel action classes with minimal labeled data. A primary challenge in this domain is effective temporal attention—identifying the specific frames that define an action within a video sequence. This paper introduces CLTA (Contents and Length-based Temporal Attention), a novel mechanism that utilizes Gaussian templates to generate smooth, content-aware attention curves. By predicting the mean and variance of action segments based on video features and total length, CLTA achieves state-of-the-art performance on UCF101, HMDB51, and Kinetics-100 benchmarks without extensive fine-tuning.
Introduction
Action recognition involves classifying video sequences into discrete behavioral categories. In the few-shot learning paradigm, models must achieve this using only one or a few examples of a new class. Traditional approaches often struggle with temporal localization—determining exactly when an action occurs. Existing temporal attention mechanisms frequently suffer from being either too "rough," assigning disjointed weights to individual frames, or too rigid, failing to adapt to the varying durations and timings of different actions.
Methodology
The CLTA framework addresses these issues by enforcing temporal continuity through Gaussian likelihood functions. Instead of learning discrete frame weights, the model learns to predict the parameters of a Gaussian distribution—the mean ($\mu$) representing the action's center and the standard deviation ($\sigma$) representing its duration.
- Gaussian Parameter Learning: Two specialized matrices, $W^m$ and $W^s$, are trained to derive $\mu$ and $\sigma$ from the input frame features and the overall video length.
- Soft-argmax: To ensure the model remains end-to-end differentiable, a soft-argmax operator is employed to find the peak of the action segment.
- Multi-Head Attention: CLTA utilizes $K$ (typically 6) different Gaussian heads to capture multiple critical temporal segments within a single video, allowing for a more nuanced understanding of complex actions.
Experimental Results
CLTA was evaluated on three major benchmarks: UCF101, HMDB51, and Kinetics-100. The model demonstrated significant performance gains, particularly in 5-way 5-shot scenarios. On UCF101, CLTA achieved 88.6% accuracy, a 5.5% improvement over previous state-of-the-art methods. On HMDB51, it reached 76.8% accuracy, significantly outperforming the ARN baseline of 60.6%.
Discussion and Insights
A key insight of CLTA is that "smoothness" is a vital feature in action recognition. Because human actions are continuous, temporal attention should reflect this continuity. By using Gaussian templates, CLTA avoids being distracted by noisy, outlier frames. Furthermore, the model's ability to localize actions based on content allows it to generalize effectively to new classes. Notably, CLTA achieves these results even with a non-fine-tuned ResNet backbone, highlighting the power of precise temporal modeling.
Limitations and Future Work
While highly effective, CLTA's reliance on symmetrical Gaussian distributions may not perfectly capture actions with skewed temporal patterns. Future research could explore more flexible distributions, such as Gamma or Beta templates. Additionally, while the model excels in 5-shot scenarios, there is room for improvement in 1-shot performance on larger datasets like Kinetics-100, where more intensive backbone fine-tuning currently gives competing models a slight edge.
Conclusion
CLTA presents a robust and efficient approach to few-shot action recognition by prioritizing smooth, content-driven temporal attention. Its success across multiple benchmarks underscores the importance of temporal continuity and precise localization in video understanding tasks.
Summary updated