Introduction
In the field of computer vision, recognizing actions in "untrimmed" videos presents a significant challenge. Unlike trimmed clips that focus solely on a specific action, untrimmed videos contain vast amounts of irrelevant background information. Manually annotating the start and end times of actions in such videos is labor-intensive and expensive. This paper, presented at AAAI-19, introduces TSRNet (Transferable Self-attentive Representation learning Network), a framework designed for Weakly Supervised Temporal Action Localization (WSTAL). TSRNet aims to identify and recognize actions using only video-level labels, without explicit temporal boundary information.
Methodology
TSRNet addresses the "needle in a haystack" problem of finding actions in long videos through a multi-stage architecture:
- Two-Stream Feature Extraction: The model employs two ResNet-101 pipelines to extract features. One stream processes RGB images to capture spatial information, while the other processes Optical Flow to capture temporal motion.
- Self-Attention Module: This module acts as an automated filter. Instead of treating all frames equally, it learns to assign weights to each frame. Frames that represent the action receive high weights, while background frames are suppressed. To ensure the model is both stable and decisive, the authors incorporate Smoothness Loss (to prevent erratic weight jumps) and Sparsity Loss (to force clear selection of key frames).
- Knowledge Transfer Module: A key innovation of TSRNet is leveraging existing datasets of clean, trimmed videos (like UCF101) to guide the learning on noisy, untrimmed videos (like THUMOS14). Using Maximum Mean Discrepancy (MMD), the model minimizes the statistical distance between the features of the "teacher" (trimmed) and "student" (untrimmed) datasets.
Key Results
The researchers evaluated TSRNet on major benchmarks, including THUMOS14 and ActivityNet 1.3, demonstrating significant improvements over existing weakly supervised methods.
- Recognition Accuracy: On the THUMOS14 dataset, the fusion of RGB and Optical Flow features reached a recognition accuracy of 87.1%, a substantial jump from the standard Two-Stream baseline of 73%.
- Localization Performance: In the task of temporal action detection, TSRNet achieved a Mean Average Precision (mAP) of 18.6% at an Intersection over Union (IoU) of 0.5. This outperformed other prominent weakly supervised models such as UntrimmedNet (13.7%) and STPN (16.2%).
- Ablation Study: The authors conducted ablation tests to verify the importance of each component. Results showed that removing either the Self-Attention or the Knowledge Transfer module led to a noticeable drop in performance, confirming that both are essential to the framework's success.
Discussion and Limitations
While TSRNet marks a significant advancement, it has certain limitations. The effectiveness of the Knowledge Transfer module is most pronounced when there is class overlap between the source (trimmed) and target (untrimmed) datasets. Additionally, the use of dual ResNet-101 streams is computationally intensive. Future work may explore more efficient backbones or 3D convolutional kernels (like I3D) to capture spatio-temporal features more natively. Furthermore, achieving high localization precision (e.g., at IoU thresholds of 0.7+) remains a challenge for all weakly supervised methods.
Conclusion
TSRNet demonstrates that combining self-attention with cross-domain knowledge transfer can effectively mitigate the noise inherent in untrimmed videos. By leveraging the synergy between trimmed and untrimmed data, the framework provides a robust solution for action recognition and localization under weak supervision.
Summary updated