TL;DR
This paper introduces a novel "Dilation-Erosion" module for temporal action localization using only single-frame annotations. This approach effectively addresses the challenges of action incompleteness and background false positives by iteratively refining action segment predictions, leading to improved performance over existing weakly-supervised methods.
What Problem Does This Paper Address?
Temporal Action Localization (TAL) aims to identify when and what actions are happening in videos. Traditionally, this requires precise start and end times for each action (fully-supervised). However, this is labor-intensive. Single-frame annotation offers a compromise: it provides a rough temporal location (a single frame within an action) to reduce annotation burden.
The challenge with single-frame supervision is twofold:
- Action Incompleteness: The model might over-focus on the annotated frame and miss other parts of the action, leading to incomplete detections.
- Background False Positives: Similar-looking background frames can be mistakenly identified as actions, especially "hard backgrounds" that are visually similar to actions.
This paper tackles these issues by proposing a method that leverages single-frame annotations more effectively to produce more complete action detections and suppress false positives.
Methods
The proposed framework has two main components that work in a cyclic dependency:
- Snippet Classification Model: This model takes video frames (RGB and optical flow) and outputs:
- Actionness Score: A binary score indicating the likelihood of an action occurring in a snippet.
- Class Activate Map (CAM): A heatmap showing which parts of the frame are most important for classifying an action.
- Class-agnostic Attention: Scores indicating the importance of each snippet for the overall video.
- Dilation-Erosion Module: This is the core novelty. It uses the outputs from the Snippet Classification model and the single-frame annotations to generate "pseudo snippet-level ground-truth" for further training.
- Segment Dilation: This step expands potential action segments using a loose criterion. It combines CAMs and actionness scores to ensure that sufficiently large segments are identified, aiming to capture the full extent of an action and alleviate incompleteness.
- Segment Erosion: This step refines the dilated segments. It first identifies "high-confidence segments" around the annotated frame and then uses a "Seed Temporal Growing" (STG) algorithm to precisely locate action boundaries. Crucially, this step also mines for hard backgrounds (segments that are not refined action segments) and evident backgrounds (segments explicitly identified as background via CAMs).
These mined pseudo-labels (refined action segments, hard backgrounds, and evident backgrounds) are then used to retrain the Snippet Classification model, creating a feedback loop that iteratively improves action detection and background suppression.
Additionally, the paper proposes a novel embedding loss that encourages features from the same action class to be similar while pushing features from different classes (including background) apart.
Datasets
The proposed method is evaluated on two standard untrimmed video datasets:
- THUMOS14: Contains 101 action categories, with a subset annotated for temporal action localization.
- ActivityNet 1.2: A larger dataset with 100 action categories.
The paper utilizes single-frame annotations derived from the ground-truth temporal annotations for training.
Key Insights and Ideas
- Cyclic Dependency for Refinement: The iterative training between the Snippet Classification model and the Dilation-Erosion module is key. This allows the model to progressively learn more complete actions and better distinguish them from backgrounds.
- Dilation-Erosion as a Pseudo-Label Generator: The Dilation-Erosion module acts as a sophisticated pseudo-labeling mechanism, transforming weak single-frame supervision into more informative snippet-level supervision.
- Importance of Hard Backgrounds: The paper highlights that explicitly mining and suppressing "hard backgrounds" (which are visually similar to actions but not part of them) is crucial for improving performance, even more so than just identifying "evident backgrounds."
- Embedding Loss for Feature Separation: The proposed embedding loss effectively helps the model learn discriminative features, aiding in both action localization and background rejection.
Key Results
- Outperforms State-of-the-Art: The proposed method achieves state-of-the-art results among weakly-supervised methods on THUMOS14, outperforming SF-Net [18] by 5.8% mAP at IoU=0.5.
- Significant Gains: On THUMOS14, the method shows improvements of 8.3% and 5.8% in [email protected] for manual and uniform single-frame labeling, respectively, compared to SF-Net.
- Robustness: The method demonstrates effectiveness across different situations, including videos with many background frames similar to actions, actions with low inter-frame similarity, and dense action instances.
- Ablation Studies: Experiments confirm the effectiveness of each component:
- The Dilation-Erosion strategy provides significant gains (e.g., 7.8% and 11.8% drop in [email protected] and average without it).
- Mining hard backgrounds yields a 6.2% increase in [email protected] compared to only mining evident backgrounds.
Limitations and Future Work
- Impact of Dataset Characteristics: The paper notes that on ActivityNet 1.2, where action instances are longer and less frequent, the Dilation-Erosion module's impact on mining backgrounds is somewhat weakened, leading to less advantage over other methods compared to THUMOS14.
- Error Propagation: While the STG algorithm helps mitigate error propagation from noisy pseudo-labels, it's an ongoing challenge in methods relying on generated labels. The paper shows a gradual convergence trend, suggesting the method is robust.
- Future Work: The authors suggest that further improvements could be made by exploring more sophisticated methods for mining backgrounds and refining action segments. The current work focuses on improving accuracy and recall, and future work could explore balancing these aspects further.
Summary updated