Abstract
Weakly-supervised temporal action localization trains an action localization model using only video-level labels for training. Owing to the lack of frame-level temporal annotations, most existing weakly-supervised temporal action localization methods are based on multiple instance learning mechanisms to predict the start and end times of all action instances in an untrimmed video and to classify them. Many localization approaches focus only on the most discriminative regions that contribute to the classification task, but ignore a large number of ambiguous background and context snippets in a video. This often results in poor localization performance. We believe that it is helpful to identify such snippets by modeling the background and context. Therefore, we propose a multi-branch attention weighting network (MAW-Net), which introduces an additional non-action class and integrates a multi-branch attention module to generate action and background attention, respectively. In addition, considering the correlation among context, action, and background, we use the difference of action and background attention to construct context attention. Finally, based on these three types of attention values, we obtain three new class activation sequences that distinguish action, background, and context. This enables our proposed model to effectively suppress the activation of context and background snippets and achieve better localization performance. Extensive experiments were performed on the THUMOS-14 and ActivityNet 1.3 datasets. The experimental results show that our method is superior to other state-of-the-art methods, and its performance is comparable to those of fully-supervised approaches.
Introduction
Temporal Action Localization (TAL) is the task of identifying exactly when an action (like "diving" or "high jump") starts and ends in a long, untrimmed video. Most high-performing models require "full supervision," meaning humans have manually labeled every single frame. This is incredibly expensive and slow.
Weakly-supervised (WTAL) methods only use video-level labels (e.g., "this video contains a golf swing"). However, these models often suffer from two major challenges:
- Hard Backgrounds: Snippets that look like actions but are not.
- Action Context: Snippets that are related to the action but are not the action itself (e.g., a golfer picking up their club).
Existing models often get "distracted" by these snippets, leading to inaccurate boundaries and poor localization. MAW-Net addresses this by explicitly modeling the "gray areas" of video—specifically background and context—through a multi-branch attention mechanism.
The MAW-Net Framework
The authors propose the Multi-branch Attention Weighting Network (MAW-Net). Its architecture is designed to distinguish between action, background, and context snippets effectively.
The framework is built on several key pillars:
- The Non-Action Class: Unlike traditional models that force every snippet into an action category, MAW-Net introduces a dedicated "non-action" class. This gives the model a way to categorize snippets that don't fit, preventing them from being misclassified as actions.
- Multi-branch Attention Modeling: The model generates two primary attention scores: Action Attention (likelihood of an action) and Background Attention (likelihood of noise).
- Context via Subtraction: The researchers realized that context snippets (the prep work before an action) are often more likely to be seen as actions than as backgrounds. They model Context Attention as the mathematical difference between background and action attention.
- Loss Function Synergy: The model is optimized using a suite of losses, including a Guide Loss ($L_{guide}$) to ensure attention aligns with classification probabilities and a Feature Separation Loss ($L_{feature}$) to push the feature magnitudes of actions, context, and background apart.
Experimental Results
MAW-Net was evaluated on two gold-standard datasets for video understanding: THUMOS-14 and ActivityNet 1.3.
Key results include:
- THUMOS-14: Achieved an average mAP (mean Average Precision) of 44.0%, outperforming previous state-of-the-art models like FBA-Net (43.8%) and ACM-Net (42.6%).
- ActivityNet 1.3: Reached an average mAP of 25.2%, showing strong scalability to large, diverse datasets.
- Qualitative Success: Visualization shows that MAW-Net is significantly better at "cleaning up" the boundaries of actions, successfully ignoring the preparatory context that usually trips up weaker models.
Conclusion
MAW-Net sets a new high bar for weakly-supervised methods by leveraging the observation that context is a relationship between action and background. By explicitly modeling these regions, the network achieves performance that rivals fully supervised models. While the model excels at boundary refinement, future research will likely focus on "action completeness"—ensuring the model captures the entire duration of an event from start to finish without truncation.
Summary updated