Abstract
Video action detectors are usually trained using datasets with fully-supervised temporal annotations. Building such datasets is an expensive task. To alleviate this problem, recent methods have tried to leverage weak labeling, where videos are untrimmed and only a video-level label is available. In this paper, we propose RefineLoc, a novel weakly-supervised temporal action localization method. RefineLoc uses an iterative refinement approach by estimating and training on snippet-level pseudo ground truth at every iteration. We show the benefit of this iterative approach and present an extensive analysis of five different pseudo ground truth generators. We show the effectiveness of our model on two standard action datasets, ActivityNet v1.2 and THUMOS14. RefineLoc shows competitive results with the state-of-the-art in weakly-supervised temporal localization. Additionally, our iterative refinement process is able to significantly improve the performance of two state-of-the-art methods, setting a new state-of-the-art on THUMOS14.
Introduction: The Challenge of Temporal Action Localization
Temporal Action Localization (TAL) is the task of identifying exactly when an action starts and ends within a long, untrimmed video. Traditionally, achieving high accuracy in this task requires "full supervision," where human annotators mark precise timestamps for every action instance. However, this process is prohibitively expensive and time-consuming.
To address this, researchers have turned to Weakly-Supervised Temporal Action Localization (WSTAL). In this paradigm, models are trained using only video-level labels (e.g., "this video contains surfing") without any timing information. The primary challenge is that without explicit boundaries, models often struggle to distinguish the core action from its surrounding context—such as a surfer sitting on a board waiting for a wave. Most existing WSTAL methods are "single-shot," attempting to learn localization in one pass, which often results in imprecise or "blurry" temporal boundaries.
Methods: Iterative Refinement via Pseudo Ground Truth
The authors introduce RefineLoc, a framework that moves away from the single-shot approach in favor of an Iterative Refinement Process. The core idea is to treat localization as a self-improving loop where the model's own predictions serve as supervision for subsequent training stages.
The RefineLoc Pipeline
- Base Model: The process begins with a standard WSTAL architecture. It utilizes a feature extractor (such as I3D or TSN) to process video snippets, followed by two branches: one for snippet-level classification and another for foreground-background attention.
- Pseudo Ground Truth (PGT) Generation: After an initial training phase using only video-level labels, the model generates predictions. These are converted into "pseudo ground truth" labels—the model's current best estimate of which snippets constitute the action versus the background.
- Iterative Training: The model is then retrained using a joint loss function that combines the original video-level label with these new snippet-level pseudo labels.
- The Refinement Loop: This process repeats for several iterations (denoted as $\eta$). In each step, the improved localization from the previous round provides higher-quality supervision for the next, effectively "tightening" the temporal focus around the action.
The authors evaluated five different PGT generators and found that a Segment Prediction-Based approach—which utilizes final filtered and grouped action segments—offered the most reliable supervision signal.
Datasets and Evaluation
RefineLoc was evaluated on two industry-standard benchmarks:
- ActivityNet v1.2: A large-scale dataset with 100 diverse classes, known for its complexity.
- THUMOS14: A dataset focused on 20 sport-related actions, characterized by multiple action instances per video.
In both cases, the researchers ignored the available "strong" (timestamped) annotations during training to simulate a true weakly-supervised environment.
Key Insights: Learning from Noise
A significant finding of this research is the robustness of neural networks to "noisy" labels. Although pseudo labels are inherently imperfect, the localized signal they provide is far more valuable for training than a clean but vague video-level label. The refinement process acts like a temporal lens; while early iterations might capture the entire scene, subsequent iterations successfully crop out non-action "context" snippets.
Furthermore, RefineLoc is architecture agnostic. The authors demonstrated that applying this iterative refinement strategy to other state-of-the-art models, such as W-TALC and BaS-Net, resulted in immediate and significant performance boosts.
Results: Setting New Benchmarks
RefineLoc achieved substantial improvements over baseline methods:
- ActivityNet v1.2: Performance jumped from a baseline of 9.66% to 23.24% average mAP—a 13.6% absolute increase.
- THUMOS14: When integrated with the BaS-Net model, RefineLoc set a new state-of-the-art performance of 28.03% mAP at a tIoU of 0.5.
- Error Reduction: Qualitative and quantitative analysis showed that the refinement process specifically reduced "background errors" (mistaking context for action) and "localization errors" (misaligned start/end times).
Conclusion and Future Work
While RefineLoc significantly advances WSTAL, it still faces challenges with high visual similarity—such as distinguishing between active vacuuming and simply holding a vacuum. Future research may explore more sophisticated context handling or the integration of self-supervised pre-training to provide the model with a better foundational understanding of video motion before the refinement process begins.
Summary updated